summaryrefslogtreecommitdiffstats
path: root/arch/x86/boot
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2024-05-21 00:46:05 +0200
committerDave Hansen <dave.hansen@linux.intel.com>2024-05-28 19:59:03 +0200
commit6fd5e8855e60a94f6f4b78a1314afac56fce7427 (patch)
treef1a9e43dab2cce5dd2f943bebaf151546cc7eaa1 /arch/x86/boot
parentx86/cpu: Switch to new Intel CPU model defines (diff)
downloadlinux-6fd5e8855e60a94f6f4b78a1314afac56fce7427.tar.xz
linux-6fd5e8855e60a94f6f4b78a1314afac56fce7427.zip
x86/boot: Switch to new Intel CPU model defines
New CPU #defines encode vendor and family as well as model but boot code doesn't have all the infrastructure to use them. Hard code the one CPU model number used here. Signed-off-by: Tony Luck <tony.luck@intel.com> Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com> Link: https://lore.kernel.org/all/20240520224620.9480-35-tony.luck%40intel.com
Diffstat (limited to 'arch/x86/boot')
-rw-r--r--arch/x86/boot/cpucheck.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/boot/cpucheck.c b/arch/x86/boot/cpucheck.c
index fed8d13ce252..0aae4d4ed615 100644
--- a/arch/x86/boot/cpucheck.c
+++ b/arch/x86/boot/cpucheck.c
@@ -203,7 +203,7 @@ int check_knl_erratum(void)
*/
if (!is_intel() ||
cpu.family != 6 ||
- cpu.model != INTEL_FAM6_XEON_PHI_KNL)
+ cpu.model != 0x57 /*INTEL_XEON_PHI_KNL*/)
return 0;
/*