From: Artem Bityutskiy Date: Tue, 22 Nov 2022 07:00:14 +0000 (+0200) Subject: platform/x86: intel-uncore-freq: add Emerald Rapids support X-Git-Tag: v6.1.8~697 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c455aa7cc9cf1205b4d614560cfd508797d8681d;p=platform%2Fkernel%2Flinux-starfive.git platform/x86: intel-uncore-freq: add Emerald Rapids support [ Upstream commit 9c252ecf30360cb7b4dbcc275aebe5642174fd39 ] Make Intel uncore frequency driver support Emerald Rapids by adding its CPU model to the match table. Emerald Rapids uncore frequency control is the same as in Sapphire Rapids. Signed-off-by: Artem Bityutskiy Acked-by: Srinivas Pandruvada Acked-by: Hans de Goede Signed-off-by: Rafael J. Wysocki Signed-off-by: Sasha Levin --- diff --git a/drivers/platform/x86/intel/uncore-frequency/uncore-frequency.c b/drivers/platform/x86/intel/uncore-frequency/uncore-frequency.c index 8f9c571..00ac7e3 100644 --- a/drivers/platform/x86/intel/uncore-frequency/uncore-frequency.c +++ b/drivers/platform/x86/intel/uncore-frequency/uncore-frequency.c @@ -203,6 +203,7 @@ static const struct x86_cpu_id intel_uncore_cpu_ids[] = { X86_MATCH_INTEL_FAM6_MODEL(ICELAKE_X, NULL), X86_MATCH_INTEL_FAM6_MODEL(ICELAKE_D, NULL), X86_MATCH_INTEL_FAM6_MODEL(SAPPHIRERAPIDS_X, NULL), + X86_MATCH_INTEL_FAM6_MODEL(EMERALDRAPIDS_X, NULL), {} }; MODULE_DEVICE_TABLE(x86cpu, intel_uncore_cpu_ids);