Re: [PATCH v3 0/2] KVM: x86: Suppress false positives on "lost" IRQs

Sean Christopherson <[email protected]> Fri, 31 Jul 2026 13:09:54 -0700
Newsgroups org.kernel.vger.kvm,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
On Fri, 24 Jul 2026 10:34:23 -0700, Sean Christopherson wrote:
> Don't WARN on "lost" IRQs if the VM has an in-kernel PIC or Xen emulation is
> enabled, as vPIC and Xen emulation have guest-controllable and/or VM-wide IRQs
> that can legitimately be consumed/deasserted without holding the vCPU's mutex.
> 
> v3:
>  - Add a helper to weed out the problematic cases.
>  - WARN in the "else" path so that there's only a single conditional branch
>    in the happy path.
>  - Exempt Xen. [Sashiko]
> 
> [...]

Applied to kvm-x86 misc, thanks!

[1/2] KVM: x86: Don't WARN if IRQ disappears because it was cleared from the PIC
      https://github.com/kvm-x86/linux/commit/681fb81a4171
[2/2] KVM: x86: Don't WARN if IRQ disappears when Xen emulation is enabled.
      https://github.com/kvm-x86/linux/commit/4f05a3337d7b

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