Re: [PATCH] KVM: x86: Replace delivery mode TODO with WARN_ON_ONCE

From: Sean Christopherson

Date: Fri Jul 31 2026 - 16:17:30 EST


On Wed, 15 Jul 2026 14:03:40 +0200, Tim Wiederhake wrote:
> The default case in __apic_accept_irq() has carried a printk("TODO:
> unsupported delivery mode") since the original LAPIC emulation was
> introduced in commit 97222cc83163 ("KVM: Emulate local APIC in
> kernel").
>
> The switch now handles all eight delivery modes defined by the x86
> architecture and is always constrained to the three-bit field
> defined by the architecture: Either by masking with APIC_MODE_MASK,
> by three-bit bitfield widths in the IOAPIC and MSI structs, or by
> using APIC_DM_* constants directly.
>
> [...]

Applied to kvm-x86 misc, thanks!

[1/1] KVM: x86: Replace delivery mode TODO with WARN_ON_ONCE
https://github.com/kvm-x86/linux/commit/0c5fb7bc6177

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