]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: VMX: WARN if VT-d Posted IRQs aren't possible when starting IRQ bypass
authorSean Christopherson <seanjc@google.com>
Wed, 11 Jun 2025 22:45:57 +0000 (15:45 -0700)
committerSean Christopherson <seanjc@google.com>
Mon, 23 Jun 2025 16:50:47 +0000 (09:50 -0700)
commitce9d54f41be03555f1b57cf9dc2a50c45f9f712e
treead01abdec4fce785886caad328d7176461302be6
parent77e1b8332d1d7aa786f7515e9bd4055def6a1e06
KVM: VMX: WARN if VT-d Posted IRQs aren't possible when starting IRQ bypass

WARN if KVM attempts to "start" IRQ bypass when VT-d Posted IRQs are
disabled, to make it obvious that the logic is a sanity check, and so that
a bug related to nr_possible_bypass_irqs is more like to cause noisy
failures, e.g. so that KVM doesn't silently fail to wake blocking vCPUs.

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