File tree Expand file tree Collapse file tree 2 files changed +35
-29
lines changed Expand file tree Collapse file tree 2 files changed +35
-29
lines changed Original file line number Diff line number Diff line change 311
311
GENMASK(19, 18) | \
312
312
GENMASK(15, 0))
313
313
314
- /* Hyp Debug Configuration Register bits */
315
- #define MDCR_EL2_E2TB_MASK (UL(0x3))
316
- #define MDCR_EL2_E2TB_SHIFT (UL(24))
317
- #define MDCR_EL2_HPMFZS (UL(1) << 36)
318
- #define MDCR_EL2_HPMFZO (UL(1) << 29)
319
- #define MDCR_EL2_MTPME (UL(1) << 28)
320
- #define MDCR_EL2_TDCC (UL(1) << 27)
321
- #define MDCR_EL2_HLP (UL(1) << 26)
322
- #define MDCR_EL2_HCCD (UL(1) << 23)
323
- #define MDCR_EL2_TTRF (UL(1) << 19)
324
- #define MDCR_EL2_HPMD (UL(1) << 17)
325
- #define MDCR_EL2_TPMS (UL(1) << 14)
326
- #define MDCR_EL2_E2PB_MASK (UL(0x3))
327
- #define MDCR_EL2_E2PB_SHIFT (UL(12))
328
- #define MDCR_EL2_TDRA (UL(1) << 11)
329
- #define MDCR_EL2_TDOSA (UL(1) << 10)
330
- #define MDCR_EL2_TDA (UL(1) << 9)
331
- #define MDCR_EL2_TDE (UL(1) << 8)
332
- #define MDCR_EL2_HPME (UL(1) << 7)
333
- #define MDCR_EL2_TPM (UL(1) << 6)
334
- #define MDCR_EL2_TPMCR (UL(1) << 5)
335
- #define MDCR_EL2_HPMN_MASK (UL(0x1F))
336
- #define MDCR_EL2_RES0 (GENMASK(63, 37) | \
337
- GENMASK(35, 30) | \
338
- GENMASK(25, 24) | \
339
- GENMASK(22, 20) | \
340
- BIT(18) | \
341
- GENMASK(16, 15))
342
-
343
314
/*
344
315
* FGT register definitions
345
316
*
Original file line number Diff line number Diff line change @@ -2414,6 +2414,41 @@ Field 1 AFSR1_EL1
2414
2414
Field 0 AFSR0_EL1
2415
2415
EndSysregFields
2416
2416
2417
+ Sysreg MDCR_EL2 3 4 1 1 1
2418
+ Res0 63:51
2419
+ Field 50 EnSTEPOP
2420
+ Res0 49:44
2421
+ Field 43 EBWE
2422
+ Res0 42
2423
+ Field 41:40 PMEE
2424
+ Res0 39:37
2425
+ Field 36 HPMFZS
2426
+ Res0 35:32
2427
+ Field 31:30 PMSSE
2428
+ Field 29 HPMFZO
2429
+ Field 28 MTPME
2430
+ Field 27 TDCC
2431
+ Field 26 HLP
2432
+ Field 25:24 E2TB
2433
+ Field 23 HCCD
2434
+ Res0 22:20
2435
+ Field 19 TTRF
2436
+ Res0 18
2437
+ Field 17 HPMD
2438
+ Res0 16
2439
+ Field 15 EnSPM
2440
+ Field 14 TPMS
2441
+ Field 13:12 E2PB
2442
+ Field 11 TDRA
2443
+ Field 10 TDOSA
2444
+ Field 9 TDA
2445
+ Field 8 TDE
2446
+ Field 7 HPME
2447
+ Field 6 TPM
2448
+ Field 5 TPMCR
2449
+ Field 4:0 HPMN
2450
+ EndSysreg
2451
+
2417
2452
Sysreg HFGRTR_EL2 3 4 1 1 4
2418
2453
Fields HFGxTR_EL2
2419
2454
EndSysreg
You can’t perform that action at this time.
0 commit comments