android_kernel_xiaomi_sm8350/arch/ia64/kvm
Jes Sorensen d24d2c1cc4 KVM: ia64: fix locking order entering guest
Reorder locking as down_read() may return with local interrupts enabled,
which means we could go into vti_vcpu_run() with interrupts enabled.

This caused random crashes on the Altix as the timer interrupt tried
to read a memory mapped clock source, for which the TLB had not yet been
reinstated in the exit, before ipsr was retored.

Signed-off-by: Jes Sorensen <jes@sgi.com>
Acked-by: Xiantao Zhang <xiantao.zhang@intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
2009-04-22 13:52:09 +03:00
..
asm-offsets.c KVM: ia64: Remove some macro definitions in asm-offsets.c. 2008-12-31 16:52:25 +02:00
irq.h KVM: ia64: Fix the build errors due to lack of macros related to MSI. 2009-03-24 11:03:13 +02:00
Kconfig KVM: Add CONFIG_HAVE_KVM_IRQCHIP 2009-03-24 11:03:02 +02:00
kvm_fw.c KVM: ia64: Implement some pal calls needed for windows 2008 2009-03-24 11:03:06 +02:00
kvm_lib.c KVM: ia64: Define printk function for kvm-intel module 2008-12-31 16:54:59 +02:00
kvm_minstate.h KVM: ia64: Re-organize data sturure of guests' data area 2008-12-31 16:51:49 +02:00
kvm-ia64.c KVM: ia64: fix locking order entering guest 2009-04-22 13:52:09 +03:00
lapic.h
Makefile KVM: change KVM to use IOMMU API 2009-01-03 14:11:07 +01:00
memcpy.S
memset.S
misc.h KVM: ia64: Re-organize data sturure of guests' data area 2008-12-31 16:51:49 +02:00
mmio.c KVM: ia64: Add some debug points to provide crash infomation 2008-12-31 16:54:59 +02:00
optvfault.S
process.c KVM: ia64: Implement some pal calls needed for windows 2008 2009-03-24 11:03:06 +02:00
trampoline.S
vcpu.c Pull pvops into release branch 2009-03-31 14:25:08 -07:00
vcpu.h KVM: ia64: vTLB change for enabling windows 2008 boot 2009-03-24 11:03:06 +02:00
vmm_ivt.S KVM: ia64: Clean up vmm_ivt.S using tab to indent every line 2008-12-31 16:54:59 +02:00
vmm.c KVM: ia64: Add handler for crashed vmm 2008-12-31 16:54:59 +02:00
vti.h
vtlb.c Pull pvops into release branch 2009-03-31 14:25:08 -07:00