summaryrefslogtreecommitdiffstats
path: root/arch/x86/kernel
diff options
context:
space:
mode:
authorNicholas Piggin <npiggin@gmail.com>2017-06-26 15:38:15 +1000
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-06-29 22:59:17 +0200
commit3ed09c94580de9d5b18cc35d1f97e9f24cd9233b (patch)
tree17e531d2f419ed7a8ec5b611f9c00d3ba0b43915 /arch/x86/kernel
parent654d08a42a5660514df5a5a6ed4dc1b0c978a0a3 (diff)
downloadop-kernel-dev-3ed09c94580de9d5b18cc35d1f97e9f24cd9233b.zip
op-kernel-dev-3ed09c94580de9d5b18cc35d1f97e9f24cd9233b.tar.gz
cpuidle: menu: allow state 0 to be disabled
The menu driver does not allow state0 to be disabled completely. If it is disabled but other enabled states don't meet latency requirements, it is still used. Fix this by starting with the first enabled idle state. Fall back to state 0 if no idle states are enabled (arguably this should be -EINVAL if it is attempted, but this is the minimal fix). Acked-by: Gautham R. Shenoy <ego@linux.vnet.ibm.com> Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'arch/x86/kernel')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud