History

Merge tag 'x86-cpu-2020-06-01' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull x86 cpu updates from Ingo Molnar: "Misc updates: - Extend the x86 family/model macros with a steppings dimension, because x86 life isn't complex enough and Intel uses steppings to differentiate between different CPUs. :-/ - Convert the TSC deadline timer quirks to the steppings macros. - Clean up asm mnemonics. - Fix the handling of an AMD erratum, or in other words, fix a kernel erratum" * tag 'x86-cpu-2020-06-01' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/cpu: Use RDRAND and RDSEED mnemonics in archrandom.h x86/cpu: Use INVPCID mnemonic in invpcid.h x86/cpu/amd: Make erratum #1054 a legacy erratum x86/apic: Convert the TSC deadline timer matching to steppings macro x86/cpu: Add a X86_MATCH_INTEL_FAM6_MODEL_STEPPINGS() macro x86/cpu: Add a steppings field to struct x86_cpu_id

Linus Torvalds committed 6 years ago

Commit eff5dda2 parents 17e0a7c 3d81b3d7 files · +59 −74Browse files

Showing the changes to include/linux (1 of 7 files). Show all

Unified · Split

include/linux/mod_devicetable.h+2−0
@@ -663,6 +663,7 @@ struct x86_cpu_id { · 662 unmodified lines
663663 __u16 vendor;
664664 __u16 family;
665665 __u16 model;
666+ __u16 steppings;
666667 __u16 feature; /* bit index */
667668 kernel_ulong_t driver_data;
668669 };
@@ -671,6 +672,7 @@ struct x86_cpu_id { · 2 unmodified lines
671672 #define X86_VENDOR_ANY 0xffff
672673 #define X86_FAMILY_ANY 0
673674 #define X86_MODEL_ANY 0
675+#define X86_STEPPING_ANY 0
674676 #define X86_FEATURE_ANY 0 /* Same as FPU, you can't test for that */
675677
676678 /*