projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db99675
)
x86/cpu: Switch to new Intel CPU model defines
author
Tony Luck
<tony.luck@intel.com>
Wed, 24 Apr 2024 18:15:16 +0000
(11:15 -0700)
committer
Borislav Petkov (AMD)
<bp@alien8.de>
Mon, 29 Apr 2024 08:31:30 +0000
(10:31 +0200)
New CPU #defines encode vendor and family as well as model.
[ dhansen: vertically align macro and remove stray subject / ]
Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link:
https://lore.kernel.org/all/20240424181516.41887-1-tony.luck%40intel.com
arch/x86/kernel/smpboot.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/smpboot.c
b/arch/x86/kernel/smpboot.c
index a58109583c476515a96156077b7181a3a20153d9..0c35207320cb4f6ded65d8ef64dbb24c63c1c84b 100644
(file)
--- a/
arch/x86/kernel/smpboot.c
+++ b/
arch/x86/kernel/smpboot.c
@@
-438,9
+438,9
@@
static bool match_pkg(struct cpuinfo_x86 *c, struct cpuinfo_x86 *o)
*/
static const struct x86_cpu_id intel_cod_cpu[] = {
- X86_MATCH_
INTEL_FAM6_MODEL(HASWELL_X, 0),
/* COD */
- X86_MATCH_
INTEL_FAM6_MODEL(BROADWELL_X, 0),
/* COD */
- X86_MATCH_
INTEL_FAM6_MODEL(ANY, 1),
/* SNC */
+ X86_MATCH_
VFM(INTEL_HASWELL_X, 0),
/* COD */
+ X86_MATCH_
VFM(INTEL_BROADWELL_X, 0),
/* COD */
+ X86_MATCH_
VFM(INTEL_ANY, 1),
/* SNC */
{}
};