cpufreq: intel_pstate: Add Ice Lake server to out-of-band IDs
authorAdamos Ttofari <attofari@amazon.de>
Fri, 12 Nov 2021 09:16:57 +0000 (09:16 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 23 Nov 2021 13:02:10 +0000 (14:02 +0100)
commitcd23f02f166892603eb9f2d488152b975872b682
tree4c12aeaff72796eaf6fbf3137facc7e2b464c688
parent136057256686de39cc3a07c2e39ef6bc43003ff6
cpufreq: intel_pstate: Add Ice Lake server to out-of-band IDs

Commit fbdc21e9b038 ("cpufreq: intel_pstate: Add Icelake servers
support in no-HWP mode") enabled the use of Intel P-State driver
for Ice Lake servers.

But it doesn't cover the case when OS can't control P-States.

Therefore, for Ice Lake server, if MSR_MISC_PWR_MGMT bits 8 or 18
are enabled, then the Intel P-State driver should exit as OS can't
control P-States.

Fixes: fbdc21e9b038 ("cpufreq: intel_pstate: Add Icelake servers support in no-HWP mode")
Signed-off-by: Adamos Ttofari <attofari@amazon.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/intel_pstate.c