]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: x86: Move IRQ mask notifier infrastructure to I/O APIC emulation
authorSean Christopherson <seanjc@google.com>
Wed, 11 Jun 2025 21:35:56 +0000 (14:35 -0700)
committerSean Christopherson <seanjc@google.com>
Fri, 20 Jun 2025 20:52:52 +0000 (13:52 -0700)
commit37b1761fe89529a1531b971d4d869b4e6d345704
tree89c81fcb06ae9f41eeb6a2d222fdb98a4409849a
parent8fd2a6d43a10184f8edcc7adc0547e1871df6705
KVM: x86: Move IRQ mask notifier infrastructure to I/O APIC emulation

Move the IRQ mask logic to ioapic.c as KVM's only user is its in-kernel
I/O APIC emulation.  In addition to encapsulating more I/O APIC specific
code, trimming down irq_comm.c helps pave the way for removing it entirely.

Acked-by: Kai Huang <kai.huang@intel.com>
Link: https://lore.kernel.org/r/20250611213557.294358-18-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/i8254.h
arch/x86/kvm/i8259.c
arch/x86/kvm/ioapic.c
arch/x86/kvm/ioapic.h
arch/x86/kvm/irq_comm.c
arch/x86/kvm/x86.c