Skip to content

Commit d8422f6

Browse files
committed
x86/cpu: Add a X86_MATCH_INTEL_FAM6_MODEL_STEPPINGS() macro
... to match Intel family 6 CPUs with steppings. Signed-off-by: Borislav Petkov <[email protected]> Reviewed-by: Mark Gross <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
1 parent 5148563 commit d8422f6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

arch/x86/include/asm/cpu_device_id.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,10 @@
160160
#define X86_MATCH_INTEL_FAM6_MODEL(model, data) \
161161
X86_MATCH_VENDOR_FAM_MODEL(INTEL, 6, INTEL_FAM6_##model, data)
162162

163+
#define X86_MATCH_INTEL_FAM6_MODEL_STEPPINGS(model, steppings, data) \
164+
X86_MATCH_VENDOR_FAM_MODEL_STEPPINGS_FEATURE(INTEL, 6, INTEL_FAM6_##model, \
165+
steppings, X86_FEATURE_ANY, data)
166+
163167
/*
164168
* Match specific microcode revisions.
165169
*

0 commit comments

Comments
 (0)