xref: /linux/tools/perf/arch/powerpc/util/book3s_hv_exits.h (revision e5c86679d5e864947a52fb31e45a425dea3e7fa9)
1 #ifndef ARCH_PERF_BOOK3S_HV_EXITS_H
2 #define ARCH_PERF_BOOK3S_HV_EXITS_H
3 
4 /*
5  * PowerPC Interrupt vectors : exit code to name mapping
6  */
7 
8 #define kvm_trace_symbol_exit \
9 	{0x0,	"RETURN_TO_HOST"}, \
10 	{0x100, "SYSTEM_RESET"}, \
11 	{0x200, "MACHINE_CHECK"}, \
12 	{0x300, "DATA_STORAGE"}, \
13 	{0x380, "DATA_SEGMENT"}, \
14 	{0x400, "INST_STORAGE"}, \
15 	{0x480, "INST_SEGMENT"}, \
16 	{0x500, "EXTERNAL"}, \
17 	{0x501, "EXTERNAL_LEVEL"}, \
18 	{0x502, "EXTERNAL_HV"}, \
19 	{0x600, "ALIGNMENT"}, \
20 	{0x700, "PROGRAM"}, \
21 	{0x800, "FP_UNAVAIL"}, \
22 	{0x900, "DECREMENTER"}, \
23 	{0x980, "HV_DECREMENTER"}, \
24 	{0xc00, "SYSCALL"}, \
25 	{0xd00, "TRACE"}, \
26 	{0xe00, "H_DATA_STORAGE"}, \
27 	{0xe20, "H_INST_STORAGE"}, \
28 	{0xe40, "H_EMUL_ASSIST"}, \
29 	{0xf00, "PERFMON"}, \
30 	{0xf20, "ALTIVEC"}, \
31 	{0xf40, "VSX"}
32 
33 #endif
34