lkml.org 
[lkml]   [2019]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/3] KVM: VMX: Posted Interrupts fixes
Date
Hey,

This mini-series addresses two bugs plus a small cleanup:

1) Considering PID.PIR as opposed to just PID.ON for pending interrupt checks
in the direct yield code path;

2) Not changing NDST in vmx_vcpu_pi_load(), which addresses a regression.
Prior to this, we would observe Win2K12 guests hanging momentarily.

3) Small cleanup to streamline PIR checks with a common helper.

The cleanup is done last to simplify backports.

Joao

v2:
* Fixed missing Tb/Rb tags;
* Fixed broken Sob chains (on first two patches)
* Only test PID.PIR if PID.SN=1 (third patch)

Joao Martins (3):
KVM: VMX: Consider PID.PIR to determine if vCPU has pending interrupts
KVM: VMX: Do not change PID.NDST when loading a blocked vCPU
KVM: VMX: Introduce pi_is_pir_empty() helper

arch/x86/kvm/vmx/vmx.c | 21 +++++++++++++++++++--
arch/x86/kvm/vmx/vmx.h | 11 +++++++++++
2 files changed, 30 insertions(+), 2 deletions(-)

--
2.11.0

\
 
 \ /
  Last update: 2019-11-11 18:23    [W:0.104 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site