Re: [PATCH 3/4] cpuidle: pseries: Mark ->enter() functions as __cpuidle

2023-04-11 Thread Sachin Sant
> On 06-Apr-2023, at 8:15 PM, 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 the cpuidle ->enter() callbacks as __cpuidle and use the >

[PATCH 3/4] cpuidle: pseries: Mark ->enter() functions as __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 the cpuidle ->enter() callbacks as __cpuidle and use the raw_local_irq_*() routines to ensure that is the case. Reported-by: