diff options
| author | Tim Wiederhake <twiederh@redhat.com> | 2026-07-15 14:03:40 +0200 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-07-27 12:43:59 -0700 |
| commit | 0c5fb7bc6177b8903196dcb3f4b211d51bbd0ae6 (patch) | |
| tree | 94635ec72799c41271fcf01d4be00fe52cb35e4e /scripts/git.orderFile | |
| parent | e43a21553ac8080af40a494adf647d5dc7e685d5 (diff) | |
| download | linux-0c5fb7bc6177b8903196dcb3f4b211d51bbd0ae6.tar.gz linux-0c5fb7bc6177b8903196dcb3f4b211d51bbd0ae6.zip | |
KVM: x86: Replace delivery mode TODO with WARN_ON_ONCE
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.
Replace the unreachable printk with WARN_ON_ONCE(1) to match the
existing pattern for impossible defaults elsewhere in the same file.
Signed-off-by: Tim Wiederhake <twiederh@redhat.com>
Link: https://patch.msgid.link/20260715120341.2661873-1-twiederh@redhat.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/git.orderFile')
0 files changed, 0 insertions, 0 deletions
