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

Michael Ellerman patch-notifications at ellerman.id.au
Wed Apr 26 22:01:45 AEST 2023


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 noinstr, to
> enforce that.
> 
> [...]

Applied to powerpc/next.

[1/4] powerpc/64: Mark prep_irq_for_idle() __cpuidle
      https://git.kernel.org/powerpc/c/7640854d966449e5befeff02c45c799cfc3d4fcf
[2/4] powerpc/64: Don't call trace_hardirqs_on() in prep_irq_for_idle()
      https://git.kernel.org/powerpc/c/6fee130204650515af80c2786176da0fe7e94482
[3/4] cpuidle: pseries: Mark ->enter() functions as __cpuidle
      https://git.kernel.org/powerpc/c/88990745c934b14359e526033c5bc1daaf15267c
[4/4] powerpc/pseries: Always inline functions called from cpuidle
      https://git.kernel.org/powerpc/c/18b5e7170a33a985dc842ab24a690fa6ff0f50e4

cheers


More information about the Linuxppc-dev mailing list