Provides top level information about the debug system in AArch64 state.
For general information about the interpretation of the ID registers, see 'Principles of the ID scheme for fields in ID registers'.
The external register EDDFR gives information from this register.
ID_AA64DFR0_EL1 is a 64-bit register.
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 |
HPMN0 | ExtTrcBuff | BRBE | MTPMU | TraceBuffer | TraceFilt | DoubleLock | PMSVer | ||||||||||||||||||||||||
CTX_CMPs | SEBEP | WRPs | PMSS | BRPs | PMUVer | TraceVer | DebugVer |
Zero PMU event counters for a Guest operating system.
The value of this field is an IMPLEMENTATION DEFINED choice of:
HPMN0 | Meaning |
---|---|
0b0000 |
Setting MDCR_EL2.HPMN to zero has CONSTRAINED UNPREDICTABLE behavior. |
0b0001 |
Setting MDCR_EL2.HPMN to zero has defined behavior. |
All other values are reserved.
FEAT_HPMN0 implements the functionality identified by the value 0b0001.
From Armv8.8, in an implementation that includes FEAT_PMUv3, FEAT_FGT, and EL2, the value 0b0000 is not permitted.
Access to this field is RO.
Trace Buffer External Mode Extension.
The value of this field is an IMPLEMENTATION DEFINED choice of:
ExtTrcBuff | Meaning |
---|---|
0b0000 |
Trace Buffer External Mode not implemented. |
0b0001 |
Trace Buffer External Mode implemented. |
All other values are reserved.
FEAT_TRBE_EXT implements the functionality identified by the value 0b0001.
Access to this field is RO.
Branch Record Buffer Extension.
The value of this field is an IMPLEMENTATION DEFINED choice of:
BRBE | Meaning |
---|---|
0b0000 |
Branch Record Buffer Extension not implemented. |
0b0001 |
Branch Record Buffer Extension implemented. |
0b0010 |
As 0b0001, and adds support for branch recording at EL3. |
All other values are reserved.
FEAT_BRBE implements the functionality identified by the value 0b0001.
FEAT_BRBEv1p1 implements the functionality identified by the value 0b0010.
From Armv9.3, if FEAT_BRBE is implemented, the value 0b0001 is not permitted.
Access to this field is RO.
Multi-threaded PMU extension.
The value of this field is an IMPLEMENTATION DEFINED choice of:
MTPMU | Meaning |
---|---|
0b0000 |
FEAT_MTPMU not implemented. If FEAT_PMUv3 is implemented, it is IMPLEMENTATION DEFINED whether PMEVTYPER<n>_EL0.MT and PMEVTYPER<n>.MT are read/write or RES0. |
0b0001 |
FEAT_MTPMU and FEAT_PMUv3 implemented. PMEVTYPER<n>_EL0.MT and PMEVTYPER<n>.MT are read/write. When FEAT_MTPMU is disabled, the Effective values of PMEVTYPER<n>_EL0.MT and PMEVTYPER<n>.MT are 0. |
0b1111 |
FEAT_MTPMU not implemented. If FEAT_PMUv3 is implemented, PMEVTYPER<n>_EL0.MT and PMEVTYPER<n>.MT are RES0. |
All other values are reserved.
FEAT_MTPMU implements the functionality identified by the value 0b0001.
From Armv8.6, in an implementation that includes FEAT_PMUv3, the value 0b0000 is not permitted.
In an implementation that does not include FEAT_PMUv3, the value 0b0001 is not permitted.
Access to this field is RO.
Trace Buffer Extension.
The value of this field is an IMPLEMENTATION DEFINED choice of:
TraceBuffer | Meaning |
---|---|
0b0000 |
Trace Buffer Extension not implemented. |
0b0001 |
Trace Buffer Extension implemented. |
All other values are reserved.
FEAT_TRBE implements the functionality identified by the value 0b0001.
In any Armv9 implementation, if FEAT_ETE is implemented, the value 0b0000 is not permitted.
Access to this field is RO.
Armv8.4 Self-hosted Trace Extension version.
The value of this field is an IMPLEMENTATION DEFINED choice of:
TraceFilt | Meaning |
---|---|
0b0000 |
Armv8.4 Self-hosted Trace Extension not implemented. |
0b0001 |
Armv8.4 Self-hosted Trace Extension implemented. |
All other values are reserved.
FEAT_TRF implements the functionality identified by the value 0b0001.
From Armv8.4, if an Embedded Trace Macrocell Architecture trace unit is implemented, the value 0b0000 is not permitted.
Access to this field is RO.
OS Double Lock implemented.
The value of this field is an IMPLEMENTATION DEFINED choice of:
DoubleLock | Meaning |
---|---|
0b0000 |
OS Double Lock implemented. OSDLR_EL1 is RW. |
0b1111 |
OS Double Lock not implemented. OSDLR_EL1 is RAZ/WI. |
All other values are reserved.
FEAT_DoubleLock implements the functionality identified by the value 0b0000.
In Armv8.0, the only permitted value is 0b0000.
If FEAT_Debugv8p2 is implemented and FEAT_DoPD is not implemented, the permitted values are 0b0000 and 0b1111.
If FEAT_DoPD is implemented, the only permitted value is 0b1111.
Access to this field is RO.
Statistical Profiling Extension version.
The value of this field is an IMPLEMENTATION DEFINED choice of:
PMSVer | Meaning |
---|---|
0b0000 |
Statistical Profiling Extension not implemented. |
0b0001 |
Statistical Profiling Extension implemented. |
0b0010 | As 0b0001, and adds:
|
0b0011 | As 0b0010, and adds:
|
0b0100 | As 0b0011, and adds:
|
0b0101 | As 0b0100, and adds:
|
0b0110 | As 0b0101, and adds:
|
All other values are reserved.
FEAT_SPE implements the functionality identified by the value 0b0001.
FEAT_SPEv1p1 implements the functionality identified by the value 0b0010.
FEAT_SPEv1p2 implements the functionality identified by the value 0b0011.
FEAT_SPEv1p3 implements the functionality identified by the value 0b0100.
FEAT_SPEv1p4 implements the functionality identified by the value 0b0101.
FEAT_SPE_SME implements the functionality identified by the value 0b0110.
From Armv8.5, if FEAT_SPE is implemented, the value 0b0001 is not permitted.
From Armv8.7, if FEAT_SPE is implemented, the value 0b0010 is not permitted.
From Armv8.8, if FEAT_SPE is implemented, the value 0b0011 is not permitted.
From Armv8.9, if FEAT_SPE is implemented, the value 0b0100 is not permitted.
From Armv9.5, if FEAT_SPE and FEAT_SME are implemented, the value 0b0101 is not permitted.
Access to this field is RO.
Number of context-aware breakpoints, minus 1.
The value of this field is an IMPLEMENTATION DEFINED choice of:
CTX_CMPs | Meaning |
---|---|
0b0000..0b1111 |
The number of context-aware breakpoints, minus 1. |
The value of this field is never greater than ID_AA64DFR0_EL1.BRPs.
If FEAT_Debugv8p9 is implemented and 16 or more context-aware breakpoints are implemented, then this field reads as 0b1111 and ID_AA64DFR1_EL1.CTX_CMPs indicates the number of context-aware breakpoints.
If AArch32 is supported at EL1, then the PE does not implement more than 16 breakpoints.
Access to this field is RO.
Synchronous-exception-based event profiling.
The value of this field is an IMPLEMENTATION DEFINED choice of:
SEBEP | Meaning |
---|---|
0b0000 |
Synchronous-exception-based event profiling not implemented. |
0b0001 |
Synchronous-exception-based event profiling implemented. |
All other values are reserved.
FEAT_SEBEP implements the functionality identified by the value 0b0001.
Access to this field is RO.
Number of watchpoints, minus 1.
The value of this field is an IMPLEMENTATION DEFINED choice of:
WRPs | Meaning |
---|---|
0b0001..0b1111 |
The number of watchpoints, minus 1. |
If FEAT_Debugv8p9 is implemented and 16 or more watchpoints are implemented, then this field reads as 0b1111 and ID_AA64DFR1_EL1.WRPs indicates the number of watchpoints.
If AArch32 is supported at EL1, then the PE does not implement more than 16 watchpoints.
The value 0b0000 is reserved.
Access to this field is RO.
PMU Snapshot extension.
The value of this field is an IMPLEMENTATION DEFINED choice of:
PMSS | Meaning |
---|---|
0b0000 |
PMU snapshot extension not implemented. |
0b0001 |
PMU snapshot extension implemented. |
All other values are reserved.
FEAT_PMUv3_SS implements the functionality identified by the value 0b0001.
Access to this field is RO.
Number of breakpoints, minus 1.
The value of this field is an IMPLEMENTATION DEFINED choice of:
BRPs | Meaning |
---|---|
0b0001..0b1111 |
The number of breakpoints, minus 1. |
If FEAT_Debugv8p9 is implemented and 16 or more breakpoints are implemented, then this field reads as 0b1111 and ID_AA64DFR1_EL1.BRPs indicates the number of breakpoints.
If AArch32 is supported at EL1, then the PE does not implement more than 16 breakpoints.
The value 0b0000 is reserved.
Access to this field is RO.
Performance Monitors Extension version.
This field does not follow the standard ID scheme, but uses the alternative ID scheme described in 'Alternative ID scheme used for the Performance Monitors Extension version'
The value of this field is an IMPLEMENTATION DEFINED choice of:
PMUVer | Meaning |
---|---|
0b0000 |
Performance Monitors Extension not implemented. |
0b0001 |
Performance Monitors Extension, PMUv3 implemented. |
0b0100 | PMUv3 for Armv8.1. As 0b0001, and adds support for:
|
0b0101 |
PMUv3 for Armv8.4. As 0b0100, and adds support for the PMMIR_EL1 register. |
0b0110 | PMUv3 for Armv8.5. As 0b0101, and adds support for: |
0b0111 | PMUv3 for Armv8.7. As 0b0110, and adds support for: |
0b1000 | PMUv3 for Armv8.8. As 0b0111, and:
|
0b1001 | PMUv3 for Armv8.9. As 0b1000, and:
|
0b1010 | PMUv3 for SME. As 0b1001 and, if FEAT_SME is implemented:
|
0b1111 |
IMPLEMENTATION DEFINED form of performance monitors supported, PMUv3 not supported. Arm does not recommend this value for new implementations. |
All other values are reserved.
FEAT_PMUv3 implements the functionality identified by the value 0b0001.
FEAT_PMUv3p1 implements the functionality identified by the value 0b0100.
FEAT_PMUv3p4 implements the functionality identified by the value 0b0101.
FEAT_PMUv3p5 implements the functionality identified by the value 0b0110.
FEAT_PMUv3p7 implements the functionality identified by the value 0b0111.
FEAT_PMUv3p8 implements the functionality identified by the value 0b1000.
FEAT_PMUv3p9 implements the functionality identified by the value 0b1001.
FEAT_PMUv3_SME implements the functionality identified by the value 0b1010.
From Armv8.1, if FEAT_PMUv3 is implemented, the value 0b0001 is not permitted.
From Armv8.4, if FEAT_PMUv3 is implemented, the value 0b0100 is not permitted.
From Armv8.5, if FEAT_PMUv3 is implemented, the value 0b0101 is not permitted.
From Armv8.7, if FEAT_PMUv3 is implemented, the value 0b0110 is not permitted.
From Armv8.8, if FEAT_PMUv3 is implemented, the value 0b0111 is not permitted.
From Armv8.9, if FEAT_PMUv3 is implemented, the value 0b1000 is not permitted.
From Armv9.5, if FEAT_SME and FEAT_PMUv3 are both implemented, the value 0b1001 is not permitted.
Access to this field is RO.
Trace support. Indicates whether System register interface to a trace unit is implemented.
The value of this field is an IMPLEMENTATION DEFINED choice of:
TraceVer | Meaning |
---|---|
0b0000 |
Trace unit System registers not implemented. |
0b0001 |
Trace unit System registers implemented. |
All other values are reserved.
When trace unit System registers are implemented, see TRCIDR1 for tracing capabilities of the trace unit.
Access to this field is RO.
Debug architecture version. Indicates presence of Armv8 debug architecture.
The value of this field is an IMPLEMENTATION DEFINED choice of:
DebugVer | Meaning |
---|---|
0b0110 |
Armv8.0 debug architecture. |
0b0111 |
Armv8.0 debug architecture with Virtualization Host Extensions. |
0b1000 |
Armv8.2 debug architecture, FEAT_Debugv8p2. |
0b1001 |
Armv8.4 debug architecture, FEAT_Debugv8p4. |
0b1010 |
Armv8.8 debug architecture, FEAT_Debugv8p8. |
0b1011 |
Armv8.9 debug architecture, FEAT_Debugv8p9. |
All other values are reserved.
FEAT_VHE implements the functionality identified by the value 0b0111.
FEAT_Debugv8p2 implements the functionality identified by the value 0b1000.
FEAT_Debugv8p4 implements the functionality identified by the value 0b1001.
FEAT_Debugv8p8 implements the functionality identified by the value 0b1010.
FEAT_Debugv8p9 implements the functionality identified by the value 0b1011.
From Armv8.1, when FEAT_VHE is implemented the value 0b0110 is not permitted.
From Armv8.2, the values 0b0110 and 0b0111 are not permitted.
From Armv8.4, the value 0b1000 is not permitted.
From Armv8.8, the value 0b1001 is not permitted.
From Armv8.9, the value 0b1010 is not permitted.
Access to this field is RO.
Accesses to this register use the following encodings in the System register encoding space:
MRS <Xt>, ID_AA64DFR0_EL1
op0 | op1 | CRn | CRm | op2 |
---|---|---|---|---|
0b11 | 0b000 | 0b0000 | 0b0101 | 0b000 |
if PSTATE.EL == EL0 then if IsFeatureImplemented(FEAT_IDST) then if EL2Enabled() && HCR_EL2.TGE == '1' then AArch64.SystemAccessTrap(EL2, 0x18); else AArch64.SystemAccessTrap(EL1, 0x18); else UNDEFINED; elsif PSTATE.EL == EL1 then if EL2Enabled() && HCR_EL2.TID3 == '1' then AArch64.SystemAccessTrap(EL2, 0x18); else X[t, 64] = ID_AA64DFR0_EL1; elsif PSTATE.EL == EL2 then X[t, 64] = ID_AA64DFR0_EL1; elsif PSTATE.EL == EL3 then X[t, 64] = ID_AA64DFR0_EL1;