[PATCH 6.1 v2 0/2] RISC-V: fix lock splat in riscv_cpufeature_patch_func()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux