]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: Move x86-only tracepoints to x86's trace.h
authorSean Christopherson <seanjc@google.com>
Wed, 11 Jun 2025 21:35:52 +0000 (14:35 -0700)
committerSean Christopherson <seanjc@google.com>
Fri, 20 Jun 2025 20:52:49 +0000 (13:52 -0700)
commit2c938850d9d18cbd6484a66588fac95d74d951fd
tree442433536ad670decfda0b6ff1e8364034350b82
parentcd9140ad8312234ec296d566a9d9d0b2b437ee7c
KVM: Move x86-only tracepoints to x86's trace.h

Move the I/O APIC tracepoints and trace_kvm_msi_set_irq() to x86, as
__KVM_HAVE_IOAPIC is just code for "x86", and trace_kvm_msi_set_irq()
isn't unique to I/O APIC emulation.

Opportunistically clean up the absurdly messy #includes in ioapic.c.

No functional change intended.

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