]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 1 Dec 2021 08:04:51 +0000 (09:04 +0100)
commit21f4b5699706efbda8d27ee1bc093ff81332a5c2
tree7ab145e286533398fbb3500874ab1fcf34c148af
parent6121adf9330fdb0646664b14fca09759043f05b3
cpufreq: intel_pstate: Add Ice Lake server to out-of-band IDs

[ Upstream commit 35b6f74fb47839627b5dc71d53c5630869774ee1 ]

Commit ea24557fe61d ("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: ea24557fe61d ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/cpufreq/intel_pstate.c