WSL2-Linux-Kernel/arch
Wanpeng Li f3380ca5d7 KVM: nVMX: Fix nested vmexit ack intr before load vmcs01
An external interrupt will cause a vmexit with reason "external interrupt"
when L2 is running.  L1 will pick up the interrupt through vmcs12 if
L1 set the ack interrupt bit.  Commit 77b0f5d (KVM: nVMX: Ack and write
vector info to intr_info if L1 asks us to) retrieves the interrupt that
belongs to L1 before vmcs01 is loaded.

This will lead to problems in the next patch, which would write to SVI
of vmcs02 instead of vmcs01 (SVI of vmcs02 doesn't make sense because
L2 runs without APICv).

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Tested-by: Liu, RongrongX <rongrongx.liu@intel.com>
Tested-by: Felipe Reyes <freyes@suse.com>
Fixes: 77b0f5d67f
Cc: stable@vger.kernel.org
Signed-off-by: Wanpeng Li <wanpeng.li@linux.intel.com>
[Move tracepoint as well. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2014-08-05 14:50:45 +02:00
..
alpha Merge commit '3cf2f34' into sched/core, to fix build error 2014-06-12 13:46:37 +02:00
arc ARC: [SMP] Enable icache coherency 2014-06-26 11:59:01 +05:30
arm Patch queue for ppc - 2014-08-01 2014-08-05 09:58:11 +02:00
arm64 KVM/ARM New features for 3.17 include: 2014-08-05 09:47:45 +02:00
avr32 Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip into next 2014-06-03 12:57:53 -07:00
blackfin This pull request has a lot of work done. The main thing is the changes 2014-08-04 11:50:00 -07:00
c6x DeviceTree for 3.16: 2014-06-04 10:02:38 -07:00
cris cris: update comments for generic idle conversion 2014-06-06 16:08:18 -07:00
frv sys_sgetmask/sys_ssetmask: add CONFIG_SGETMASK_SYSCALL 2014-06-04 16:54:14 -07:00
hexagon
ia64 KVM: Give IRQFD its own separate enabling Kconfig option 2014-08-05 14:26:28 +02:00
m32r
m68k m68k: Export mach_random_get_entropy to modules 2014-07-11 10:37:53 +02:00
metag metag: ftrace: Remove check of obsolete variable function_trace_stop 2014-07-18 13:58:09 -04:00
microblaze microblaze: ftrace: Remove check of obsolete variable function_trace_stop 2014-07-18 13:57:08 -04:00
mips Patch queue for ppc - 2014-08-01 2014-08-05 09:58:11 +02:00
mn10300 sys_sgetmask/sys_ssetmask: add CONFIG_SGETMASK_SYSCALL 2014-06-04 16:54:14 -07:00
openrisc DeviceTree for 3.16: 2014-06-04 10:02:38 -07:00
parisc This pull request has a lot of work done. The main thing is the changes 2014-08-04 11:50:00 -07:00
powerpc KVM: PPC: Enable IRQFD support for the XICS interrupt controller 2014-08-05 14:26:33 +02:00
s390 KVM: Give IRQFD its own separate enabling Kconfig option 2014-08-05 14:26:28 +02:00
score
sh This pull request has a lot of work done. The main thing is the changes 2014-08-04 11:50:00 -07:00
sparc This pull request has a lot of work done. The main thing is the changes 2014-08-04 11:50:00 -07:00
tile tile: ftrace: Remove check of obsolete variable function_trace_stop 2014-07-18 13:57:03 -04:00
um um: segv: Save regs only in case of a kernel mode fault 2014-07-20 13:39:27 +02:00
unicore32 unicore32: Remove ARCH_HAS_CPUFREQ config option 2014-06-20 08:22:41 +08:00
x86 KVM: nVMX: Fix nested vmexit ack intr before load vmcs01 2014-08-05 14:50:45 +02:00
xtensa Xtensa fixes for 3.16: 2014-07-15 22:18:30 -07:00
.gitignore
Kconfig