]> www.infradead.org Git - users/jedix/linux-maple.git/commit
intel_idle: add BXT support
authorLen Brown <len.brown@intel.com>
Wed, 6 Apr 2016 21:00:47 +0000 (17:00 -0400)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 3 Nov 2016 17:26:10 +0000 (10:26 -0700)
commitd940551f0017a560e38a6bf885089e4c39228b32
treece91b537d9506ad3f27eb8de106ed8c122bedd38
parente81f7fbf2a6d1706271c6cda056025bcc36f9e4a
intel_idle: add BXT support

Orabug: 24810432

Broxton has all the HSW C-states, except C3.
BXT C-state timing is slightly different.

Here we trust the IRTL MSRs as authority
on maximum C-state latency, and override the driver's tables
with the values found in the associated IRTL MSRs.
Further we set the target_residency to 1x maximum latency,
trusting the hardware demotion logic.

Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
(cherry picked from commit 5dcef694860100fd16885f052591b1268b764d21)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Conflicts:
arch/x86/include/asm/msr-index.h
arch/x86/include/uapi/asm/msr-index.h
drivers/idle/intel_idle.c