xref: /linux/tools/perf/arch/powerpc/util/book3s_hv_exits.h (revision 3eb66e91a25497065c5322b1268cbc3953642227)
1*b2441318SGreg Kroah-Hartman /* SPDX-License-Identifier: GPL-2.0 */
2066d3593SHemant Kumar #ifndef ARCH_PERF_BOOK3S_HV_EXITS_H
3066d3593SHemant Kumar #define ARCH_PERF_BOOK3S_HV_EXITS_H
4066d3593SHemant Kumar 
5066d3593SHemant Kumar /*
6066d3593SHemant Kumar  * PowerPC Interrupt vectors : exit code to name mapping
7066d3593SHemant Kumar  */
8066d3593SHemant Kumar 
9066d3593SHemant Kumar #define kvm_trace_symbol_exit \
10066d3593SHemant Kumar 	{0x0,	"RETURN_TO_HOST"}, \
11066d3593SHemant Kumar 	{0x100, "SYSTEM_RESET"}, \
12066d3593SHemant Kumar 	{0x200, "MACHINE_CHECK"}, \
13066d3593SHemant Kumar 	{0x300, "DATA_STORAGE"}, \
14066d3593SHemant Kumar 	{0x380, "DATA_SEGMENT"}, \
15066d3593SHemant Kumar 	{0x400, "INST_STORAGE"}, \
16066d3593SHemant Kumar 	{0x480, "INST_SEGMENT"}, \
17066d3593SHemant Kumar 	{0x500, "EXTERNAL"}, \
18066d3593SHemant Kumar 	{0x502, "EXTERNAL_HV"}, \
19066d3593SHemant Kumar 	{0x600, "ALIGNMENT"}, \
20066d3593SHemant Kumar 	{0x700, "PROGRAM"}, \
21066d3593SHemant Kumar 	{0x800, "FP_UNAVAIL"}, \
22066d3593SHemant Kumar 	{0x900, "DECREMENTER"}, \
23066d3593SHemant Kumar 	{0x980, "HV_DECREMENTER"}, \
24066d3593SHemant Kumar 	{0xc00, "SYSCALL"}, \
25066d3593SHemant Kumar 	{0xd00, "TRACE"}, \
26066d3593SHemant Kumar 	{0xe00, "H_DATA_STORAGE"}, \
27066d3593SHemant Kumar 	{0xe20, "H_INST_STORAGE"}, \
28066d3593SHemant Kumar 	{0xe40, "H_EMUL_ASSIST"}, \
29066d3593SHemant Kumar 	{0xf00, "PERFMON"}, \
30066d3593SHemant Kumar 	{0xf20, "ALTIVEC"}, \
31066d3593SHemant Kumar 	{0xf40, "VSX"}
32066d3593SHemant Kumar 
33066d3593SHemant Kumar #endif
34