67e949b4c78954b2a95babe192f815a0315ca229
[platform/kernel/linux-starfive.git] / tools / perf / pmu-events / arch / x86 / meteorlake / memory.json
1 [
2     {
3         "BriefDescription": "Cycles while L3 cache miss demand load is outstanding.",
4         "CounterMask": "2",
5         "EventCode": "0xa3",
6         "EventName": "CYCLE_ACTIVITY.CYCLES_L3_MISS",
7         "SampleAfterValue": "1000003",
8         "UMask": "0x2",
9         "Unit": "cpu_core"
10     },
11     {
12         "BriefDescription": "Execution stalls while L3 cache miss demand load is outstanding.",
13         "CounterMask": "6",
14         "EventCode": "0xa3",
15         "EventName": "CYCLE_ACTIVITY.STALLS_L3_MISS",
16         "SampleAfterValue": "1000003",
17         "UMask": "0x6",
18         "Unit": "cpu_core"
19     },
20     {
21         "BriefDescription": "Counts the number of cycles that the head (oldest load) of the load buffer is stalled due to any number of reasons, including an L1 miss, WCB full, pagewalk, store address block or store data block, on a load that retires.",
22         "EventCode": "0x05",
23         "EventName": "LD_HEAD.ANY_AT_RET",
24         "SampleAfterValue": "1000003",
25         "UMask": "0xff",
26         "Unit": "cpu_atom"
27     },
28     {
29         "BriefDescription": "Counts the number of cycles that the head (oldest load) of the load buffer is stalled due to a core bound stall including a store address match, a DTLB miss or a page walk that detains the load from retiring.",
30         "EventCode": "0x05",
31         "EventName": "LD_HEAD.L1_BOUND_AT_RET",
32         "SampleAfterValue": "1000003",
33         "UMask": "0xf4",
34         "Unit": "cpu_atom"
35     },
36     {
37         "BriefDescription": "Counts the number of cycles that the head (oldest load) of the load buffer and retirement are both stalled due to a DL1 miss.",
38         "EventCode": "0x05",
39         "EventName": "LD_HEAD.L1_MISS_AT_RET",
40         "SampleAfterValue": "1000003",
41         "UMask": "0x81",
42         "Unit": "cpu_atom"
43     },
44     {
45         "BriefDescription": "Counts the number of cycles that the head (oldest load) of the load buffer and retirement are both stalled due to other block cases.",
46         "EventCode": "0x05",
47         "EventName": "LD_HEAD.OTHER_AT_RET",
48         "PublicDescription": "Counts the number of cycles that the head (oldest load) of the load buffer and retirement are both stalled due to other block cases such as pipeline conflicts, fences, etc.",
49         "SampleAfterValue": "1000003",
50         "UMask": "0xc0",
51         "Unit": "cpu_atom"
52     },
53     {
54         "BriefDescription": "Counts the number of cycles that the head (oldest load) of the load buffer and retirement are both stalled due to a pagewalk.",
55         "EventCode": "0x05",
56         "EventName": "LD_HEAD.PGWALK_AT_RET",
57         "SampleAfterValue": "1000003",
58         "UMask": "0xa0",
59         "Unit": "cpu_atom"
60     },
61     {
62         "BriefDescription": "Counts the number of cycles that the head (oldest load) of the load buffer and retirement are both stalled due to a store address match.",
63         "EventCode": "0x05",
64         "EventName": "LD_HEAD.ST_ADDR_AT_RET",
65         "SampleAfterValue": "1000003",
66         "UMask": "0x84",
67         "Unit": "cpu_atom"
68     },
69     {
70         "BriefDescription": "Execution stalls while L1 cache miss demand load is outstanding.",
71         "CounterMask": "3",
72         "EventCode": "0x47",
73         "EventName": "MEMORY_ACTIVITY.STALLS_L1D_MISS",
74         "SampleAfterValue": "1000003",
75         "UMask": "0x3",
76         "Unit": "cpu_core"
77     },
78     {
79         "BriefDescription": "Execution stalls while L2 cache miss demand cacheable load request is outstanding.",
80         "CounterMask": "5",
81         "EventCode": "0x47",
82         "EventName": "MEMORY_ACTIVITY.STALLS_L2_MISS",
83         "PublicDescription": "Execution stalls while L2 cache miss demand cacheable load request is outstanding (will not count for uncacheable demand requests e.g. bus lock).",
84         "SampleAfterValue": "1000003",
85         "UMask": "0x5",
86         "Unit": "cpu_core"
87     },
88     {
89         "BriefDescription": "Execution stalls while L3 cache miss demand cacheable load request is outstanding.",
90         "CounterMask": "9",
91         "EventCode": "0x47",
92         "EventName": "MEMORY_ACTIVITY.STALLS_L3_MISS",
93         "PublicDescription": "Execution stalls while L3 cache miss demand cacheable load request is outstanding (will not count for uncacheable demand requests e.g. bus lock).",
94         "SampleAfterValue": "1000003",
95         "UMask": "0x9",
96         "Unit": "cpu_core"
97     },
98     {
99         "BriefDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 128 cycles.",
100         "Data_LA": "1",
101         "EventCode": "0xcd",
102         "EventName": "MEM_TRANS_RETIRED.LOAD_LATENCY_GT_128",
103         "MSRIndex": "0x3F6",
104         "MSRValue": "0x80",
105         "PEBS": "2",
106         "PublicDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 128 cycles.  Reported latency may be longer than just the memory latency.",
107         "SampleAfterValue": "1009",
108         "UMask": "0x1",
109         "Unit": "cpu_core"
110     },
111     {
112         "BriefDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 16 cycles.",
113         "Data_LA": "1",
114         "EventCode": "0xcd",
115         "EventName": "MEM_TRANS_RETIRED.LOAD_LATENCY_GT_16",
116         "MSRIndex": "0x3F6",
117         "MSRValue": "0x10",
118         "PEBS": "2",
119         "PublicDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 16 cycles.  Reported latency may be longer than just the memory latency.",
120         "SampleAfterValue": "20011",
121         "UMask": "0x1",
122         "Unit": "cpu_core"
123     },
124     {
125         "BriefDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 256 cycles.",
126         "Data_LA": "1",
127         "EventCode": "0xcd",
128         "EventName": "MEM_TRANS_RETIRED.LOAD_LATENCY_GT_256",
129         "MSRIndex": "0x3F6",
130         "MSRValue": "0x100",
131         "PEBS": "2",
132         "PublicDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 256 cycles.  Reported latency may be longer than just the memory latency.",
133         "SampleAfterValue": "503",
134         "UMask": "0x1",
135         "Unit": "cpu_core"
136     },
137     {
138         "BriefDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 32 cycles.",
139         "Data_LA": "1",
140         "EventCode": "0xcd",
141         "EventName": "MEM_TRANS_RETIRED.LOAD_LATENCY_GT_32",
142         "MSRIndex": "0x3F6",
143         "MSRValue": "0x20",
144         "PEBS": "2",
145         "PublicDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 32 cycles.  Reported latency may be longer than just the memory latency.",
146         "SampleAfterValue": "100007",
147         "UMask": "0x1",
148         "Unit": "cpu_core"
149     },
150     {
151         "BriefDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 4 cycles.",
152         "Data_LA": "1",
153         "EventCode": "0xcd",
154         "EventName": "MEM_TRANS_RETIRED.LOAD_LATENCY_GT_4",
155         "MSRIndex": "0x3F6",
156         "MSRValue": "0x4",
157         "PEBS": "2",
158         "PublicDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 4 cycles.  Reported latency may be longer than just the memory latency.",
159         "SampleAfterValue": "100003",
160         "UMask": "0x1",
161         "Unit": "cpu_core"
162     },
163     {
164         "BriefDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 512 cycles.",
165         "Data_LA": "1",
166         "EventCode": "0xcd",
167         "EventName": "MEM_TRANS_RETIRED.LOAD_LATENCY_GT_512",
168         "MSRIndex": "0x3F6",
169         "MSRValue": "0x200",
170         "PEBS": "2",
171         "PublicDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 512 cycles.  Reported latency may be longer than just the memory latency.",
172         "SampleAfterValue": "101",
173         "UMask": "0x1",
174         "Unit": "cpu_core"
175     },
176     {
177         "BriefDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 64 cycles.",
178         "Data_LA": "1",
179         "EventCode": "0xcd",
180         "EventName": "MEM_TRANS_RETIRED.LOAD_LATENCY_GT_64",
181         "MSRIndex": "0x3F6",
182         "MSRValue": "0x40",
183         "PEBS": "2",
184         "PublicDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 64 cycles.  Reported latency may be longer than just the memory latency.",
185         "SampleAfterValue": "2003",
186         "UMask": "0x1",
187         "Unit": "cpu_core"
188     },
189     {
190         "BriefDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 8 cycles.",
191         "Data_LA": "1",
192         "EventCode": "0xcd",
193         "EventName": "MEM_TRANS_RETIRED.LOAD_LATENCY_GT_8",
194         "MSRIndex": "0x3F6",
195         "MSRValue": "0x8",
196         "PEBS": "2",
197         "PublicDescription": "Counts randomly selected loads when the latency from first dispatch to completion is greater than 8 cycles.  Reported latency may be longer than just the memory latency.",
198         "SampleAfterValue": "50021",
199         "UMask": "0x1",
200         "Unit": "cpu_core"
201     },
202     {
203         "BriefDescription": "Retired memory store access operations. A PDist event for PEBS Store Latency Facility.",
204         "Data_LA": "1",
205         "EventCode": "0xcd",
206         "EventName": "MEM_TRANS_RETIRED.STORE_SAMPLE",
207         "PEBS": "2",
208         "PublicDescription": "Counts Retired memory accesses with at least 1 store operation. This PEBS event is the precisely-distributed (PDist) trigger covering all stores uops for sampling by the PEBS Store Latency Facility. The facility is described in Intel SDM Volume 3 section 19.9.8",
209         "SampleAfterValue": "1000003",
210         "UMask": "0x2",
211         "Unit": "cpu_core"
212     },
213     {
214         "BriefDescription": "Counts misaligned loads that are 4K page splits.",
215         "EventCode": "0x13",
216         "EventName": "MISALIGN_MEM_REF.LOAD_PAGE_SPLIT",
217         "PEBS": "1",
218         "SampleAfterValue": "200003",
219         "UMask": "0x2",
220         "Unit": "cpu_atom"
221     },
222     {
223         "BriefDescription": "Counts misaligned stores that are 4K page splits.",
224         "EventCode": "0x13",
225         "EventName": "MISALIGN_MEM_REF.STORE_PAGE_SPLIT",
226         "PEBS": "1",
227         "SampleAfterValue": "200003",
228         "UMask": "0x4",
229         "Unit": "cpu_atom"
230     },
231     {
232         "BriefDescription": "Counts demand data read requests that miss the L3 cache.",
233         "EventCode": "0x21",
234         "EventName": "OFFCORE_REQUESTS.L3_MISS_DEMAND_DATA_RD",
235         "SampleAfterValue": "100003",
236         "UMask": "0x10",
237         "Unit": "cpu_core"
238     }
239 ]