]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: PPC: Book3S HV: Add H_VIRT mapping for tracing exits
authorGautam Menghani <gautam@linux.ibm.com>
Fri, 16 May 2025 12:12:24 +0000 (17:42 +0530)
committerMadhavan Srinivasan <maddy@linux.ibm.com>
Mon, 23 Jun 2025 04:28:06 +0000 (09:58 +0530)
commitc8346079cd962b61026ed620ea46830a58ca6707
tree15f5563b69e2d5eed5197b37cd665924743a7d5f
parent52d4639d689059857b3d0494928dd5878cbdc395
KVM: PPC: Book3S HV: Add H_VIRT mapping for tracing exits

The macro kvm_trace_symbol_exit is used for providing the mappings
for the trap vectors and their names. Add mapping for H_VIRT so that
trap reason is displayed as string instead of a vector number when using
the kvm_guest_exit tracepoint.

Signed-off-by: Gautam Menghani <gautam@linux.ibm.com>
Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20250516121225.276466-1-gautam@linux.ibm.com
arch/powerpc/kvm/trace_book3s.h