Replacing <20230509-suspend-labrador-3eb6f0a8ac77@spud>, here's a more complete backport of the patches for the lockdep splats during text patching on RISC-V. I've preserved the original broken patch & the subsequent fix to it. CC: stable@xxxxxxxxxxxxxxx CC: sasha@xxxxxxxxxx CC: palmer@xxxxxxxxxxx CC: linux@xxxxxxxxxxxx Conor Dooley (2): RISC-V: take text_mutex during alternative patching RISC-V: fix taking the text_mutex twice during sifive errata patching arch/riscv/errata/sifive/errata.c | 3 +++ arch/riscv/errata/thead/errata.c | 8 ++++++-- arch/riscv/kernel/cpufeature.c | 6 +++++- 3 files changed, 14 insertions(+), 3 deletions(-) -- 2.39.2