]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: x86: Drop guest-triggerable ASSERT()s on I/O APIC access alignment
authorSean Christopherson <seanjc@google.com>
Sat, 6 Dec 2025 00:43:06 +0000 (16:43 -0800)
committerSean Christopherson <seanjc@google.com>
Mon, 12 Jan 2026 17:31:39 +0000 (09:31 -0800)
commit9eabb2a5e499ec3e5a013157844335a487c7cb5e
treea971d35890c39dcb70794287a2310bcedba49717
parentca909f9ea8cb19032c9d9d7841a8e2395b6a9e8b
KVM: x86: Drop guest-triggerable ASSERT()s on I/O APIC access alignment

Drop the asserts on the guest-controlled address being 16-byte aligned
when emulating I/O APIC accesses, as the ASSERT()s are guest-triggerable
and ultimately pointless since KVM requires exact register matches, i.e.
will ultimately ignore unaligned accesses anyways.

Drop the ASSERT() definition itself now that all users are gone.

For all intents and purposes, no functional change intended.

Link: https://patch.msgid.link/20251206004311.479939-5-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/ioapic.c
arch/x86/kvm/ioapic.h