]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
platform/x86: p2sb: Switch to new Intel CPU model defines
authorTony Luck <tony.luck@intel.com>
Fri, 31 May 2024 20:37:00 +0000 (13:37 -0700)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Mon, 3 Jun 2024 06:49:02 +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-5-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/p2sb.c

index 3bf5d2243491af8f72c1972c31e5aa8e13620de3..31f38309b389ab66d1fa42aa20b4c227711f4994 100644 (file)
@@ -24,7 +24,7 @@
 #define SPI_DEVFN_GOLDMONT     PCI_DEVFN(13, 2)
 
 static const struct x86_cpu_id p2sb_cpu_ids[] = {
-       X86_MATCH_INTEL_FAM6_MODEL(ATOM_GOLDMONT, P2SB_DEVFN_GOLDMONT),
+       X86_MATCH_VFM(INTEL_ATOM_GOLDMONT, P2SB_DEVFN_GOLDMONT),
        {}
 };