xref: /openbmc/linux/tools/perf/pmu-events/arch/arm64/ampere/emag/cache.json (revision 03ab8e6297acd1bc0eedaa050e2a1635c576fd11)
1d35c595bSSean V Kelley[
2d35c595bSSean V Kelley    {
3a44e4f3aSJames Clark        "ArchStdEvent": "L1D_CACHE_RD"
4d35c595bSSean V Kelley    },
5d35c595bSSean V Kelley    {
6a44e4f3aSJames Clark        "ArchStdEvent": "L1D_CACHE_WR"
7d35c595bSSean V Kelley    },
8d35c595bSSean V Kelley    {
9a44e4f3aSJames Clark        "ArchStdEvent": "L1D_CACHE_REFILL_RD"
10d35c595bSSean V Kelley    },
11d35c595bSSean V Kelley    {
12a44e4f3aSJames Clark        "ArchStdEvent": "L1D_CACHE_INVAL"
13d35c595bSSean V Kelley    },
14d35c595bSSean V Kelley    {
15a44e4f3aSJames Clark        "ArchStdEvent": "L1D_TLB_REFILL_RD"
16d35c595bSSean V Kelley    },
17d35c595bSSean V Kelley    {
18a44e4f3aSJames Clark        "ArchStdEvent": "L1D_TLB_REFILL_WR"
19d35c595bSSean V Kelley    },
20d35c595bSSean V Kelley    {
21a44e4f3aSJames Clark        "ArchStdEvent": "L2D_CACHE_RD"
22d35c595bSSean V Kelley    },
23d35c595bSSean V Kelley    {
24a44e4f3aSJames Clark        "ArchStdEvent": "L2D_CACHE_WR"
25d35c595bSSean V Kelley    },
26d35c595bSSean V Kelley    {
27a44e4f3aSJames Clark        "ArchStdEvent": "L2D_CACHE_REFILL_RD"
28d35c595bSSean V Kelley    },
29d35c595bSSean V Kelley    {
30a44e4f3aSJames Clark        "ArchStdEvent": "L2D_CACHE_REFILL_WR"
31d35c595bSSean V Kelley    },
32d35c595bSSean V Kelley    {
33a44e4f3aSJames Clark        "ArchStdEvent": "L2D_CACHE_WB_VICTIM"
34d35c595bSSean V Kelley    },
35d35c595bSSean V Kelley    {
36a44e4f3aSJames Clark        "ArchStdEvent": "L2D_CACHE_WB_CLEAN"
37d35c595bSSean V Kelley    },
38d35c595bSSean V Kelley    {
39a44e4f3aSJames Clark        "ArchStdEvent": "L2D_CACHE_INVAL"
40d35c595bSSean V Kelley    },
41d35c595bSSean V Kelley    {
42*08f3e087SJames Clark        "ArchStdEvent": "L1I_CACHE_REFILL"
43d35c595bSSean V Kelley    },
44d35c595bSSean V Kelley    {
45*08f3e087SJames Clark        "ArchStdEvent": "L1I_TLB_REFILL"
46d35c595bSSean V Kelley    },
47d35c595bSSean V Kelley    {
48*08f3e087SJames Clark        "ArchStdEvent": "L1D_CACHE_REFILL"
49d35c595bSSean V Kelley    },
50d35c595bSSean V Kelley    {
51*08f3e087SJames Clark        "ArchStdEvent": "L1D_CACHE"
52d35c595bSSean V Kelley    },
53d35c595bSSean V Kelley    {
54*08f3e087SJames Clark        "ArchStdEvent": "L1D_TLB_REFILL"
55d35c595bSSean V Kelley    },
56d35c595bSSean V Kelley    {
57*08f3e087SJames Clark        "ArchStdEvent": "L1I_CACHE"
58d35c595bSSean V Kelley    },
59d35c595bSSean V Kelley    {
60*08f3e087SJames Clark        "ArchStdEvent": "L2D_CACHE"
61d35c595bSSean V Kelley    },
62d35c595bSSean V Kelley    {
63*08f3e087SJames Clark        "ArchStdEvent": "L2D_CACHE_REFILL"
64d35c595bSSean V Kelley    },
65d35c595bSSean V Kelley    {
66*08f3e087SJames Clark        "ArchStdEvent": "L2D_CACHE_WB"
67d35c595bSSean V Kelley    },
68d35c595bSSean V Kelley    {
69d02d5dc8SJohn Garry        "PublicDescription": "This event counts any load or store operation which accesses the data L1 TLB",
70d02d5dc8SJohn Garry        "ArchStdEvent": "L1D_TLB",
71d35c595bSSean V Kelley        "BriefDescription": "L1D TLB access"
72d35c595bSSean V Kelley    },
73d35c595bSSean V Kelley    {
74d02d5dc8SJohn Garry        "PublicDescription": "This event counts any instruction fetch which accesses the instruction L1 TLB",
75*08f3e087SJames Clark        "ArchStdEvent": "L1I_TLB"
76d35c595bSSean V Kelley    },
77d35c595bSSean V Kelley    {
78d35c595bSSean V Kelley        "PublicDescription": "Level 2 access to data TLB that caused a page table walk. This event counts on any data access which causes L2D_TLB_REFILL to count",
79d35c595bSSean V Kelley        "EventCode": "0x34",
80d35c595bSSean V Kelley        "EventName": "L2D_TLB_ACCESS",
81d35c595bSSean V Kelley        "BriefDescription": "L2D TLB access"
82d35c595bSSean V Kelley    },
83d35c595bSSean V Kelley    {
84d35c595bSSean V Kelley        "PublicDescription": "Level 2 access to instruciton TLB that caused a page table walk. This event counts on any instruciton access which causes L2I_TLB_REFILL to count",
85d35c595bSSean V Kelley        "EventCode": "0x35",
86d35c595bSSean V Kelley        "EventName": "L2I_TLB_ACCESS",
872bf797beSJohn Garry        "BriefDescription": "L2I TLB access"
88d35c595bSSean V Kelley    },
89d35c595bSSean V Kelley    {
90d35c595bSSean V Kelley        "PublicDescription": "Branch target buffer misprediction",
91d35c595bSSean V Kelley        "EventCode": "0x102",
92d35c595bSSean V Kelley        "EventName": "BTB_MIS_PRED",
93d35c595bSSean V Kelley        "BriefDescription": "BTB misprediction"
94d35c595bSSean V Kelley    },
95d35c595bSSean V Kelley    {
96d35c595bSSean V Kelley        "PublicDescription": "ITB miss",
97d35c595bSSean V Kelley        "EventCode": "0x103",
98d35c595bSSean V Kelley        "EventName": "ITB_MISS",
99d35c595bSSean V Kelley        "BriefDescription": "ITB miss"
100d35c595bSSean V Kelley    },
101d35c595bSSean V Kelley    {
102d35c595bSSean V Kelley        "PublicDescription": "DTB miss",
103d35c595bSSean V Kelley        "EventCode": "0x104",
104d35c595bSSean V Kelley        "EventName": "DTB_MISS",
105d35c595bSSean V Kelley        "BriefDescription": "DTB miss"
106d35c595bSSean V Kelley    },
107d35c595bSSean V Kelley    {
108d35c595bSSean V Kelley        "PublicDescription": "Level 1 data cache late miss",
109d35c595bSSean V Kelley        "EventCode": "0x105",
110d35c595bSSean V Kelley        "EventName": "L1D_CACHE_LATE_MISS",
111d35c595bSSean V Kelley        "BriefDescription": "L1D cache late miss"
112d35c595bSSean V Kelley    },
113d35c595bSSean V Kelley    {
114d35c595bSSean V Kelley        "PublicDescription": "Level 1 data cache prefetch request",
115d35c595bSSean V Kelley        "EventCode": "0x106",
116d35c595bSSean V Kelley        "EventName": "L1D_CACHE_PREFETCH",
117d35c595bSSean V Kelley        "BriefDescription": "L1D cache prefetch"
118d35c595bSSean V Kelley    },
119d35c595bSSean V Kelley    {
120d35c595bSSean V Kelley        "PublicDescription": "Level 2 data cache prefetch request",
121d35c595bSSean V Kelley        "EventCode": "0x107",
122d35c595bSSean V Kelley        "EventName": "L2D_CACHE_PREFETCH",
123d35c595bSSean V Kelley        "BriefDescription": "L2D cache prefetch"
124d35c595bSSean V Kelley    },
125d35c595bSSean V Kelley    {
126d35c595bSSean V Kelley        "PublicDescription": "Level 1 stage 2 TLB refill",
127d35c595bSSean V Kelley        "EventCode": "0x111",
128d35c595bSSean V Kelley        "EventName": "L1_STAGE2_TLB_REFILL",
129d35c595bSSean V Kelley        "BriefDescription": "L1 stage 2 TLB refill"
130d35c595bSSean V Kelley    },
131d35c595bSSean V Kelley    {
132d35c595bSSean V Kelley        "PublicDescription": "Page walk cache level-0 stage-1 hit",
133d35c595bSSean V Kelley        "EventCode": "0x112",
134d35c595bSSean V Kelley        "EventName": "PAGE_WALK_L0_STAGE1_HIT",
135d35c595bSSean V Kelley        "BriefDescription": "Page walk, L0 stage-1 hit"
136d35c595bSSean V Kelley    },
137d35c595bSSean V Kelley    {
138d35c595bSSean V Kelley        "PublicDescription": "Page walk cache level-1 stage-1 hit",
139d35c595bSSean V Kelley        "EventCode": "0x113",
140d35c595bSSean V Kelley        "EventName": "PAGE_WALK_L1_STAGE1_HIT",
141d35c595bSSean V Kelley        "BriefDescription": "Page walk, L1 stage-1 hit"
142d35c595bSSean V Kelley    },
143d35c595bSSean V Kelley    {
144d35c595bSSean V Kelley        "PublicDescription": "Page walk cache level-2 stage-1 hit",
145d35c595bSSean V Kelley        "EventCode": "0x114",
146d35c595bSSean V Kelley        "EventName": "PAGE_WALK_L2_STAGE1_HIT",
147d35c595bSSean V Kelley        "BriefDescription": "Page walk, L2 stage-1 hit"
148d35c595bSSean V Kelley    },
149d35c595bSSean V Kelley    {
150d35c595bSSean V Kelley        "PublicDescription": "Page walk cache level-1 stage-2 hit",
151d35c595bSSean V Kelley        "EventCode": "0x115",
152d35c595bSSean V Kelley        "EventName": "PAGE_WALK_L1_STAGE2_HIT",
153d35c595bSSean V Kelley        "BriefDescription": "Page walk, L1 stage-2 hit"
154d35c595bSSean V Kelley    },
155d35c595bSSean V Kelley    {
156d35c595bSSean V Kelley        "PublicDescription": "Page walk cache level-2 stage-2 hit",
157d35c595bSSean V Kelley        "EventCode": "0x116",
158d35c595bSSean V Kelley        "EventName": "PAGE_WALK_L2_STAGE2_HIT",
159d35c595bSSean V Kelley        "BriefDescription": "Page walk, L2 stage-2 hit"
160a44e4f3aSJames Clark    }
161d35c595bSSean V Kelley]
162