[PATCH v2 37/44] arm,omap2: Use WFI for omap2_pm_idle()

Tony Lindgren tony at atomide.com
Tue Sep 27 16:21:54 AEST 2022


* Peter Zijlstra <peterz at infradead.org> [220919 10:09]:
> arch_cpu_idle() is a very simple idle interface and exposes only a
> single idle state and is expected to not require RCU and not do any
> tracing/instrumentation.
> 
> As such, omap2_pm_idle() is not a valid implementation. Replace it
> with a simple (shallow) omap2_do_wfi() call.
> 
> Omap2 doesn't have a cpuidle driver; but adding one would be the
> recourse to (re)gain the other idle states.

Looks good to me thanks:

Acked-by: Tony Lindgren <tony at atomide.com>


More information about the Linuxppc-dev mailing list