projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa661d7
)
powerpc/64s: scv entry should set PPR
author
Nicholas Piggin
<npiggin@gmail.com>
Tue, 25 Aug 2020 07:53:09 +0000
(17:53 +1000)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Thu, 27 Aug 2020 07:41:13 +0000
(17:41 +1000)
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 <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link:
https://lore.kernel.org/r/20200825075309.224184-1-npiggin@gmail.com
arch/powerpc/kernel/entry_64.S
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/kernel/entry_64.S
b/arch/powerpc/kernel/entry_64.S
index 33a42e42c56f6774705a4be29f41e980772f9e71..733e40eba4ebe3edbbd3afb1e1bb2bb8ef354aa6 100644
(file)
--- a/
arch/powerpc/kernel/entry_64.S
+++ b/
arch/powerpc/kernel/entry_64.S
@@
-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