projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5148563
)
x86/cpu: Add a X86_MATCH_INTEL_FAM6_MODEL_STEPPINGS() macro
author
Borislav Petkov
<bp@suse.de>
Tue, 5 May 2020 17:25:08 +0000
(19:25 +0200)
committer
Borislav Petkov
<bp@suse.de>
Thu, 7 May 2020 11:48:05 +0000
(13:48 +0200)
... to match Intel family 6 CPUs with steppings.
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Mark Gross <mgross@linux.intel.com>
Link:
https://lkml.kernel.org/r/20200506071516.25445-3-bp@alien8.de
arch/x86/include/asm/cpu_device_id.h
patch
|
blob
|
history
diff --git
a/arch/x86/include/asm/cpu_device_id.h
b/arch/x86/include/asm/cpu_device_id.h
index 10426cd56dca857c565ce92144ff664a0b308158..eb8fcede9e3bf4365e3d5347b5ff27783b4a7c11 100644
(file)
--- a/
arch/x86/include/asm/cpu_device_id.h
+++ b/
arch/x86/include/asm/cpu_device_id.h
@@
-160,6
+160,10
@@
#define X86_MATCH_INTEL_FAM6_MODEL(model, data) \
X86_MATCH_VENDOR_FAM_MODEL(INTEL, 6, INTEL_FAM6_##model, data)
+#define X86_MATCH_INTEL_FAM6_MODEL_STEPPINGS(model, steppings, data) \
+ X86_MATCH_VENDOR_FAM_MODEL_STEPPINGS_FEATURE(INTEL, 6, INTEL_FAM6_##model, \
+ steppings, X86_FEATURE_ANY, data)
+
/*
* Match specific microcode revisions.
*