]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: x86: Isolate edge vs. level check in userspace I/O APIC route scanning
authorSean Christopherson <seanjc@google.com>
Tue, 4 Mar 2025 01:33:33 +0000 (17:33 -0800)
committerSean Christopherson <seanjc@google.com>
Thu, 24 Apr 2025 18:18:35 +0000 (11:18 -0700)
commitb1f7723a5a5b018f4bc3fb8e234510be7c44ad00
treec801eb4b5f953726b1a636fbc4aa04d3e806151e
parentd88bb2ded2efdc3857f0706da097261523aa78b2
KVM: x86: Isolate edge vs. level check in userspace I/O APIC route scanning

Extract and isolate the trigger mode check in kvm_scan_ioapic_routes() in
anticipation of moving destination matching logic to a common helper (for
userspace vs. in-kernel I/O APIC emulation).

No functional change intended.

Reviewed-by: Kai Huang <kai.huang@intel.com>
Link: https://lore.kernel.org/r/20250304013335.4155703-2-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/irq_comm.c