platform/x86: intel-uncore-freq: add Emerald Rapids support
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Tue, 22 Nov 2022 07:00:14 +0000 (09:00 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Jan 2023 10:11:43 +0000 (11:11 +0100)
[ 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 <artem.bityutskiy@linux.intel.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/platform/x86/intel/uncore-frequency/uncore-frequency.c

index 8f9c571..00ac7e3 100644 (file)
@@ -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);