projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe3edc5
)
x86/cpu: Switch to new Intel CPU model defines
author
Tony Luck
<tony.luck@intel.com>
Wed, 24 Apr 2024 18:15:11 +0000
(11:15 -0700)
committer
Borislav Petkov (AMD)
<bp@alien8.de>
Mon, 29 Apr 2024 08:31:19 +0000
(10:31 +0200)
New CPU #defines encode vendor and family as well as model.
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/20240424181511.41753-1-tony.luck%40intel.com
arch/x86/kernel/cpu/match.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/cpu/match.c
b/arch/x86/kernel/cpu/match.c
index 2243083f0bc22d999e3b1e7977e798d5d46d795a..8651643bddae848b8b48120b45c4912d6d457e74 100644
(file)
--- a/
arch/x86/kernel/cpu/match.c
+++ b/
arch/x86/kernel/cpu/match.c
@@
-25,7
+25,7
@@
* asm/cpu_device_id.h contains a set of useful macros which are shortcuts
* for various common selections. The above can be shortened to:
*
- * X86_MATCH_
INTEL_FAM6_MODEL(
BROADWELL, NULL);
+ * X86_MATCH_
VFM(INTEL_
BROADWELL, NULL);
*
* Arrays used to match for this should also be declared using
* MODULE_DEVICE_TABLE(x86cpu, ...)