[PATCH v3 0/3] x86/hvm: fix EFLAGS.IF handling of pending events with nested virt

chunjie.zhu@citrix.com posted 3 patches 1 week, 4 days ago
xen/arch/x86/hvm/hvm.c             |  4 +++-
xen/arch/x86/hvm/svm/nestedsvm.c   | 14 ++++++++++++--
xen/arch/x86/hvm/vmx/intr.c        |  8 ++++----
xen/arch/x86/include/asm/hvm/hvm.h | 12 ++++++++++--
4 files changed, 29 insertions(+), 9 deletions(-)
[PATCH v3 0/3] x86/hvm: fix EFLAGS.IF handling of pending events with nested virt
Posted by chunjie.zhu@citrix.com 1 week, 4 days ago
From: Chunjie Zhu <chunjie.zhu@citrix.com>

Patches 1 and 3 stop EFLAGS.IF from holding off NMI/#MC when nested state
is involved (and in hvm_interrupt_blocked() for #MC).  Patch 2 makes
nested SVM honour L2's EFLAGS.IF when L1 clears V_INTR_MASKING.

v3:
 * Address Ross's review comments on v2, see individual patches.
 * New patch 3/3, suggested by Ross.
 * Rebased on staging.


Chunjie Zhu (3):
  x86/hvm: don't let EFLAGS.IF block NMI/#MC due to nested state
  x86/nestedsvm: honour L2's EFLAGS.IF when L1 clears V_INTR_MASKING
  x86/hvm: don't let EFLAGS.IF block #MC in hvm_interrupt_blocked

 xen/arch/x86/hvm/hvm.c             |  4 +++-
 xen/arch/x86/hvm/svm/nestedsvm.c   | 14 ++++++++++++--
 xen/arch/x86/hvm/vmx/intr.c        |  8 ++++----
 xen/arch/x86/include/asm/hvm/hvm.h | 12 ++++++++++--
 4 files changed, 29 insertions(+), 9 deletions(-)

-- 
2.34.1