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@vger.kernel.org CC: sasha@kernel.org CC: palmer@dabbelt.com CC: linux@roeck-us.net
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(-)