diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2023-04-06 16:45:34 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2023-04-20 05:21:49 +0200 |
commit | 88990745c934b14359e526033c5bc1daaf15267c (patch) | |
tree | 1fbc35626d2a1132017c17071b761fc90f394ff1 /arch/powerpc/math-emu/fnmadds.c | |
parent | powerpc/64: Don't call trace_hardirqs_on() in prep_irq_for_idle() (diff) | |
download | linux-88990745c934b14359e526033c5bc1daaf15267c.tar.xz linux-88990745c934b14359e526033c5bc1daaf15267c.zip |
cpuidle: pseries: Mark ->enter() functions as __cpuidle
Code in the idle path is not allowed to be instrumented because RCU is
disabled, see commit 0e985e9d2286 ("cpuidle: Add comments about
noinstr/__cpuidle usage").
Mark the cpuidle ->enter() callbacks as __cpuidle and use the
raw_local_irq_*() routines to ensure that is the case.
Reported-by: Sachin Sant <sachinp@linux.ibm.com>
Link: https://lore.kernel.org/all/4C073F6A-C812-4C4A-BB7A-ECD10B75FB88@linux.ibm.com/
Suggested-by: Peter Zijlstra <peterz@infradead.org>
Tested-by: Sachin Sant <sachinp@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20230406144535.3786008-3-mpe@ellerman.id.au
Diffstat (limited to 'arch/powerpc/math-emu/fnmadds.c')
0 files changed, 0 insertions, 0 deletions