powerpc/64s: scv entry should set PPR
Nicholas Piggin
reviewerPATCH 1/1 powerpc/64s: scv entry should set PPR
Kernel entry sets PPR to HMT_MEDIUM by convention. The scv entry path missed this.
Fixes 7fa95f9adaee ("powerpc/64s: system call support for scv/rfscv instructions")
Signed-off-by Nicholas Piggin <[email protected]>
--- arch/powerpc/kernel/entry_64.S | 4 ++++ 1 file changed, 4 insertions(+)
arch/powerpc/kernel/entry_64.S +4 -0
@@ -113,6 +113,10 @@ END_FTR_SECTION_IFSET(CPU_FTR_TM) ld r11,exception_marker@toc(r2) std r11,-16(r10) /* "regshere" marker */ +BEGIN_FTR_SECTION + HMT_MEDIUM +END_FTR_SECTION_IFSET(CPU_FTR_HAS_PPR) + /* * RECONCILE_IRQ_STATE without calling trace_hardirqs_off(), which * would clobber syscall parameters. Also we always enter with IRQs
Signature · 1 line
2.23.0
Michael Ellerman
AppliedQuoted 2 lines · Nicholas Piggin
Kernel entry sets PPR to
HMT_MEDIUMby convention. The scv entry path missed this.
Applied to powerpc/fixes.
[1/1] powerpc/64s: scv entry should set PPR
https://git.kernel.org/powerpc/c/e5fe56092e753c50093c60e757561984abff335e
cheers