[RFC PATCH 0/3] KVM: SVM: Fix IRQ window inhibit handling
From: Naveen N Rao (AMD)
Date: Fri Jul 18 2025 - 02:50:14 EST
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/Z6JoInXNntIoHLQ8@xxxxxxxxxx
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
--
2.50.1