]> Gentwo Git Trees - linux/.git/commit
KVM: x86: Drop semi-arbitrary restrictions on IPI type in fastpath
authorSean Christopherson <seanjc@google.com>
Tue, 5 Aug 2025 19:05:12 +0000 (12:05 -0700)
committerSean Christopherson <seanjc@google.com>
Tue, 19 Aug 2025 18:59:33 +0000 (11:59 -0700)
commitaeeb4c7fff525e0fd71ec28162b713b8cb1ec943
treef83862466cd5328e15fcb86afd74219668185be0
parent777414340085711cafd3807a72c531107c0ff7f6
KVM: x86: Drop semi-arbitrary restrictions on IPI type in fastpath

Drop the restrictions on fastpath IPIs only working for fixed IRQs with a
physical destination now that the fastpath is explicitly limited to "fast"
delivery.  Limiting delivery to a single physical APIC ID guarantees only
one vCPU will receive the event, but that isn't necessary "fast", e.g. if
the targeted vCPU is the last of 4096 vCPUs.  And logical destination mode
or shorthand (to self) can also be fast, e.g. if only a few vCPUs are
being targeted.  Lastly, there's nothing inherently slow about delivering
an NMI, INIT, SIPI, SMI, etc., i.e. there's no reason to artificially
limit fastpath delivery to fixed vector IRQs.

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