projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
744866f
)
x86/boot: Switch to new Intel CPU model defines
author
Tony Luck
<tony.luck@intel.com>
Mon, 20 May 2024 22:46:05 +0000
(15:46 -0700)
committer
Dave Hansen
<dave.hansen@linux.intel.com>
Tue, 28 May 2024 17:59:03 +0000
(10:59 -0700)
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
arch/x86/boot/cpucheck.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/boot/cpucheck.c
b/arch/x86/boot/cpucheck.c
index fed8d13ce2526086883422e7fee4b65de858be94..0aae4d4ed61502efe2113f7564176df25260eb95 100644
(file)
--- 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;
/*