cpuidle: ladder: Add per CPU PM QoS resume latency support
authorRamesh Thomas <ramesh.thomas@intel.com>
Fri, 27 Oct 2017 02:01:34 +0000 (19:01 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 8 Nov 2017 11:16:01 +0000 (12:16 +0100)
commitc523c68da2117a3f9f777110839b1cf7ed7221be
tree2b06b4593e6af9d9614fc8a4c4c1d41f88eb1144
parent4e37fd4d5dfd39f547b0b00fa184a440a1e44b96
cpuidle: ladder: Add per CPU PM QoS resume latency support

Individual CPUs may have special requirements to not enter
deep idle states. For example, a CPU running real time
applications would not want to enter deep idle states to
avoid latency impacts. At the same time other CPUs that
do not have such a requirement could allow deep idle
states to save power.

This was already implemented in the menu governor.
Implementing similar changes in the ladder governor which
gets selected when CONFIG_NO_HZ and CONFIG_NO_HZ_IDLE are not
set. Refer following commits for the menu governor changes.

Signed-off-by: Ramesh Thomas <ramesh.thomas@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpuidle/governors/ladder.c