From 00ddf7311089ec0e51e393f30a76d0f42c4eced7 Mon Sep 17 00:00:00 2001 From: Olaf Hering Date: Jul 12 2022 09:32:53 +0000 Subject: Merge remote-tracking branch 'kerncvs/SLE15-SP4_EMBARGO' into SLE15-SP4-AZURE_EMBARGO --- diff --git a/patches.suse/cpufreq-intel_pstate-Add-Ice-Lake-server-to-out-of-b.patch b/patches.suse/cpufreq-intel_pstate-Add-Ice-Lake-server-to-out-of-b.patch new file mode 100644 index 0000000..5859efb --- /dev/null +++ b/patches.suse/cpufreq-intel_pstate-Add-Ice-Lake-server-to-out-of-b.patch @@ -0,0 +1,41 @@ +From cd23f02f166892603eb9f2d488152b975872b682 Mon Sep 17 00:00:00 2001 +From: Adamos Ttofari +Date: Fri, 12 Nov 2021 09:16:57 +0000 +Subject: [PATCH] cpufreq: intel_pstate: Add Ice Lake server to out-of-band IDs +References: bsc#1201228 +Git-commit: cd23f02f166892603eb9f2d488152b975872b682 +Patch-mainline: v5.16-rc3 + +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 +Signed-off-by: Rafael J. Wysocki +Signed-off-by: Thomas Abraham +--- + drivers/cpufreq/intel_pstate.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c +index 815df3daae9d..1088ff350159 100644 +--- a/drivers/cpufreq/intel_pstate.c ++++ b/drivers/cpufreq/intel_pstate.c +@@ -2353,6 +2353,7 @@ static const struct x86_cpu_id intel_pstate_cpu_oob_ids[] __initconst = { + X86_MATCH(BROADWELL_D, core_funcs), + X86_MATCH(BROADWELL_X, core_funcs), + X86_MATCH(SKYLAKE_X, core_funcs), ++ X86_MATCH(ICELAKE_X, core_funcs), + {} + }; + +-- +2.35.3 + diff --git a/series.conf b/series.conf index 4f9944c..815b7ee 100644 --- a/series.conf +++ b/series.conf @@ -7032,6 +7032,7 @@ patches.suse/USB-serial-option-add-Fibocom-FM101-GL-variants.patch patches.suse/staging-fbtft-Fix-backlight.patch patches.suse/fuse-release-pipe-buf-after-last-use.patch + patches.suse/cpufreq-intel_pstate-Add-Ice-Lake-server-to-out-of-b.patch patches.suse/cpufreq-intel_pstate-ITMT-support-for-overclocked-sy.patch patches.suse/PM-hibernate-use-correct-mode-for-swsusp_close.patch patches.suse/ACPI-CPPC-Add-NULL-pointer-check-to-cppc_get_perf.patch