HDFGRTR_EL2
Hypervisor Debug Fine-Grained Read Trap Register
Provides controls for traps of MRS and MRC reads of debug, trace, PMU, and Statistical Profiling System registers.
Configuration
This register is present only when FEAT_FGT is implemented and FEAT_AA64 is implemented. Otherwise, direct accesses to HDFGRTR_EL2 are UNDEFINED.
If EL2 is not implemented, this register is RES0 from EL3.
Attributes
HDFGRTR_EL2 is a 64-bit register.
Field descriptions
| 63 | 62 | 61 | 60 | 59 | 58 | 57 | 56 | 55 | 54 | 53 | 52 | 51 | 50 | 49 | 48 | 47 | 46 | 45 | 44 | 43 | 42 | 41 | 40 | 39 | 38 | 37 | 36 | 35 | 34 | 33 | 32 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| PMBIDR_EL1 | nPMSNEVFR_EL1 | nBRBDATA | nBRBCTL | nBRBIDR | PMCEIDn_EL0 | PMUSERENR_EL0 | TRBTRG_EL1 | TRBSR_EL1 | TRBPTR_EL1 | TRBMAR_EL1 | TRBLIMITR_EL1 | TRBIDR_EL1 | TRBBASER_EL1 | RES0 | TRCVICTLR | TRCSTATR | TRCSSCSRn | TRCSEQSTR | TRCPRGCTLR | TRCOSLSR | RES0 | TRCIMSPECn | TRCID | RES0 | TRCCNTVRn | TRCCLAIM | TRCAUXCTLR | TRCAUTHSTATUS | TRC | PMSLATFR_EL1 | |
| PMSIRR_EL1 | PMSIDR_EL1 | PMSICR_EL1 | PMSFCR_EL1 | PMSEVFR_EL1 | PMSCR_EL1 | PMBSR_EL1 | PMBPTR_EL1 | PMBLIMITR_EL1 | PMMIR_EL1 | RES0 | PMSELR_EL0 | PMOVS | PMINTEN | PMCNTEN | PMCCNTR_EL0 | PMCCFILTR_EL0 | PMEVTYPERn_EL0 | PMEVCNTRn_EL0 | OSDLR_EL1 | OSECCR_EL1 | OSLSR_EL1 | RES0 | DBGPRCR_EL1 | DBGAUTHSTATUS_EL1 | DBGCLAIM | MDSCR_EL1 | DBGWVRn_EL1 | DBGWCRn_EL1 | DBGBVRn_EL1 | DBGBCRn_EL1 | |
PMBIDR_EL1, bit [63] when FEAT_SPE is implemented:
Trap MRS reads of PMBIDR_EL1 at EL1 using AArch64 to EL2.
| PMBIDR_EL1 | Meaning |
|---|---|
| 0b0 |
MRS reads of PMBIDR_EL1 are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads of PMBIDR_EL1 at EL1 using AArch64 are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
nPMSNEVFR_EL1, bit [62] when FEAT_SPE_FnE is implemented:
Trap MRS reads of PMSNEVFR_EL1 at EL1 using AArch64 to EL2.
| nPMSNEVFR_EL1 | Meaning |
|---|---|
| 0b0 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads of PMSNEVFR_EL1 at EL1 using AArch64 are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
| 0b1 |
MRS reads of PMSNEVFR_EL1 are not trapped by this mechanism. |
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
nBRBDATA, bit [61] when FEAT_BRBE is implemented:
Trap MRS reads at EL1 using AArch64 of any of the following AArch64 System registers to EL2:
- BRBINF<n>_EL1.
- BRBINFINJ_EL1.
- BRBSRC<n>_EL1.
- BRBSRCINJ_EL1.
- BRBTGT<n>_EL1.
- BRBTGTINJ_EL1.
- BRBTS_EL1.
| nBRBDATA | Meaning |
|---|---|
| 0b0 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads at EL1 using AArch64 of any of the specified System registers are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
| 0b1 |
MRS reads of the specified System registers are not trapped by this mechanism. |
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
nBRBCTL, bit [60] when FEAT_BRBE is implemented:
Trap MRS reads at EL1 using AArch64 of any of the following AArch64 System registers to EL2:
| nBRBCTL | Meaning |
|---|---|
| 0b0 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads at EL1 using AArch64 of any of the specified System registers are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
| 0b1 |
MRS reads of the specified System registers are not trapped by this mechanism. |
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
nBRBIDR, bit [59] when FEAT_BRBE is implemented:
Trap MRS reads of BRBIDR0_EL1 at EL1 using AArch64 to EL2.
| nBRBIDR | Meaning |
|---|---|
| 0b0 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads of BRBIDR0_EL1 at EL1 using AArch64 are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
| 0b1 |
MRS reads of BRBIDR0_EL1 are not trapped by this mechanism. |
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
PMCEIDn_EL0, bit [58] when FEAT_PMUv3 is implemented:
Trap MRS reads of PMCEID<n>_EL0 at EL1 and EL0 using AArch64 and MRC reads of PMCEID<n> at EL0 using AArch32 when EL1 is using AArch64 to EL2.
| PMCEIDn_EL0 | Meaning |
|---|---|
| 0b0 |
MRS reads of PMCEID<n>_EL0 at EL1 and EL0 using AArch64 and MRC reads of PMCEID<n> at EL0 using AArch32 are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, the Effective value of HCR_EL2.{E2H, TGE} is not {1, 1}, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then unless the read generates a higher priority exception:
|
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
PMUSERENR_EL0, bit [57] when FEAT_PMUv3 is implemented:
Trap MRS reads of PMUSERENR_EL0 at EL1 and EL0 using AArch64 and MRC reads of PMUSERENR at EL0 using AArch32 when EL1 is using AArch64 to EL2.
| PMUSERENR_EL0 | Meaning |
|---|---|
| 0b0 |
MRS reads of PMUSERENR_EL0 at EL1 and EL0 using AArch64 and MRC reads of PMUSERENR at EL0 using AArch32 are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, the Effective value of HCR_EL2.{E2H, TGE} is not {1, 1}, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then unless the read generates a higher priority exception:
|
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
TRBTRG_EL1, bit [56] when FEAT_TRBE is implemented:
Trap MRS reads of TRBTRG_EL1 at EL1 using AArch64 to EL2.
| TRBTRG_EL1 | Meaning |
|---|---|
| 0b0 |
MRS reads of TRBTRG_EL1 are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads of TRBTRG_EL1 at EL1 using AArch64 are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
TRBSR_EL1, bit [55] when FEAT_TRBE is implemented:
Trap MRS reads of TRBSR_EL1 at EL1 using AArch64 to EL2.
| TRBSR_EL1 | Meaning |
|---|---|
| 0b0 |
MRS reads of TRBSR_EL1 are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads of TRBSR_EL1 at EL1 using AArch64 are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
TRBPTR_EL1, bit [54] when FEAT_TRBE is implemented:
Trap MRS reads of TRBPTR_EL1 at EL1 using AArch64 to EL2.
| TRBPTR_EL1 | Meaning |
|---|---|
| 0b0 |
MRS reads of TRBPTR_EL1 are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads of TRBPTR_EL1 at EL1 using AArch64 are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
TRBMAR_EL1, bit [53] when FEAT_TRBE is implemented:
Trap MRS reads of TRBMAR_EL1 at EL1 using AArch64 to EL2.
| TRBMAR_EL1 | Meaning |
|---|---|
| 0b0 |
MRS reads of TRBMAR_EL1 are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads of TRBMAR_EL1 at EL1 using AArch64 are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
TRBLIMITR_EL1, bit [52] when FEAT_TRBE is implemented:
Trap MRS reads of TRBLIMITR_EL1 at EL1 using AArch64 to EL2.
| TRBLIMITR_EL1 | Meaning |
|---|---|
| 0b0 |
MRS reads of TRBLIMITR_EL1 are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads of TRBLIMITR_EL1 at EL1 using AArch64 are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
TRBIDR_EL1, bit [51] when FEAT_TRBE is implemented:
Trap MRS reads of TRBIDR_EL1 at EL1 using AArch64 to EL2.
| TRBIDR_EL1 | Meaning |
|---|---|
| 0b0 |
MRS reads of TRBIDR_EL1 are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads of TRBIDR_EL1 at EL1 using AArch64 are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
TRBBASER_EL1, bit [50] when FEAT_TRBE is implemented:
Trap MRS reads of TRBBASER_EL1 at EL1 using AArch64 to EL2.
| TRBBASER_EL1 | Meaning |
|---|---|
| 0b0 |
MRS reads of TRBBASER_EL1 are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads of TRBBASER_EL1 at EL1 using AArch64 are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
Bit [49]:
Reserved, RES0.
TRCVICTLR, bit [48] when (FEAT_ETE is implemented or FEAT_ETMv4 is implemented) and System register access to the trace unit registers is implemented:
In an Armv9 implementation, trap MRS reads of TRCVICTLR at EL1 using AArch64 to EL2.
In an Armv8 implementation, trap MRS reads of ETM TRCVICTLR at EL1 using AArch64 to EL2.
| TRCVICTLR | Meaning |
|---|---|
| 0b0 |
MRS reads of TRCVICTLR are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads of TRCVICTLR at EL1 using AArch64 are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
TRCSTATR, bit [47] when (FEAT_ETE is implemented or FEAT_ETMv4 is implemented) and System register access to the trace unit registers is implemented:
In an Armv9 implementation, trap MRS reads of TRCSTATR at EL1 using AArch64 to EL2.
In an Armv8 implementation, trap MRS reads of ETM TRCSTATR at EL1 using AArch64 to EL2.
| TRCSTATR | Meaning |
|---|---|
| 0b0 |
MRS reads of TRCSTATR are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads of TRCSTATR at EL1 using AArch64 are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
TRCSSCSRn, bit [46] when (FEAT_ETE is implemented or FEAT_ETMv4 is implemented), NUM_TRACE_SINGLE_SHOT_COMPARATOR_CONTROLS > 0, and System register access to the trace unit registers is implemented:
In an Armv9 implementation, trap MRS reads of TRCSSCSR<n> at EL1 using AArch64 to EL2.
In an Armv8 implementation, trap MRS reads of ETM TRCSSCSR<n> at EL1 using AArch64 to EL2.
| TRCSSCSRn | Meaning |
|---|---|
| 0b0 |
MRS reads of TRCSSCSR<n> are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads of TRCSSCSR<n> at EL1 using AArch64 are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
If Single-shot Comparator n is not implemented, a read of TRCSSCSR<n> is UNDEFINED.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
TRCSEQSTR, bit [45] when (FEAT_ETE is implemented or FEAT_ETMv4 is implemented), NUM_TRACE_SEQUENCER_STATES != 0, and System register access to the trace unit registers is implemented:
In an Armv9 implementation, trap MRS reads of TRCSEQSTR at EL1 using AArch64 to EL2.
In an Armv8 implementation, trap MRS reads of ETM TRCSEQSTR at EL1 using AArch64 to EL2.
| TRCSEQSTR | Meaning |
|---|---|
| 0b0 |
MRS reads of TRCSEQSTR are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads of TRCSEQSTR at EL1 using AArch64 are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
TRCPRGCTLR, bit [44] when (FEAT_ETE is implemented or FEAT_ETMv4 is implemented) and System register access to the trace unit registers is implemented:
In an Armv9 implementation, trap MRS reads of TRCPRGCTLR at EL1 using AArch64 to EL2.
In an Armv8 implementation, trap MRS reads of ETM TRCPRGCTLR at EL1 using AArch64 to EL2.
| TRCPRGCTLR | Meaning |
|---|---|
| 0b0 |
MRS reads of TRCPRGCTLR are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads of TRCPRGCTLR at EL1 using AArch64 are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
TRCOSLSR, bit [43] when (FEAT_ETE is implemented or FEAT_ETMv4 is implemented) and System register access to the trace unit registers is implemented:
In an Armv9 implementation, trap MRS reads of TRCOSLSR at EL1 using AArch64 to EL2.
In an Armv8 implementation, trap MRS reads of ETM TRCOSLSR at EL1 using AArch64 to EL2.
| TRCOSLSR | Meaning |
|---|---|
| 0b0 |
MRS reads of TRCOSLSR are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads of TRCOSLSR at EL1 using AArch64 are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
Bit [42]:
Reserved, RES0.
TRCIMSPECn, bit [41] when (FEAT_ETE is implemented or FEAT_ETMv4 is implemented) and System register access to the trace unit registers is implemented:
In an Armv9 implementation, trap MRS reads of TRCIMSPEC<n> at EL1 using AArch64 to EL2.
In an Armv8 implementation, trap MRS reads of ETM TRCIMSPEC<n> at EL1 using AArch64 to EL2.
| TRCIMSPECn | Meaning |
|---|---|
| 0b0 |
MRS reads of TRCIMSPEC<n> are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads of TRCIMSPEC<n> at EL1 using AArch64 are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
TRCIMSPEC<1-7> are optional. If TRCIMSPEC<n> is not implemented, a read of TRCIMSPEC<n> is UNDEFINED.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
TRCID, bit [40] when (FEAT_ETE is implemented or FEAT_ETMv4 is implemented) and System register access to the trace unit registers is implemented:
Trap MRS reads at EL1 using AArch64 of any of the following AArch64 System registers to EL2:
-
In an Armv9 implementation:
- TRCDEVARCH.
- TRCDEVID.
- All of the TRCIDR<n> registers.
-
In an Armv8 implementation:
- ETM TRCDEVARCH.
- ETM TRCDEVID.
- All of the ETM TRCIDR<n> registers.
| TRCID | Meaning |
|---|---|
| 0b0 |
MRS reads of the specified System registers are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads at EL1 using AArch64 of any of the specified System registers are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
Bits [39:38]:
Reserved, RES0.
TRCCNTVRn, bit [37] when (FEAT_ETE is implemented or FEAT_ETMv4 is implemented), NUM_TRACE_COUNTERS > 0, and System register access to the trace unit registers is implemented:
In an Armv9 implementation, trap MRS reads of TRCCNTVR<n> at EL1 using AArch64 to EL2.
In an Armv8 implementation, trap MRS reads of ETM TRCCNTVR<n> at EL1 using AArch64 to EL2.
| TRCCNTVRn | Meaning |
|---|---|
| 0b0 |
MRS reads of TRCCNTVR<n> are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads of TRCCNTVR<n> at EL1 using AArch64 are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
If Counter n is not implemented, a read of TRCCNTVR<n> is UNDEFINED.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
TRCCLAIM, bit [36] when (FEAT_ETE is implemented or FEAT_ETMv4 is implemented) and System register access to the trace unit registers is implemented:
Trap MRS reads at EL1 using AArch64 of any of the following AArch64 System registers to EL2:
- In an Armv9 implementation: TRCCLAIMCLR and TRCCLAIMSET.
- In an Armv8 implementation: ETM TRCCLAIMCLR and ETM TRCCLAIMSET.
| TRCCLAIM | Meaning |
|---|---|
| 0b0 |
MRS reads of the specified System registers are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads at EL1 using AArch64 of any of the specified System registers are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
TRCAUXCTLR, bit [35] when (FEAT_ETE is implemented or FEAT_ETMv4 is implemented) and System register access to the trace unit registers is implemented:
In an Armv9 implementation, trap MRS reads of TRCAUXCTLR at EL1 using AArch64 to EL2.
In an Armv8 implementation, trap MRS reads of ETM TRCAUXCTLR at EL1 using AArch64 to EL2.
| TRCAUXCTLR | Meaning |
|---|---|
| 0b0 |
MRS reads of TRCAUXCTLR are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads of TRCAUXCTLR at EL1 using AArch64 are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
TRCAUTHSTATUS, bit [34] when (FEAT_ETE is implemented or FEAT_ETMv4 is implemented) and System register access to the trace unit registers is implemented:
In an Armv9 implementation, trap MRS reads of TRCAUTHSTATUS at EL1 using AArch64 to EL2.
In an Armv8 implementation, trap MRS reads of ETM TRCAUTHSTATUS at EL1 using AArch64 to EL2.
| TRCAUTHSTATUS | Meaning |
|---|---|
| 0b0 |
MRS reads of TRCAUTHSTATUS are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads of TRCAUTHSTATUS at EL1 using AArch64 are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
TRC, bit [33] when (FEAT_ETE is implemented or FEAT_ETMv4 is implemented) and System register access to the trace unit registers is implemented:
Trap MRS reads at EL1 using AArch64 of any of the following AArch64 System registers to EL2:
-
In an Armv9 implementation:
- TRCACATR<n>.
- TRCACVR<n>.
- TRCBBCTLR.
- TRCCCCTLR.
- TRCCIDCCTLR0.
- TRCCIDCCTLR1.
- TRCCIDCVR<n>.
- TRCCNTCTLR<n>.
- TRCCNTRLDVR<n>.
- TRCCONFIGR.
- TRCEVENTCTL0R.
- TRCEVENTCTL1R.
- TRCEXTINSELR<n>.
- TRCQCTLR.
- TRCRSCTLR<n>.
- TRCRSR.
- TRCSEQEVR<n>.
- TRCSEQRSTEVR.
- TRCSSCCR<n>.
- TRCSSPCICR<n>.
- TRCSTALLCTLR.
- TRCSYNCPR.
- TRCTRACEIDR.
- TRCTSCTLR.
- TRCVIIECTLR.
- TRCVIPCSSCTLR.
- TRCVISSCTLR.
- TRCVMIDCCTLR0.
- TRCVMIDCCTLR1.
- TRCVMIDCVR<n>.
-
In an Armv8 implementation:
- ETM TRCACATR<n>.
- ETM TRCACVR<n>.
- ETM TRCBBCTLR.
- ETM TRCCCCTLR.
- ETM TRCCIDCCTLR0.
- ETM TRCCIDCCTLR1.
- ETM TRCCIDCVR<n>.
- ETM TRCCNTCTLR<n>.
- ETM TRCCNTRLDVR<n>.
- ETM TRCCONFIGR.
- ETM TRCEVENTCTL0R.
- ETM TRCEVENTCTL1R.
- ETM TRCEXTINSELR.
- ETM TRCQCTLR.
- ETM TRCRSCTLR<n>.
- ETM TRCSEQEVR<n>.
- ETM TRCSEQRSTEVR.
- ETM TRCSSCCR<n>.
- ETM TRCSSPCICR<n>.
- ETM TRCSTALLCTLR.
- ETM TRCSYNCPR.
- ETM TRCTRACEIDR.
- ETM TRCTSCTLR.
- ETM TRCVIIECTLR.
- ETM TRCVIPCSSCTLR.
- ETM TRCVISSCTLR.
- ETM TRCVMIDCCTLR0.
- ETM TRCVMIDCCTLR1.
- ETM TRCVMIDCVR<n>.
| TRC | Meaning |
|---|---|
| 0b0 |
MRS reads of the specified System registers are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads at EL1 using AArch64 of any of the specified System registers are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
A read of an unimplemented register is UNDEFINED.
TRCEXTINSELR<n> and TRCRSR are implemented only if FEAT_ETE is implemented.
TRCEXTINSELR is implemented only if FEAT_ETE is not implemented and FEAT_ETMv4 is implemented.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
PMSLATFR_EL1, bit [32] when FEAT_SPE is implemented:
Trap MRS reads of PMSLATFR_EL1 at EL1 using AArch64 to EL2.
| PMSLATFR_EL1 | Meaning |
|---|---|
| 0b0 |
MRS reads of PMSLATFR_EL1 are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads of PMSLATFR_EL1 at EL1 using AArch64 are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
PMSIRR_EL1, bit [31] when FEAT_SPE is implemented:
Trap MRS reads of PMSIRR_EL1 at EL1 using AArch64 to EL2.
| PMSIRR_EL1 | Meaning |
|---|---|
| 0b0 |
MRS reads of PMSIRR_EL1 are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads of PMSIRR_EL1 at EL1 using AArch64 are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
PMSIDR_EL1, bit [30] when FEAT_SPE is implemented:
Trap MRS reads of PMSIDR_EL1 at EL1 using AArch64 to EL2.
| PMSIDR_EL1 | Meaning |
|---|---|
| 0b0 |
MRS reads of PMSIDR_EL1 are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads of PMSIDR_EL1 at EL1 using AArch64 are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
PMSICR_EL1, bit [29] when FEAT_SPE is implemented:
Trap MRS reads of PMSICR_EL1 at EL1 using AArch64 to EL2.
| PMSICR_EL1 | Meaning |
|---|---|
| 0b0 |
MRS reads of PMSICR_EL1 are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads of PMSICR_EL1 at EL1 using AArch64 are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
PMSFCR_EL1, bit [28] when FEAT_SPE is implemented:
Trap MRS reads of PMSFCR_EL1 at EL1 using AArch64 to EL2.
| PMSFCR_EL1 | Meaning |
|---|---|
| 0b0 |
MRS reads of PMSFCR_EL1 are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads of PMSFCR_EL1 at EL1 using AArch64 are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
PMSEVFR_EL1, bit [27] when FEAT_SPE is implemented:
Trap MRS reads of PMSEVFR_EL1 at EL1 using AArch64 to EL2.
| PMSEVFR_EL1 | Meaning |
|---|---|
| 0b0 |
MRS reads of PMSEVFR_EL1 are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads of PMSEVFR_EL1 at EL1 using AArch64 are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
PMSCR_EL1, bit [26] when FEAT_SPE is implemented:
Trap MRS reads of PMSCR_EL1 at EL1 using AArch64 to EL2.
| PMSCR_EL1 | Meaning |
|---|---|
| 0b0 |
MRS reads of PMSCR_EL1 are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads of PMSCR_EL1 at EL1 using AArch64 are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
PMBSR_EL1, bit [25] when FEAT_SPE is implemented:
Trap MRS reads of PMBSR_EL1 at EL1 using AArch64 to EL2.
| PMBSR_EL1 | Meaning |
|---|---|
| 0b0 |
MRS reads of PMBSR_EL1 are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads of PMBSR_EL1 at EL1 using AArch64 are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
PMBPTR_EL1, bit [24] when FEAT_SPE is implemented:
Trap MRS reads of PMBPTR_EL1 at EL1 using AArch64 to EL2.
| PMBPTR_EL1 | Meaning |
|---|---|
| 0b0 |
MRS reads of PMBPTR_EL1 are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads of PMBPTR_EL1 at EL1 using AArch64 are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
PMBLIMITR_EL1, bit [23] when FEAT_SPE is implemented:
Trap MRS reads of PMBLIMITR_EL1 at EL1 using AArch64 to EL2.
| PMBLIMITR_EL1 | Meaning |
|---|---|
| 0b0 |
MRS reads of PMBLIMITR_EL1 are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads of PMBLIMITR_EL1 at EL1 using AArch64 are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
PMMIR_EL1, bit [22] when FEAT_PMUv3 is implemented:
Trap MRS reads of PMMIR_EL1 at EL1 using AArch64 to EL2.
| PMMIR_EL1 | Meaning |
|---|---|
| 0b0 |
MRS reads of PMMIR_EL1 are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads of PMMIR_EL1 at EL1 using AArch64 are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
Bits [21:20]:
Reserved, RES0.
PMSELR_EL0, bit [19] when FEAT_PMUv3 is implemented:
Trap MRS reads of PMSELR_EL0 at EL1 and EL0 using AArch64 and MRC reads of PMSELR at EL0 using AArch32 when EL1 is using AArch64 to EL2.
| PMSELR_EL0 | Meaning |
|---|---|
| 0b0 |
MRS reads of PMSELR_EL0 at EL1 and EL0 using AArch64 and MRC reads of PMSELR at EL0 using AArch32 are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, the Effective value of HCR_EL2.{E2H, TGE} is not {1, 1}, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then unless the read generates a higher priority exception:
|
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
PMOVS, bit [18] when FEAT_PMUv3 is implemented:
Trap MRS reads and MRC reads of any of the following System registers to EL2:
- At EL1 and EL0 using AArch64: PMOVSCLR_EL0 and PMOVSSET_EL0.
- At EL0 using AArch32 when EL1 is using AArch64: PMOVSR and PMOVSSET.
| PMOVS | Meaning |
|---|---|
| 0b0 |
MRS reads at EL1 and EL0 using AArch64 and MRC reads at EL0 using AArch32 of the specified System registers are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, the Effective value of HCR_EL2.{E2H, TGE} is not {1, 1}, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then unless the read generates a higher priority exception:
|
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
PMINTEN, bit [17] when FEAT_PMUv3 is implemented:
Trap MRS reads at EL1 using AArch64 of any of the following AArch64 System registers to EL2:
| PMINTEN | Meaning |
|---|---|
| 0b0 |
MRS reads of the specified System registers are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads at EL1 using AArch64 of any of the specified System registers are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
PMCNTEN, bit [16] when FEAT_PMUv3 is implemented:
Trap MRS reads and MRC reads of any of the following System registers to EL2:
- At EL1 and EL0 using AArch64: PMCNTENCLR_EL0 and PMCNTENSET_EL0.
- At EL0 using AArch32 when EL1 is using AArch64: PMCNTENCLR and PMCNTENSET.
| PMCNTEN | Meaning |
|---|---|
| 0b0 |
MRS reads at EL1 and EL0 using AArch64 and MRC reads at EL0 using AArch32 of the specified System registers are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, the Effective value of HCR_EL2.{E2H, TGE} is not {1, 1}, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then unless the read generates a higher priority exception:
|
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
PMCCNTR_EL0, bit [15] when FEAT_PMUv3 is implemented:
Trap MRS reads of PMCCNTR_EL0 at EL1 and EL0 using AArch64 and MRC and MRRC reads of PMCCNTR at EL0 using AArch32 when EL1 is using AArch64 to EL2.
| PMCCNTR_EL0 | Meaning |
|---|---|
| 0b0 |
MRS reads of PMCCNTR_EL0 at EL1 and EL0 using AArch64 and MRC and MRRC reads of PMCCNTR at EL0 using AArch32 are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, the Effective value of HCR_EL2.{E2H, TGE} is not {1, 1}, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then unless the read generates a higher priority exception:
|
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
PMCCFILTR_EL0, bit [14] when FEAT_PMUv3 is implemented:
Trap MRS reads of PMCCFILTR_EL0 at EL1 and EL0 using AArch64 and MRC reads of PMCCFILTR at EL0 using AArch32 when EL1 is using AArch64 to EL2.
| PMCCFILTR_EL0 | Meaning |
|---|---|
| 0b0 |
MRS reads of PMCCFILTR_EL0 at EL1 and EL0 using AArch64 and MRC reads of PMCCFILTR at EL0 using AArch32 are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, the Effective value of HCR_EL2.{E2H, TGE} is not {1, 1}, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then unless the read generates a higher priority exception:
|
PMCCFILTR_EL0 can also be accessed in AArch64 state using PMXEVTYPER_EL0 when PMSELR_EL0.SEL == 31, and PMCCFILTR can also be accessed in AArch32 state using PMXEVTYPER when PMSELR.SEL == 31.
Setting this field to 1 has no effect on accesses to PMXEVTYPER_EL0 and PMXEVTYPER, regardless of the value of PMSELR_EL0.SEL or PMSELR.SEL.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
PMEVTYPERn_EL0, bit [13] when FEAT_PMUv3 is implemented:
Trap MRS reads and MRC reads of any of the following System registers to EL2:
- At EL1 and EL0 using AArch64: PMEVTYPER<n>_EL0 and PMXEVTYPER_EL0.
- At EL0 using AArch32 when EL1 is using AArch64: PMEVTYPER<n> and PMXEVTYPER.
| PMEVTYPERn_EL0 | Meaning |
|---|---|
| 0b0 |
MRS reads at EL1 and EL0 using AArch64 and MRC reads at EL0 using AArch32 of the specified System registers are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, the Effective value of HCR_EL2.{E2H, TGE} is not {1, 1}, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then unless the read generates a higher priority exception:
|
Regardless of the value of this field, for each value n:
-
If event counter n is not implemented, the following accesses are
UNDEFINED:
- In AArch64 state, a read of PMEVTYPER<n>_EL0, or, if n is not 31, a read of PMXEVTYPER_EL0 when PMSELR_EL0.SEL == n.
- In AArch32 state, a read of PMEVTYPER<n>, or, if n is not 31, a read of PMXEVTYPER when PMSELR.SEL == n.
-
If event counter n is implemented, n is greater-than-or-equal-to
MDCR_EL2.HPMN, and EL2 is implemented and enabled in
the current Security state, the following generate a Trap exception to EL2 from EL0 or
EL1:
- In AArch64 state, a read of PMEVTYPER<n>_EL0, or a read of PMXEVTYPER_EL0 when PMSELR_EL0.SEL == n, reported with EC syndrome value 0x18.
- In AArch32 state, a read of PMEVTYPER<n>, or a read of PMXEVTYPER when PMSELR.SEL == n, reported with EC syndrome value 0x03.
See also HDFGRTR_EL2.PMCCFILTR_EL0.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
PMEVCNTRn_EL0, bit [12] when FEAT_PMUv3 is implemented:
Trap MRS reads and MRC reads of any of the following System registers to EL2:
- At EL1 and EL0 using AArch64: PMEVCNTR<n>_EL0 and PMXEVCNTR_EL0.
- At EL0 using AArch32 when EL1 is using AArch64: PMEVCNTR<n> and PMXEVCNTR.
| PMEVCNTRn_EL0 | Meaning |
|---|---|
| 0b0 |
MRS reads at EL1 and EL0 using AArch64 and MRC reads at EL0 using AArch32 of the specified System registers are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, the Effective value of HCR_EL2.{E2H, TGE} is not {1, 1}, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then unless the read generates a higher priority exception:
|
Regardless of the value of this field, for each value n:
-
If event counter n is not implemented, the following accesses are
UNDEFINED:
- In AArch64 state, a read of PMEVCNTR<n>_EL0, or a read of PMXEVCNTR_EL0 when PMSELR_EL0.SEL is n.
- In AArch32 state, a read of PMEVCNTR<n>, or a read of PMXEVCNTR when PMSELR.SEL is n.
-
If event counter n is implemented, n is greater than or equal to
MDCR_EL2.HPMN, and EL2 is implemented and enabled in
the current Security state, the following generate a Trap exception to EL2 from EL0 or
EL1:
- In AArch64 state, a read of PMEVCNTR<n>_EL0, or a read of PMXEVCNTR_EL0 when PMSELR_EL0.SEL is n, reported with EC syndrome value 0x18.
- In AArch32 state, a read of PMEVCNTR<n>, or a read of PMXEVCNTR when PMSELR.SEL is n, reported with EC syndrome value 0x03.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
OSDLR_EL1, bit [11] when FEAT_DoubleLock is implemented:
Trap MRS reads of OSDLR_EL1 at EL1 using AArch64 to EL2.
| OSDLR_EL1 | Meaning |
|---|---|
| 0b0 |
MRS reads of OSDLR_EL1 are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads of OSDLR_EL1 at EL1 using AArch64 are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
OSECCR_EL1, bit [10]:
Trap MRS reads of OSECCR_EL1 at EL1 using AArch64 to EL2.
| OSECCR_EL1 | Meaning |
|---|---|
| 0b0 |
MRS reads of OSECCR_EL1 are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads of OSECCR_EL1 at EL1 using AArch64 are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
OSLSR_EL1, bit [9]:
Trap MRS reads of OSLSR_EL1 at EL1 using AArch64 to EL2.
| OSLSR_EL1 | Meaning |
|---|---|
| 0b0 |
MRS reads of OSLSR_EL1 are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads of OSLSR_EL1 at EL1 using AArch64 are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Bit [8]:
Reserved, RES0.
DBGPRCR_EL1, bit [7]:
Trap MRS reads of DBGPRCR_EL1 at EL1 using AArch64 to EL2.
| DBGPRCR_EL1 | Meaning |
|---|---|
| 0b0 |
MRS reads of DBGPRCR_EL1 are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads of DBGPRCR_EL1 at EL1 using AArch64 are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
DBGAUTHSTATUS_EL1, bit [6]:
Trap MRS reads of DBGAUTHSTATUS_EL1 at EL1 using AArch64 to EL2.
| DBGAUTHSTATUS_EL1 | Meaning |
|---|---|
| 0b0 |
MRS reads of DBGAUTHSTATUS_EL1 are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads of DBGAUTHSTATUS_EL1 at EL1 using AArch64 are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
DBGCLAIM, bit [5]:
Trap MRS reads at EL1 using AArch64 of any of the following AArch64 System registers to EL2:
| DBGCLAIM | Meaning |
|---|---|
| 0b0 |
MRS reads of the specified System registers are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads at EL1 using AArch64 of any of the specified System registers are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
MDSCR_EL1, bit [4]:
Trap MRS reads of MDSCR_EL1 at EL1 using AArch64 to EL2.
| MDSCR_EL1 | Meaning |
|---|---|
| 0b0 |
MRS reads of MDSCR_EL1 are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads of MDSCR_EL1 at EL1 using AArch64 are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
DBGWVRn_EL1, bit [3]:
Trap MRS reads of DBGWVR<n>_EL1 at EL1 using AArch64 to EL2.
| DBGWVRn_EL1 | Meaning |
|---|---|
| 0b0 |
MRS reads of DBGWVR<n>_EL1 are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads of DBGWVR<n>_EL1 at EL1 using AArch64 are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
If watchpoint n is not implemented, a read of DBGWVR<n>_EL1 is UNDEFINED.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
DBGWCRn_EL1, bit [2]:
Trap MRS reads of DBGWCR<n>_EL1 at EL1 using AArch64 to EL2.
| DBGWCRn_EL1 | Meaning |
|---|---|
| 0b0 |
MRS reads of DBGWCR<n>_EL1 are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads of DBGWCR<n>_EL1 at EL1 using AArch64 are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
If watchpoint n is not implemented, a read of DBGWCR<n>_EL1 is UNDEFINED.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
DBGBVRn_EL1, bit [1]:
Trap MRS reads of DBGBVR<n>_EL1 at EL1 using AArch64 to EL2.
| DBGBVRn_EL1 | Meaning |
|---|---|
| 0b0 |
MRS reads of DBGBVR<n>_EL1 are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads of DBGBVR<n>_EL1 at EL1 using AArch64 are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
If breakpoint n is not implemented, a read of DBGBVR<n>_EL1 is UNDEFINED.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
DBGBCRn_EL1, bit [0]:
Trap MRS reads of DBGBCR<n>_EL1 at EL1 using AArch64 to EL2.
| DBGBCRn_EL1 | Meaning |
|---|---|
| 0b0 |
MRS reads of DBGBCR<n>_EL1 are not trapped by this mechanism. |
| 0b1 |
If EL2 is implemented and enabled in the current Security state, and either EL3 is not implemented or SCR_EL3.FGTEn == 1, then MRS reads of DBGBCR<n>_EL1 at EL1 using AArch64 are trapped to EL2 and reported with EC syndrome value 0x18, unless the read generates a higher priority exception. |
If breakpoint n is not implemented, a read of DBGBCR<n>_EL1 is UNDEFINED.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Access Instructions
Accesses to this register use the following encodings in the System register encoding space:
MRS <Xt>, HDFGRTR_EL2
(op0 = 0b11, op1 = 0b100, CRn = 0b0011, CRm = 0b0001, op2 = 0b100)
if !(IsFeatureImplemented(FEAT_FGT) && IsFeatureImplemented(FEAT_AA64)) then
Undefined();
elsif HaveEL(EL3) && PSTATE.EL == EL2 && EL3SDDUndefPriority() && SCR_EL3().FGTEn == '0' then
Undefined();
elsif PSTATE.EL == EL0 then
Undefined();
elsif PSTATE.EL == EL1 then
if EffectiveHCR_EL2_NVx() IN {'1x1'} then
X{64}(t) = NVMem(0x1D0);
elsif EffectiveHCR_EL2_NVx() IN {'xx1'} then
AArch64_SystemAccessTrap(EL2, 0x18);
else
Undefined();
end;
elsif PSTATE.EL == EL2 then
if HaveEL(EL3) && SCR_EL3().FGTEn == '0' then
if EL3SDDUndef() then
Undefined();
else
AArch64_SystemAccessTrap(EL3, 0x18);
end;
else
X{64}(t) = HDFGRTR_EL2();
end;
elsif PSTATE.EL == EL3 then
X{64}(t) = HDFGRTR_EL2();
end;
MSR HDFGRTR_EL2, <Xt>
(op0 = 0b11, op1 = 0b100, CRn = 0b0011, CRm = 0b0001, op2 = 0b100)
if !(IsFeatureImplemented(FEAT_FGT) && IsFeatureImplemented(FEAT_AA64)) then
Undefined();
elsif HaveEL(EL3) && PSTATE.EL == EL2 && EL3SDDUndefPriority() && SCR_EL3().FGTEn == '0' then
Undefined();
elsif PSTATE.EL == EL0 then
Undefined();
elsif PSTATE.EL == EL1 then
if EffectiveHCR_EL2_NVx() IN {'1x1'} then
NVMem(0x1D0) = X{64}(t);
elsif EffectiveHCR_EL2_NVx() IN {'xx1'} then
AArch64_SystemAccessTrap(EL2, 0x18);
else
Undefined();
end;
elsif PSTATE.EL == EL2 then
if HaveEL(EL3) && SCR_EL3().FGTEn == '0' then
if EL3SDDUndef() then
Undefined();
else
AArch64_SystemAccessTrap(EL3, 0x18);
end;
else
HDFGRTR_EL2() = X{64}(t);
end;
elsif PSTATE.EL == EL3 then
HDFGRTR_EL2() = X{64}(t);
end;
Version 2026.09 — Copyright © 2010-2026 Arm Limited or its affiliates.
This site is provided as a community resource and is NOT affiliated with nor endorsed by Arm Limited.