]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: x86: Move posted interrupt tracepoint to common code
authorSean Christopherson <seanjc@google.com>
Wed, 11 Jun 2025 22:45:32 +0000 (15:45 -0700)
committerSean Christopherson <seanjc@google.com>
Mon, 23 Jun 2025 16:50:30 +0000 (09:50 -0700)
commitc5af31698d719acf35ec3e3a3610a7c92dac0e6e
treed4dc0baf146072e28611fa8ff7a0cef7ccc2801e
parentcf04ec393ed08b3d0566f0735675639732dca23a
KVM: x86: Move posted interrupt tracepoint to common code

Move the pi_irte_update tracepoint to common x86, and call it whenever the
IRTE is modified.  Tracing only the modifications that result in an IRQ
being posted to a vCPU makes the tracepoint useless for debugging.

Drop the vendor specific address; plumbing that into common code isn't
worth the trouble, as the address is meaningless without a whole pile of
other information that isn't provided in any tracepoint.

Link: https://lore.kernel.org/r/20250611224604.313496-31-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/irq.c
arch/x86/kvm/svm/avic.c
arch/x86/kvm/trace.h
arch/x86/kvm/vmx/posted_intr.c
arch/x86/kvm/x86.c