mirror of
https://github.com/torvalds/linux.git
synced 2026-11-07 06:17:02 +01:00
KVM: PPC: Book3S HV: Add missing mappings for tracing exits
The macro kvm_trace_symbol_exit is used for providing the mappings for the trap vectors and their names. Add mappings for H_FAC_UNAVAIL and RETURN_TO_HOST so that trap reasons are displayed as string instead of vector numbers when using the kvm_guest_exit tracepoint. Reviewed-by: Harsh Prateek Bora <harshpb@linux.ibm.com> Reviewed-by: Amit Machhiwal <amachhiw@linux.ibm.com> Reviewed-by: Vaibhav Jain (IBM) <vaibhav@linux.ibm.com> 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/20260512115724.59299-1-gautam@linux.ibm.com
This commit is contained in:
parent
644ffb0274
commit
bda1626184
|
|
@ -7,6 +7,7 @@
|
|||
*/
|
||||
|
||||
#define kvm_trace_symbol_exit \
|
||||
{0x0, "RETURN_TO_HOST"}, \
|
||||
{0x100, "SYSTEM_RESET"}, \
|
||||
{0x200, "MACHINE_CHECK"}, \
|
||||
{0x300, "DATA_STORAGE"}, \
|
||||
|
|
@ -28,6 +29,7 @@
|
|||
{0xea0, "H_VIRT"}, \
|
||||
{0xf00, "PERFMON"}, \
|
||||
{0xf20, "ALTIVEC"}, \
|
||||
{0xf40, "VSX"}
|
||||
{0xf40, "VSX"}, \
|
||||
{0xf80, "H_FAC_UNAVAIL"}
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user