Re: [PATCH 1/4] powerpc/64: Mark prep_irq_for_idle() __cpuidle

2023-04-26 Thread Michael Ellerman
On Fri, 07 Apr 2023 00:45:32 +1000, Michael Ellerman wrote: > 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 prep_irq_for_idle() __cpuidle, which is equivalent to

[PATCH 1/4] powerpc/64: Mark prep_irq_for_idle() __cpuidle

2023-04-06 Thread Michael Ellerman
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 prep_irq_for_idle() __cpuidle, which is equivalent to noinstr, to enforce that. Suggested-by: Peter Zijlstra Signed-off-by: