cpuidle: Allow cpuidle drivers to take over RCU-idle
authorPeter Zijlstra <peterz@infradead.org>
Tue, 15 Sep 2020 10:32:00 +0000 (12:32 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 16 Sep 2020 17:36:26 +0000 (19:36 +0200)
commit8747f2022fe8d8029193707ee86ff5c792cbef9b
treefdb28a11eb16c420a68394a907eb7c5f9e5c10d4
parenta889a23a98fee183c9b6b0b14b2fd70583429c5e
cpuidle: Allow cpuidle drivers to take over RCU-idle

Some drivers have to do significant work, some of which relies on RCU
still being active. Instead of using RCU_NONIDLE in the drivers and
flipping RCU back on, allow drivers to take over RCU-idle duty.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Tested-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpuidle/cpuidle.c
include/linux/cpuidle.h