]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
KVM: x86: Skip IOMMU IRTE updates if there's no old or new vCPU being targeted
authorSean Christopherson <seanjc@google.com>
Wed, 11 Jun 2025 22:45:38 +0000 (15:45 -0700)
committerSean Christopherson <seanjc@google.com>
Mon, 23 Jun 2025 16:50:34 +0000 (09:50 -0700)
commitdc6adb13046abe199194f788e5d0dc41c67db5bc
tree4442ad2a7c43787703ea354660af330ad6de5407
parent511754bc548b59e136fcf433da23ba39c74684cf
KVM: x86: Skip IOMMU IRTE updates if there's no old or new vCPU being targeted

Don't "reconfigure" an IRTE into host controlled mode when it's already in
the state, i.e. if KVM's GSI routing changes but the IRQ wasn't and still
isn't being posted to a vCPU.

Link: https://lore.kernel.org/r/20250611224604.313496-37-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/irq.c