Linux kernel -stable discussions
 help / color / mirror / Atom feed
* [PATCH 6.1 v2 0/2] RISC-V: fix lock splat in riscv_cpufeature_patch_func()
@ 2023-05-12  7:58 Conor Dooley
  2023-05-12  7:58 ` [PATCH 6.1 v2 1/2] RISC-V: take text_mutex during alternative patching Conor Dooley
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Conor Dooley @ 2023-05-12  7:58 UTC (permalink / raw)
  To: stable; +Cc: conor, conor.dooley, sasha, palmer, linux

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(-)

-- 
2.39.2


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-05-12 18:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-12  7:58 [PATCH 6.1 v2 0/2] RISC-V: fix lock splat in riscv_cpufeature_patch_func() Conor Dooley
2023-05-12  7:58 ` [PATCH 6.1 v2 1/2] RISC-V: take text_mutex during alternative patching Conor Dooley
2023-05-12  7:58 ` [PATCH 6.1 v2 2/2] RISC-V: fix taking the text_mutex twice during sifive errata patching Conor Dooley
2023-05-12 18:16 ` [PATCH 6.1 v2 0/2] RISC-V: fix lock splat in riscv_cpufeature_patch_func() Sasha Levin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox