tools/power/x86/intel-speed-select: Add Emerald Rapid quirk

[ Upstream commit 61f9fdcdcd ]

Need memory frequency quirk as Sapphire Rapids in Emerald Rapids.
So add Emerald Rapids CPU model check in is_spr_platform().

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
[srinivas.pandruvada@linux.intel.com: Subject, changelog and code edits]
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Zhang Rui 2022-08-24 15:44:42 +08:00 committed by Greg Kroah-Hartman
parent ad04399765
commit 331918f22a
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ int is_skx_based_platform(void)
int is_spr_platform(void)
{
if (cpu_model == 0x8F)
if (cpu_model == 0x8F || cpu_model == 0xCF)
return 1;
return 0;