cpuidle, OMAP4: Push RCU-idle into driver
authorPeter Zijlstra <peterz@infradead.org>
Thu, 12 Jan 2023 19:43:25 +0000 (20:43 +0100)
committerIngo Molnar <mingo@kernel.org>
Fri, 13 Jan 2023 10:47:49 +0000 (11:47 +0100)
commitc3d42418dca53d6c498a48c408f7a45289593650
treee46eaed2160d5e7966a8999f8b8aa4d1ffd72f22
parent4ce40e9dbe83153f60d7e4ccd24a1eb4f8264f6a
cpuidle, OMAP4: Push RCU-idle into driver

Doing RCU-idle outside the driver, only to then temporarily enable it
again, some *four* times, before going idle is suboptimal.

Notably three times explicitly using RCU_NONIDLE() and once implicitly
through cpu_pm_*().

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/20230112195540.007918454@infradead.org
arch/arm/mach-omap2/cpuidle44xx.c