[PATCH-for-4.12 0/4] VT-d PI: fix nested and race condition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



All patches are from Linus tree. The commit IDs are recorded in each
patch.

Patch 1 & 2 fix the mis-delivery of non-nested VT-d PI in the nested VMX
environment [1].

Patch 3 & 4 fix a race condition in VT-d PI handling [2].

[1] https://www.spinics.net/lists/kvm/msg149007.html
[2] https://www.spinics.net/lists/kvm/msg155650.html


Wincy Van (2):
  x86: irq: Define a global vector for nested posted interrupts
  KVM: nVMX: Fix posted intr delivery when vcpu is in guest mode

Haozhong Zhang (2):
  KVM: VMX: do not change SN bit in vmx_update_pi_irte()
  KVM: VMX: remove WARN_ON_ONCE in kvm_vcpu_trigger_posted_interrupt

 arch/x86/entry/entry_64.S          |  1 +
 arch/x86/include/asm/entry_arch.h  |  2 ++
 arch/x86/include/asm/hardirq.h     |  1 +
 arch/x86/include/asm/hw_irq.h      |  2 ++
 arch/x86/include/asm/irq_vectors.h |  3 +-
 arch/x86/kernel/irq.c              | 19 ++++++++++++
 arch/x86/kernel/irqinit.c          |  2 ++
 arch/x86/kvm/vmx.c                 | 61 +++++++++++++++++++++-----------------
 8 files changed, 62 insertions(+), 29 deletions(-)

-- 
2.11.0




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]