OSDN Git Service

cpuidle: teo: Ignore disabled idle states that are too deep
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 10 Oct 2019 21:32:17 +0000 (23:32 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 14 Oct 2019 08:40:32 +0000 (10:40 +0200)
commit069ce2ef1a6dd84cbd4d897b333e30f825e021f0
tree18ac98cd6a289dc72db9459babc7f09772addc7e
parent4f5cafb5cb8471e54afdc9054d973535614f7675
cpuidle: teo: Ignore disabled idle states that are too deep

Prevent disabled CPU idle state with target residencies beyond the
anticipated idle duration from being taken into account by the TEO
governor.

Fixes: b26bf6ab716f ("cpuidle: New timer events oriented governor for tickless systems")
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: 5.1+ <stable@vger.kernel.org> # 5.1+
drivers/cpuidle/governors/teo.c