Skip to content

RFC KVM: SVM: Fix IRQ window inhibit handling

Naveen N Rao (AMD) kvm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3KVM: SVM: Fix clearing IRQ window inhibit with nested guestsarch/x86/kvm/svm/svm.c+14 -140 replies
2/3KVM: SVM: Fix IRQ window inhibit handling across multiple vCPUsarch/x86/include/asm/kvm_host.h arch/x86/kvm/svm/svm.c arch/x86/kvm/svm/svm.h +1 more+61 -114 replies
3/3KVM: SVM: Optimize IRQ window inhibit handlingarch/x86/kvm/x86.c+25 -10 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchNaveen N Rao (AMD)
1/3
2/3T-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC PATCH 0/3] KVM: SVM: Fix IRQ window inhibit handling

Sean, Paolo,
I have attempted to take the changes discussed in the below thread and to convert them into a patch series:
http://lkml.kernel.org/r/[email protected]

I have tried to describe the changes, but the nested aspects would definitely need a review to ensure correctness and that all aspects are covered there.

None of these patches include patch tags since none were provided in the discussion. I have proposed patch trailers on the individual patches. Please take a look and let me know if that's fine.

I tested this lightly with nested guests as well and it is working fine for me.

Thanks,
Naveen

Naveen N Rao (AMD) (3):
KVM: SVM: Fix clearing IRQ window inhibit with nested guests
KVM: SVM: Fix IRQ window inhibit handling across multiple vCPUs
KVM: SVM: Optimize IRQ window inhibit handling

 arch/x86/include/asm/kvm_host.h | 16 +++++++++
 arch/x86/kvm/svm/svm.h          |  1 +
 arch/x86/kvm/svm/svm.c          | 60 ++++++++++++++++++++-------------
 arch/x86/kvm/x86.c              | 45 ++++++++++++++++++++++++-
 4 files changed, 98 insertions(+), 24 deletions(-)

base-commit: 87198fb0208a774d0cb8844744c67ee8680eafab

Signature · 1 line
2.50.1