xref: /linux/tools/perf/pmu-events/arch/riscv/riscv-sbi-firmware.json (revision 24168c5e6dfbdd5b414f048f47f75d64533296ca)
1[
2  {
3    "PublicDescription": "Misaligned load trap",
4    "ConfigCode": "0x8000000000000000",
5    "EventName": "FW_MISALIGNED_LOAD",
6    "BriefDescription": "Misaligned load trap event"
7  },
8  {
9    "PublicDescription": "Misaligned store trap",
10    "ConfigCode": "0x8000000000000001",
11    "EventName": "FW_MISALIGNED_STORE",
12    "BriefDescription": "Misaligned store trap event"
13  },
14  {
15    "PublicDescription": "Load access trap",
16    "ConfigCode": "0x8000000000000002",
17    "EventName": "FW_ACCESS_LOAD",
18    "BriefDescription": "Load access trap event"
19  },
20  {
21    "PublicDescription": "Store access trap",
22    "ConfigCode": "0x8000000000000003",
23    "EventName": "FW_ACCESS_STORE",
24    "BriefDescription": "Store access trap event"
25  },
26  {
27    "PublicDescription": "Illegal instruction trap",
28    "ConfigCode": "0x8000000000000004",
29    "EventName": "FW_ILLEGAL_INSN",
30    "BriefDescription": "Illegal instruction trap event"
31  },
32  {
33    "PublicDescription": "Set timer event",
34    "ConfigCode": "0x8000000000000005",
35    "EventName": "FW_SET_TIMER",
36    "BriefDescription": "Set timer event"
37  },
38  {
39    "PublicDescription": "Sent IPI to other HART event",
40    "ConfigCode": "0x8000000000000006",
41    "EventName": "FW_IPI_SENT",
42    "BriefDescription": "Sent IPI to other HART event"
43  },
44  {
45    "PublicDescription": "Received IPI from other HART event",
46    "ConfigCode": "0x8000000000000007",
47    "EventName": "FW_IPI_RECEIVED",
48    "BriefDescription": "Received IPI from other HART event"
49  },
50  {
51    "PublicDescription": "Sent FENCE.I request to other HART event",
52    "ConfigCode": "0x8000000000000008",
53    "EventName": "FW_FENCE_I_SENT",
54    "BriefDescription": "Sent FENCE.I request to other HART event"
55  },
56  {
57    "PublicDescription": "Received FENCE.I request from other HART event",
58    "ConfigCode": "0x8000000000000009",
59    "EventName": "FW_FENCE_I_RECEIVED",
60    "BriefDescription": "Received FENCE.I request from other HART event"
61  },
62  {
63    "PublicDescription": "Sent SFENCE.VMA request to other HART event",
64    "ConfigCode": "0x800000000000000a",
65    "EventName": "FW_SFENCE_VMA_SENT",
66    "BriefDescription": "Sent SFENCE.VMA request to other HART event"
67  },
68  {
69    "PublicDescription": "Received SFENCE.VMA request from other HART event",
70    "ConfigCode": "0x800000000000000b",
71    "EventName": "FW_SFENCE_VMA_RECEIVED",
72    "BriefDescription": "Received SFENCE.VMA request from other HART event"
73  },
74  {
75    "PublicDescription": "Sent SFENCE.VMA with ASID request to other HART event",
76    "ConfigCode": "0x800000000000000c",
77    "EventName": "FW_SFENCE_VMA_RECEIVED",
78    "BriefDescription": "Sent SFENCE.VMA with ASID request to other HART event"
79  },
80  {
81    "PublicDescription": "Received SFENCE.VMA with ASID request from other HART event",
82    "ConfigCode": "0x800000000000000d",
83    "EventName": "FW_SFENCE_VMA_ASID_RECEIVED",
84    "BriefDescription": "Received SFENCE.VMA with ASID request from other HART event"
85  },
86  {
87    "PublicDescription": "Sent HFENCE.GVMA request to other HART event",
88    "ConfigCode": "0x800000000000000e",
89    "EventName": "FW_HFENCE_GVMA_SENT",
90    "BriefDescription": "Sent HFENCE.GVMA request to other HART event"
91  },
92  {
93    "PublicDescription": "Received HFENCE.GVMA request from other HART event",
94    "ConfigCode": "0x800000000000000f",
95    "EventName": "FW_HFENCE_GVMA_RECEIVED",
96    "BriefDescription": "Received HFENCE.GVMA request from other HART event"
97  },
98  {
99    "PublicDescription": "Sent HFENCE.GVMA with VMID request to other HART event",
100    "ConfigCode": "0x8000000000000010",
101    "EventName": "FW_HFENCE_GVMA_VMID_SENT",
102    "BriefDescription": "Sent HFENCE.GVMA with VMID request to other HART event"
103  },
104  {
105    "PublicDescription": "Received HFENCE.GVMA with VMID request from other HART event",
106    "ConfigCode": "0x8000000000000011",
107    "EventName": "FW_HFENCE_GVMA_VMID_RECEIVED",
108    "BriefDescription": "Received HFENCE.GVMA with VMID request from other HART event"
109  },
110  {
111    "PublicDescription": "Sent HFENCE.VVMA request to other HART event",
112    "ConfigCode": "0x8000000000000012",
113    "EventName": "FW_HFENCE_VVMA_SENT",
114    "BriefDescription": "Sent HFENCE.VVMA request to other HART event"
115  },
116  {
117    "PublicDescription": "Received HFENCE.VVMA request from other HART event",
118    "ConfigCode": "0x8000000000000013",
119    "EventName": "FW_HFENCE_VVMA_RECEIVED",
120    "BriefDescription": "Received HFENCE.VVMA request from other HART event"
121  },
122  {
123    "PublicDescription": "Sent HFENCE.VVMA with ASID request to other HART event",
124    "ConfigCode": "0x8000000000000014",
125    "EventName": "FW_HFENCE_VVMA_ASID_SENT",
126    "BriefDescription": "Sent HFENCE.VVMA with ASID request to other HART event"
127  },
128  {
129    "PublicDescription": "Received HFENCE.VVMA with ASID request from other HART event",
130    "ConfigCode": "0x8000000000000015",
131    "EventName": "FW_HFENCE_VVMA_ASID_RECEIVED",
132    "BriefDescription": "Received HFENCE.VVMA with ASID request from other HART event"
133  }
134]
135