android_kernel_xiaomi_sm8350/arch/x86/kvm
Andi Kleen a0861c02a9 KVM: Add VT-x machine check support
VT-x needs an explicit MC vector intercept to handle machine checks in the
hyper visor.

It also has a special option to catch machine checks that happen
during VT entry.

Do these interceptions and forward them to the Linux machine check
handler. Make it always look like user space is interrupted because
the machine check handler treats kernel/user space differently.

Thanks to Jiang Yunhong for help and testing.

Cc: stable@kernel.org
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
2009-06-10 12:27:08 +03:00
..
i8254.c KVM: PIT: fix count read and mode 0 handling 2009-06-10 11:48:39 +03:00
i8254.h KVM: unify part of generic timer handling 2009-06-10 11:48:25 +03:00
i8259.c KVM: fix sparse warnings: context imbalance 2009-03-24 11:03:13 +02:00
irq.c KVM: Remove irq_pending bitmap 2009-06-10 11:48:57 +03:00
irq.h KVM: make irq ack notifications aware of routing table 2009-03-24 11:03:08 +02:00
Kconfig KVM: Expand on "help" info to specify kvm intel and amd module names 2009-06-10 11:48:55 +03:00
kvm_cache_regs.h KVM: x86: accessors for guest registers 2008-10-15 10:13:57 +02:00
kvm_svm.h KVM: x86: Virtualize debug registers 2009-03-24 11:02:49 +02:00
kvm_timer.h KVM: unify part of generic timer handling 2009-06-10 11:48:25 +03:00
lapic.c KVM: fix apic_debug instances 2009-06-10 11:48:50 +03:00
lapic.h KVM: APIC: get rid of deliver_bitmask 2009-06-10 11:48:27 +03:00
Makefile KVM: unify part of generic timer handling 2009-06-10 11:48:25 +03:00
mmu.c KVM: x86: check for cr3 validity in mmu_alloc_roots 2009-06-10 11:48:55 +03:00
mmu.h KVM: Use rsvd_bits_mask in load_pdptrs() 2009-06-10 11:48:36 +03:00
paging_tmpl.h KVM: MMU: remove global page optimization logic 2009-06-10 11:48:39 +03:00
svm.c KVM: inject NMI after IRET from a previous NMI, not before. 2009-06-10 11:48:59 +03:00
timer.c KVM: unify part of generic timer handling 2009-06-10 11:48:25 +03:00
tss.h
vmx.c KVM: Add VT-x machine check support 2009-06-10 12:27:08 +03:00
x86_emulate.c KVM: Deal with interrupt shadow state for emulated instructions 2009-06-10 11:48:54 +03:00
x86.c KVM: Disable CR8 intercept if tpr patching is active 2009-06-10 11:48:59 +03:00
x86.h KVM: Do not re-execute INTn instruction. 2009-06-10 11:48:58 +03:00