diff options
author | 2023-04-07 00:45:34 +1000 | |
---|---|---|
committer | 2023-04-20 13:21:49 +1000 | |
commit | 88990745c934b14359e526033c5bc1daaf15267c (patch) | |
tree | 1fbc35626d2a1132017c17071b761fc90f394ff1 /scripts/generate_rust_analyzer.py | |
parent | powerpc/64: Don't call trace_hardirqs_on() in prep_irq_for_idle() (diff) | |
download | linux-rng-88990745c934b14359e526033c5bc1daaf15267c.tar.xz linux-rng-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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions