1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef ARCH_PERF_BOOK3S_HV_EXITS_H
3 #define ARCH_PERF_BOOK3S_HV_EXITS_H
4 
5 /*
6  * PowerPC Interrupt vectors : exit code to name mapping
7  */
8 
9 #define kvm_trace_symbol_exit \
10 	{0x0,	"RETURN_TO_HOST"}, \
11 	{0x100, "SYSTEM_RESET"}, \
12 	{0x200, "MACHINE_CHECK"}, \
13 	{0x300, "DATA_STORAGE"}, \
14 	{0x380, "DATA_SEGMENT"}, \
15 	{0x400, "INST_STORAGE"}, \
16 	{0x480, "INST_SEGMENT"}, \
17 	{0x500, "EXTERNAL"}, \
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