]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
platform/x86: intel_turbo_max_3: Switch to new Intel CPU model defines
authorTony Luck <tony.luck@intel.com>
Fri, 31 May 2024 20:37:01 +0000 (13:37 -0700)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Mon, 3 Jun 2024 06:49:05 +0000 (09:49 +0300)
New CPU #defines encode vendor and family as well as model.

Signed-off-by: Tony Luck <tony.luck@intel.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20240531203706.233365-6-tony.luck@intel.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/intel/turbo_max_3.c

index 892140b628985baa20ba047e50ae274eb175e744..79a0bcdeffb87759b6f9c2e3e7ee07df28b11760 100644 (file)
@@ -114,8 +114,8 @@ static int itmt_legacy_cpu_online(unsigned int cpu)
 }
 
 static const struct x86_cpu_id itmt_legacy_cpu_ids[] = {
-       X86_MATCH_INTEL_FAM6_MODEL(BROADWELL_X, NULL),
-       X86_MATCH_INTEL_FAM6_MODEL(SKYLAKE_X,   NULL),
+       X86_MATCH_VFM(INTEL_BROADWELL_X,        NULL),
+       X86_MATCH_VFM(INTEL_SKYLAKE_X,  NULL),
        {}
 };