platform/x86/intel-uncore-freq: Add Sapphire Rapids server support
authorArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Wed, 3 Feb 2021 11:43:20 +0000 (13:43 +0200)
committerHans de Goede <hdegoede@redhat.com>
Wed, 3 Feb 2021 12:10:34 +0000 (13:10 +0100)
Sapphire Rapids uncore frequency control is the same as Skylake and
Ice Lake. Add the Sapphire Rapids CPU model number to the match array.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Reviewed-by: Tony Luck <tony.luck@intel.com>
Link: https://lore.kernel.org/r/20210203114320.1398801-1-dedekind1@gmail.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/x86/intel-uncore-frequency.c

index 12d5ab7..3ee4c5c 100644 (file)
@@ -377,6 +377,7 @@ static const struct x86_cpu_id intel_uncore_cpu_ids[] = {
        X86_MATCH_INTEL_FAM6_MODEL(SKYLAKE_X,   NULL),
        X86_MATCH_INTEL_FAM6_MODEL(ICELAKE_X,   NULL),
        X86_MATCH_INTEL_FAM6_MODEL(ICELAKE_D,   NULL),
+       X86_MATCH_INTEL_FAM6_MODEL(SAPPHIRERAPIDS_X, NULL),
        {}
 };