[PATCH 0/2] riscv: Fix alternatives issues on for-next

From: Samuel Holland
Date: Sat Feb 11 2023 - 21:15:43 EST


Several people have reported that D1 fails to boot on linux-next.
Patch 1 fixes a bug where early alternative patching used the wrong
address. Patch 2 fixes a separate issue where the Zbb alternatives
are incorrectly applied based on the 'C' extension instead of Zbb.


Samuel Holland (2):
riscv: Fix early alternative patching
riscv: Fix Zbb alternative IDs

arch/riscv/errata/thead/errata.c | 4 +---
arch/riscv/include/asm/errata_list.h | 5 -----
arch/riscv/lib/strcmp.S | 2 +-
arch/riscv/lib/strlen.S | 2 +-
arch/riscv/lib/strncmp.S | 2 +-
5 files changed, 4 insertions(+), 11 deletions(-)

--
2.37.4