]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: x86: Rename irqchip_kernel() to irqchip_full()
authorSean Christopherson <seanjc@google.com>
Wed, 11 Jun 2025 21:35:46 +0000 (14:35 -0700)
committerSean Christopherson <seanjc@google.com>
Fri, 20 Jun 2025 20:52:45 +0000 (13:52 -0700)
commitc5a701955e2de084fdd0ad5edfed578389eae5ac
treed8d69c4ee6c2debed09d15f0bebfc055d2a4170b
parentb771b1616ff89d7441e5889b84e444c48a7676f0
KVM: x86: Rename irqchip_kernel() to irqchip_full()

Rename irqchip_kernel() to irqchip_full(), as "kernel" is very ambiguous
due to the existence of split IRQ chip support, where only some of the
"irqchip" is in emulated by the kernel/KVM.  E.g. irqchip_kernel() often
gets confused with irqchip_in_kernel().

Opportunistically hoist the definition up in irq.h so that it's
co-located with other "full" irqchip code in anticipation of wrapping it
all with a Kconfig/#ifdef.

No functional change intended.

Suggested-by: Paolo Bonzini <pbonzini@redhat.com>
Acked-by: Kai Huang <kai.huang@intel.com>
Link: https://lore.kernel.org/r/20250611213557.294358-8-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/ioapic.h
arch/x86/kvm/irq.c
arch/x86/kvm/irq.h
arch/x86/kvm/irq_comm.c
arch/x86/kvm/x86.c