]> xenbits.xensource.com Git - xen.git/commit
VMX: fix vmx_handle_eoi()
authorJan Beulich <jbeulich@suse.com>
Fri, 1 Feb 2019 10:59:52 +0000 (11:59 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 1 Feb 2019 10:59:52 +0000 (11:59 +0100)
commitfd6ab0e87edb2cbbd79f4915aebf0849969711f5
treeaaa0f88d14e0be8370d84b75a06a979faeedbcce
parent0437ba0e578d089eb24fc493575cd0e8f2584ec7
VMX: fix vmx_handle_eoi()

In commit 303066fdb1e ("VMX: fix interaction of APIC-V and Viridian
emulation") I screwed up: Instead of clearing SVI, other ISR bits
should be taken into account.

Introduce a new helper set_svi(), split out of vmx_process_isr(), and
use it also from vmx_handle_eoi().

Following the problems in vmx_intr_assist() (see the still present big
block of debugging code there) also warn (once) if EOI'd vector and
original SVI don't match.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Chao Gao <chao.gao@intel.com>
Acked-by: Kevin Tian <kevin.tian@intel.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
master commit: 45cb9a4123b5550eb1f84846fe5482acae1c13a3
master date: 2018-11-02 12:15:33 +0100
xen/arch/x86/hvm/vlapic.c
xen/arch/x86/hvm/vmx/vmx.c
xen/include/asm-x86/hvm/hvm.h