android_kernel_xiaomi_sm7250/arch/x86
Mark Gross 12db593708 x86/cpu: Add a steppings field to struct x86_cpu_id
commit e9d7144597b10ff13ff2264c059f7d4a7fbc89ac upstream.

Intel uses the same family/model for several CPUs. Sometimes the
stepping must be checked to tell them apart.

On x86 there can be at most 16 steppings. Add a steppings bitmask to
x86_cpu_id and a X86_MATCH_VENDOR_FAMILY_MODEL_STEPPING_FEATURE macro
and support for matching against family/model/stepping.

 [ bp: Massage. ]

Signed-off-by: Mark Gross <mgross@linux.intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Tony Luck <tony.luck@intel.com>
Reviewed-by: Josh Poimboeuf <jpoimboe@redhat.com>
[cascardo: have steppings be the last member as there are initializers
 that don't use named members]
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
[suleiman: vmx.c moved]
Signed-off-by: Suleiman Souhlal <suleiman@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-11-23 07:53:44 +01:00
..
boot x86: link vdso and boot with -z noexecstack --no-warn-rwx-segments 2022-08-25 11:14:50 +02:00
configs
crypto
entry x86: link vdso and boot with -z noexecstack --no-warn-rwx-segments 2022-08-25 11:14:50 +02:00
events perf/amd/ibs: Use interrupt regs ip for stack unwinding 2022-06-14 16:59:22 +02:00
hyperv x86/hyperv: Fix NULL deref in set_hv_tscchange_cb() if Hyper-V setup fails 2021-11-26 11:36:23 +01:00
ia32
include x86/cpu: Add a steppings field to struct x86_cpu_id 2022-11-23 07:53:44 +01:00
kernel x86/cpu: Add a steppings field to struct x86_cpu_id 2022-11-23 07:53:44 +01:00
kvm x86/cpu: Add a steppings field to struct x86_cpu_id 2022-11-23 07:53:44 +01:00
lib x86/delay: Fix the wrong asm constraint in delay_loop() 2022-06-14 16:59:19 +02:00
math-emu
mm x86/numa: Use cpumask_available instead of hardcoded NULL check 2022-08-25 11:15:26 +02:00
net bpf: Introduce BPF nospec instruction for mitigating Spectre v4 2021-09-22 11:47:58 +02:00
oprofile
pci x86/pci/xen: Disable PCI/MSI[-X] masking for XEN_HVM guests 2022-06-06 08:24:19 +02:00
platform x86/olpc: fix 'logical not is only applied to the left hand side' 2022-08-25 11:15:27 +02:00
power x86/cpu: Load microcode during restore_processor_state() 2022-05-12 12:20:22 +02:00
purgatory
ras
realmode x86/64/mm: Map all kernel memory into trampoline_pgd 2021-12-08 08:50:14 +01:00
tools x86/tools: Fix objdump version check again 2021-08-26 08:36:39 -04:00
um um: Cleanup compiler warning in arch/x86/um/tls_32.c 2022-10-26 13:19:17 +02:00
video
xen xen: delay xen_hvm_init_time_ops() if kdump is boot on vcpu>=32 2022-04-15 14:15:03 +02:00
.gitignore
Kbuild
Kconfig x86/sme: Explicitly map new EFI memmap table as encrypted 2021-12-22 09:19:01 +01:00
Kconfig.cpu
Kconfig.debug
Makefile
Makefile_32.cpu
Makefile.um