linux-stable/arch/x86/kvm
Daniel Sneddon 15d6de3746 KVM: x86: Add BHI_NO
commit ed2e8d49b5 upstream.

Intel processors that aren't vulnerable to BHI will set
MSR_IA32_ARCH_CAPABILITIES[BHI_NO] = 1;. Guests may use this BHI_NO bit to
determine if they need to implement BHI mitigations or not.  Allow this bit
to be passed to the guests.

Signed-off-by: Daniel Sneddon <daniel.sneddon@linux.intel.com>
Signed-off-by: Pawan Gupta <pawan.kumar.gupta@linux.intel.com>
Signed-off-by: Daniel Sneddon <daniel.sneddon@linux.intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Alexandre Chartre <alexandre.chartre@oracle.com>
Reviewed-by: Josh Poimboeuf <jpoimboe@kernel.org>
Signed-off-by: Daniel Sneddon <daniel.sneddon@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-04-10 16:38:24 +02:00
..
mmu mm/treewide: replace pud_large() with pud_leaf() 2024-04-10 16:38:00 +02:00
svm KVM: SVM: Add support for allowing zero SEV ASIDs 2024-04-10 16:38:09 +02:00
vmx x86/bhi: Mitigate KVM by default 2024-04-10 16:38:24 +02:00
.gitignore
cpuid.c Generic: 2024-01-17 13:03:37 -08:00
cpuid.h
debugfs.c
emulate.c
fpu.h
governed_features.h
hyperv.c KVM: x86: Give a hint when Win2016 might fail to boot due to XSAVES erratum 2024-01-31 16:21:00 -05:00
hyperv.h KVM: x86: Give a hint when Win2016 might fail to boot due to XSAVES erratum 2024-01-31 16:21:00 -05:00
i8254.c
i8254.h
i8259.c
ioapic.c
ioapic.h
irq.c
irq.h
irq_comm.c
Kconfig KVM: x86: Update KVM_SW_PROTECTED_VM docs to make it clear they're a WIP 2024-02-22 17:07:06 -08:00
kvm-asm-offsets.c
kvm_cache_regs.h
kvm_emulate.h
kvm_onhyperv.c
kvm_onhyperv.h
lapic.c KVM: x86/xen: inject vCPU upcall vector when local APIC is enabled 2024-04-03 15:32:11 +02:00
lapic.h
Makefile
mmu.h
mtrr.c
pmu.c
pmu.h
reverse_cpuid.h x86/bhi: Define SPEC_CTRL_BHI_DIS_S 2024-04-10 16:38:24 +02:00
smm.c
smm.h
trace.h KVM: SVM: Use unsigned integers when dealing with ASIDs 2024-04-10 16:38:09 +02:00
tss.h
x86.c KVM: x86: Add BHI_NO 2024-04-10 16:38:24 +02:00
x86.h
xen.c KVM: x86/xen: inject vCPU upcall vector when local APIC is enabled 2024-04-03 15:32:11 +02:00
xen.h KVM: x86/xen: inject vCPU upcall vector when local APIC is enabled 2024-04-03 15:32:11 +02:00