mbox series

[v2,0/4] x86/nvmx: fixes for interrupt injection

Message ID 20200325101910.29168-1-roger.pau@citrix.com (mailing list archive)
Headers show
Series x86/nvmx: fixes for interrupt injection | expand

Message

Roger Pau Monné March 25, 2020, 10:19 a.m. UTC
Hello,

osstest identified a regression caused by my earlier attempt to fix
interrupt injection when using nested VMX. This series aims to fix the
regression, and should unblock several osstest branches.

The following report is from osstest with this series applied:

http://logs.test-lab.xenproject.org/osstest/logs/148979/

Note the last patch (4/4) is the one that actually fixes the issue. Xen
will always use the Ack on exit feature so patches 2/4 and 3/4 don't
change the functionality when running a nested Xen, as it always
requires SVI to be updated.

Thanks, Roger.

Roger Pau Monne (4):
  Revert "x86/vvmx: fix virtual interrupt injection when Ack on exit
    control is used"
  x86/nvmx: only update SVI when using Ack on exit
  x86/nvmx: split updating RVI from SVI in nvmx_update_apicv
  x86/nvmx: update exit bitmap when using virtual interrupt delivery

 xen/arch/x86/hvm/vmx/intr.c       | 21 ++++++++++++--------
 xen/arch/x86/hvm/vmx/vvmx.c       | 33 ++++++++++++++++++++-----------
 xen/include/asm-x86/hvm/vmx/vmx.h |  2 ++
 3 files changed, 36 insertions(+), 20 deletions(-)