@@ -193,7 +193,6 @@ constexpr auto MSR_UNCORE_PMC4 = MSR_UNCORE_PMC0 + 4;
193
193
constexpr auto MSR_UNCORE_PMC5 = MSR_UNCORE_PMC0 + 5 ;
194
194
constexpr auto MSR_UNCORE_PMC6 = MSR_UNCORE_PMC0 + 6 ;
195
195
constexpr auto MSR_UNCORE_PMC7 = MSR_UNCORE_PMC0 + 7 ;
196
-
197
196
// Uncore event IDs
198
197
constexpr auto UNC_QMC_WRITES_FULL_ANY_EVTNR = 0x2F ;
199
198
constexpr auto UNC_QMC_WRITES_FULL_ANY_UMASK = 0x07 ;
@@ -214,90 +213,87 @@ constexpr auto UNC_QHL_REQUESTS_LOCAL_WRITES_UMASK = 0x20;
214
213
*/
215
214
216
215
// Beckton uncore event IDs
217
-
218
- #define U_MSR_PMON_GLOBAL_CTL (0x0C00 )
219
-
220
- #define MB0_MSR_PERF_GLOBAL_CTL (0x0CA0 )
221
- #define MB0_MSR_PMU_CNT_0 (0x0CB1 )
222
- #define MB0_MSR_PMU_CNT_CTL_0 (0x0CB0 )
223
- #define MB0_MSR_PMU_CNT_1 (0x0CB3 )
224
- #define MB0_MSR_PMU_CNT_CTL_1 (0x0CB2 )
225
- #define MB0_MSR_PMU_ZDP_CTL_FVC (0x0CAB )
226
-
227
-
228
- #define MB1_MSR_PERF_GLOBAL_CTL (0x0CE0 )
229
- #define MB1_MSR_PMU_CNT_0 (0x0CF1 )
230
- #define MB1_MSR_PMU_CNT_CTL_0 (0x0CF0 )
231
- #define MB1_MSR_PMU_CNT_1 (0x0CF3 )
232
- #define MB1_MSR_PMU_CNT_CTL_1 (0x0CF2 )
233
- #define MB1_MSR_PMU_ZDP_CTL_FVC (0x0CEB )
234
-
235
- #define BB0_MSR_PERF_GLOBAL_CTL (0x0C20 )
236
- #define BB0_MSR_PERF_CNT_1 (0x0C33 )
237
- #define BB0_MSR_PERF_CNT_CTL_1 (0x0C32 )
238
-
239
- #define BB1_MSR_PERF_GLOBAL_CTL (0x0C60 )
240
- #define BB1_MSR_PERF_CNT_1 (0x0C73 )
241
- #define BB1_MSR_PERF_CNT_CTL_1 (0x0C72 )
242
-
243
- #define R_MSR_PMON_CTL0 (0x0E10 )
244
- #define R_MSR_PMON_CTR0 (0x0E11 )
245
- #define R_MSR_PMON_CTL1 (0x0E12 )
246
- #define R_MSR_PMON_CTR1 (0x0E13 )
247
- #define R_MSR_PMON_CTL2 (0x0E14 )
248
- #define R_MSR_PMON_CTR2 (0x0E15 )
249
- #define R_MSR_PMON_CTL3 (0x0E16 )
250
- #define R_MSR_PMON_CTR3 (0x0E17 )
251
- #define R_MSR_PMON_CTL4 (0x0E18 )
252
- #define R_MSR_PMON_CTR4 (0x0E19 )
253
- #define R_MSR_PMON_CTL5 (0x0E1A )
254
- #define R_MSR_PMON_CTR5 (0x0E1B )
255
- #define R_MSR_PMON_CTL6 (0x0E1C )
256
- #define R_MSR_PMON_CTR6 (0x0E1D )
257
- #define R_MSR_PMON_CTL7 (0x0E1E )
258
- #define R_MSR_PMON_CTR7 (0x0E1F )
259
- #define R_MSR_PMON_CTL8 (0x0E30 )
260
- #define R_MSR_PMON_CTR8 (0x0E31 )
261
- #define R_MSR_PMON_CTL9 (0x0E32 )
262
- #define R_MSR_PMON_CTR9 (0x0E33 )
263
- #define R_MSR_PMON_CTL10 (0x0E34 )
264
- #define R_MSR_PMON_CTR10 (0x0E35 )
265
- #define R_MSR_PMON_CTL11 (0x0E36 )
266
- #define R_MSR_PMON_CTR11 (0x0E37 )
267
- #define R_MSR_PMON_CTL12 (0x0E38 )
268
- #define R_MSR_PMON_CTR12 (0x0E39 )
269
- #define R_MSR_PMON_CTL13 (0x0E3A )
270
- #define R_MSR_PMON_CTR13 (0x0E3B )
271
- #define R_MSR_PMON_CTL14 (0x0E3C )
272
- #define R_MSR_PMON_CTR14 (0x0E3D )
273
- #define R_MSR_PMON_CTL15 (0x0E3E )
274
- #define R_MSR_PMON_CTR15 (0x0E3F )
275
-
276
- #define R_MSR_PORT0_IPERF_CFG0 (0x0E04 )
277
- #define R_MSR_PORT1_IPERF_CFG0 (0x0E05 )
278
- #define R_MSR_PORT2_IPERF_CFG0 (0x0E06 )
279
- #define R_MSR_PORT3_IPERF_CFG0 (0x0E07 )
280
- #define R_MSR_PORT4_IPERF_CFG0 (0x0E08 )
281
- #define R_MSR_PORT5_IPERF_CFG0 (0x0E09 )
282
- #define R_MSR_PORT6_IPERF_CFG0 (0x0E0A )
283
- #define R_MSR_PORT7_IPERF_CFG0 (0x0E0B )
284
-
285
- #define R_MSR_PORT0_IPERF_CFG1 (0x0E24 )
286
- #define R_MSR_PORT1_IPERF_CFG1 (0x0E25 )
287
- #define R_MSR_PORT2_IPERF_CFG1 (0x0E26 )
288
- #define R_MSR_PORT3_IPERF_CFG1 (0x0E27 )
289
- #define R_MSR_PORT4_IPERF_CFG1 (0x0E28 )
290
- #define R_MSR_PORT5_IPERF_CFG1 (0x0E29 )
291
- #define R_MSR_PORT6_IPERF_CFG1 (0x0E2A )
292
- #define R_MSR_PORT7_IPERF_CFG1 (0x0E2B )
293
-
294
- #define R_MSR_PMON_GLOBAL_CTL_7_0 (0x0E00 )
295
- #define R_MSR_PMON_GLOBAL_CTL_15_8 (0x0E20 )
296
-
297
- #define W_MSR_PMON_GLOBAL_CTL (0xC80 )
298
- #define W_MSR_PMON_FIXED_CTR_CTL (0x395 )
299
- #define W_MSR_PMON_FIXED_CTR (0x394 )
300
-
216
+ constexpr auto U_MSR_PMON_GLOBAL_CTL = 0x0C00 ;
217
+
218
+ constexpr auto MB0_MSR_PERF_GLOBAL_CTL = 0x0CA0 ;
219
+ constexpr auto MB0_MSR_PMU_CNT_0 = 0x0CB1 ;
220
+ constexpr auto MB0_MSR_PMU_CNT_CTL_0 = 0x0CB0 ;
221
+ constexpr auto MB0_MSR_PMU_CNT_1 = 0x0CB3 ;
222
+ constexpr auto MB0_MSR_PMU_CNT_CTL_1 = 0x0CB2 ;
223
+ constexpr auto MB0_MSR_PMU_ZDP_CTL_FVC = 0x0CAB ;
224
+
225
+ constexpr auto MB1_MSR_PERF_GLOBAL_CTL = 0x0CE0 ;
226
+ constexpr auto MB1_MSR_PMU_CNT_0 = 0x0CF1 ;
227
+ constexpr auto MB1_MSR_PMU_CNT_CTL_0 = 0x0CF0 ;
228
+ constexpr auto MB1_MSR_PMU_CNT_1 = 0x0CF3 ;
229
+ constexpr auto MB1_MSR_PMU_CNT_CTL_1 = 0x0CF2 ;
230
+ constexpr auto MB1_MSR_PMU_ZDP_CTL_FVC = 0x0CEB ;
231
+
232
+ constexpr auto BB0_MSR_PERF_GLOBAL_CTL = 0x0C20 ;
233
+ constexpr auto BB0_MSR_PERF_CNT_1 = 0x0C33 ;
234
+ constexpr auto BB0_MSR_PERF_CNT_CTL_1 = 0x0C32 ;
235
+
236
+ constexpr auto BB1_MSR_PERF_GLOBAL_CTL = 0x0C60 ;
237
+ constexpr auto BB1_MSR_PERF_CNT_1 = 0x0C73 ;
238
+ constexpr auto BB1_MSR_PERF_CNT_CTL_1 = 0x0C72 ;
239
+
240
+ constexpr auto R_MSR_PMON_CTL0 = 0x0E10 ;
241
+ constexpr auto R_MSR_PMON_CTR0 = 0x0E11 ;
242
+ constexpr auto R_MSR_PMON_CTL1 = 0x0E12 ;
243
+ constexpr auto R_MSR_PMON_CTR1 = 0x0E13 ;
244
+ constexpr auto R_MSR_PMON_CTL2 = 0x0E14 ;
245
+ constexpr auto R_MSR_PMON_CTR2 = 0x0E15 ;
246
+ constexpr auto R_MSR_PMON_CTL3 = 0x0E16 ;
247
+ constexpr auto R_MSR_PMON_CTR3 = 0x0E17 ;
248
+ constexpr auto R_MSR_PMON_CTL4 = 0x0E18 ;
249
+ constexpr auto R_MSR_PMON_CTR4 = 0x0E19 ;
250
+ constexpr auto R_MSR_PMON_CTL5 = 0x0E1A ;
251
+ constexpr auto R_MSR_PMON_CTR5 = 0x0E1B ;
252
+ constexpr auto R_MSR_PMON_CTL6 = 0x0E1C ;
253
+ constexpr auto R_MSR_PMON_CTR6 = 0x0E1D ;
254
+ constexpr auto R_MSR_PMON_CTL7 = 0x0E1E ;
255
+ constexpr auto R_MSR_PMON_CTR7 = 0x0E1F ;
256
+ constexpr auto R_MSR_PMON_CTL8 = 0x0E30 ;
257
+ constexpr auto R_MSR_PMON_CTR8 = 0x0E31 ;
258
+ constexpr auto R_MSR_PMON_CTL9 = 0x0E32 ;
259
+ constexpr auto R_MSR_PMON_CTR9 = 0x0E33 ;
260
+ constexpr auto R_MSR_PMON_CTL10 = 0x0E34 ;
261
+ constexpr auto R_MSR_PMON_CTR10 = 0x0E35 ;
262
+ constexpr auto R_MSR_PMON_CTL11 = 0x0E36 ;
263
+ constexpr auto R_MSR_PMON_CTR11 = 0x0E37 ;
264
+ constexpr auto R_MSR_PMON_CTL12 = 0x0E38 ;
265
+ constexpr auto R_MSR_PMON_CTR12 = 0x0E39 ;
266
+ constexpr auto R_MSR_PMON_CTL13 = 0x0E3A ;
267
+ constexpr auto R_MSR_PMON_CTR13 = 0x0E3B ;
268
+ constexpr auto R_MSR_PMON_CTL14 = 0x0E3C ;
269
+ constexpr auto R_MSR_PMON_CTR14 = 0x0E3D ;
270
+ constexpr auto R_MSR_PMON_CTL15 = 0x0E3E ;
271
+ constexpr auto R_MSR_PMON_CTR15 = 0x0E3F ;
272
+
273
+ constexpr auto R_MSR_PORT0_IPERF_CFG0 = 0x0E04 ;
274
+ constexpr auto R_MSR_PORT1_IPERF_CFG0 = 0x0E05 ;
275
+ constexpr auto R_MSR_PORT2_IPERF_CFG0 = 0x0E06 ;
276
+ constexpr auto R_MSR_PORT3_IPERF_CFG0 = 0x0E07 ;
277
+ constexpr auto R_MSR_PORT4_IPERF_CFG0 = 0x0E08 ;
278
+ constexpr auto R_MSR_PORT5_IPERF_CFG0 = 0x0E09 ;
279
+ constexpr auto R_MSR_PORT6_IPERF_CFG0 = 0x0E0A ;
280
+ constexpr auto R_MSR_PORT7_IPERF_CFG0 = 0x0E0B ;
281
+
282
+ constexpr auto R_MSR_PORT0_IPERF_CFG1 = 0x0E24 ;
283
+ constexpr auto R_MSR_PORT1_IPERF_CFG1 = 0x0E25 ;
284
+ constexpr auto R_MSR_PORT2_IPERF_CFG1 = 0x0E26 ;
285
+ constexpr auto R_MSR_PORT3_IPERF_CFG1 = 0x0E27 ;
286
+ constexpr auto R_MSR_PORT4_IPERF_CFG1 = 0x0E28 ;
287
+ constexpr auto R_MSR_PORT5_IPERF_CFG1 = 0x0E29 ;
288
+ constexpr auto R_MSR_PORT6_IPERF_CFG1 = 0x0E2A ;
289
+ constexpr auto R_MSR_PORT7_IPERF_CFG1 = 0x0E2B ;
290
+
291
+ constexpr auto R_MSR_PMON_GLOBAL_CTL_7_0 = 0x0E00 ;
292
+ constexpr auto R_MSR_PMON_GLOBAL_CTL_15_8 = 0x0E20 ;
293
+
294
+ constexpr auto W_MSR_PMON_GLOBAL_CTL = 0xC80 ;
295
+ constexpr auto W_MSR_PMON_FIXED_CTR_CTL = 0x395 ;
296
+ constexpr auto W_MSR_PMON_FIXED_CTR = 0x394 ;
301
297
/*
302
298
* Platform QoS MSRs
303
299
*/
0 commit comments