Re: [PATCH v2 0/4] KVM: SVM: Fix IRQ window inhibit handling

From: Sean Christopherson

Date: Thu Mar 05 2026 - 12:23:21 EST


On Fri, 23 Jan 2026 14:45:10 -0800, Sean Christopherson wrote:
> Patch 1 fixes a bugs where KVM will keep AVIC inhibit for too long when
> running a nested guest and AVIC is inhibited to open an IRQ window.
>
> Patch 2 refcounts IRQ window inhibits so that "closing" an IRQ window on
> one vCPU doesn't clobber other vCPUs' windows when AVIC is enabled.
>
> Patch 3 optimizes IRQ window inhibits by avoiding contention on
> apicv_update_lock when KVM wants to inhibit AVIC to open an IRQ windows
> because AVIC is _already_ inhibited.
>
> [...]

Applied to kvm-x86 svm, thanks!

[1/4] KVM: SVM: Fix clearing IRQ window inhibit with nested guests
https://github.com/kvm-x86/linux/commit/7b402ec851cb
[2/4] KVM: SVM: Fix IRQ window inhibit handling across multiple vCPUs
https://github.com/kvm-x86/linux/commit/6563ddadd169
[3/4] KVM: SVM: Optimize IRQ window inhibit handling
https://github.com/kvm-x86/linux/commit/5617dddcfa30
[4/4] KVM: Isolate apicv_update_lock and apicv_nr_irq_window_req in a cacheline
https://github.com/kvm-x86/linux/commit/fa78a514d632

--
https://github.com/kvm-x86/linux/tree/next