cpuidle, OMAP3: Push RCU-idle into driver
authorPeter Zijlstra <peterz@infradead.org>
Thu, 12 Jan 2023 19:43:23 +0000 (20:43 +0100)
committerIngo Molnar <mingo@kernel.org>
Fri, 13 Jan 2023 10:47:19 +0000 (11:47 +0100)
commit4d1be9e745382b41492b0cb9000829863db7133a
tree02c1a5fca05b73804068bea094381fac18beef58
parentb3f46658ce40a3467cda82f920dd9d5325ab0eaf
cpuidle, OMAP3: Push RCU-idle into driver

Doing RCU-idle outside the driver, only to then teporarily enable it
again before going idle is suboptimal.

Notably the cpu_pm_*() calls implicitly re-enable RCU for a bit.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Tested-by: Tony Lindgren <tony@atomide.com>
Tested-by: Ulf Hansson <ulf.hansson@linaro.org>
Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
Reviewed-by: Tony Lindgren <tony@atomide.com>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://lore.kernel.org/r/20230112195539.883561913@infradead.org
arch/arm/mach-omap2/cpuidle34xx.c