]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
platform/x86: intel_speed_select_if: Switch to new Intel CPU model defines
authorTony Luck <tony.luck@intel.com>
Fri, 31 May 2024 20:37:04 +0000 (13:37 -0700)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Mon, 3 Jun 2024 06:49:12 +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: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20240531203706.233365-9-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/speed_select_if/isst_if_mbox_msr.c

index 48b608eaca5f587b708c5dc5397c80cced1083d5..c4b7af00352bcc790426de0faae834ddaec343b4 100644 (file)
@@ -159,7 +159,7 @@ static struct notifier_block isst_pm_nb = {
 };
 
 static const struct x86_cpu_id isst_if_cpu_ids[] = {
-       X86_MATCH_INTEL_FAM6_MODEL(SKYLAKE_X, NULL),
+       X86_MATCH_VFM(INTEL_SKYLAKE_X, NULL),
        {}
 };
 MODULE_DEVICE_TABLE(x86cpu, isst_if_cpu_ids);