[Writeup] External debug and trace register pages: part 2 of 22 =============================================================== Section: Silicon & Architectures Started: 2026-11-28 17:37 UTC by admin Replies: 0, last post 2026-11-28 17:37 UTC Page: 1 of 1 Web: https://romdump.net/t/61 ------------------------------------------------------------------------------ #81 admin, 2026-11-28 17:37 UTC [OP] (edited) Source: https://romdump.net/raw/81
Archived Arm source pages for the External debug and trace register pages.
Part 2 of 22. This part covers DBGWVR
Debug Watchpoint Value Registers
Holds a data address value for use in watchpoint matching. Forms watchpoint n together with control register DBGWCR<n>_EL1.
External register DBGWVR<n>_EL1 bits [63:0] are architecturally mapped to AArch64 System register DBGWVR<n>_EL1[63:0].
External register DBGWVR<n>_EL1 bits [31:0] are architecturally mapped to AArch32 System register DBGWVR<n>[31:0].
DBGWVR<n>_EL1 is in the Core power domain.
If watchpoint n is not implemented, then accesses to this register are:
DBGWVR<n>_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 |
| RESS[14:8] | Bits[56:53] | Bits[52:49] | VA[48:2] | ||||||||||||||||||||||||||||
| VA[48:2] | RES0 |
Reserved, Sign extended. Hardware and software must treat this field as RES0 if the most significant bit of VA is 0 or RES0, and as RES1 if the most significant bit of VA is 1.
Hardware always ignores the value of these bits and it is IMPLEMENTATION DEFINED whether:
Extension to VA[48:2]. For more information, see VA[48:2].
The reset behavior of this field is:
Extension to RESS[14:8]. For more information, see RESS[14:8].
Extension to VA[48:2]. For more information, see VA[48:2].
The reset behavior of this field is:
Extension to RESS[14:8]. For more information, see RESS[14:8].
Bits[48:2] of the address value for comparison.
When FEAT_LVA3 is implemented, (VA[56:53]:VA[52:49]) forms the upper part of the address value. If FEAT_LVA3 is not implemented, bits VA[56:53] are part of the RESS field.
When FEAT_LVA is implemented, VA[52:49] forms the upper part of the address value. If FEAT_LVA is not implemented, bits [52:49] are part of the RESS field.
Arm deprecates setting DBGWVR<n>_EL1[2] == 1.
The reset behavior of this field is:
Reserved, RES0.
| Component | Offset | Instance | Range | | Debug | 0x800 + (16 * n) | DBGWVR<n>_EL1 | 63:0 |
Accessible as follows:
External Debug Auxiliary Processor Feature Register
Provides information about implemented PE features.
The register mnemonic, EDAA32PFR, is derived from previous definitions of this register that defined this register only when AArch64 was not supported.
For general information about the interpretation of the ID registers, see 'Principles of the ID scheme for fields in ID registers'.
There are no configuration notes.
EDAA32PFR 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 |
| RES0 | |||||||||||||||||||||||||||||||
| RES0 | MSA_frac | EL3 | EL2 | PMSA | VMSA |
Reserved, RES0.
Memory System Architecture fractional field. This holds the information on additional Memory System Architectures supported.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| MSA_frac | Meaning |
|---|---|
| 0b0001 | PMSAv8-64 supported in all translation regimes. VMSAv8-64 not supported. |
| 0b0010 | PMSAv8-64 supported in all translation regimes. In addition to PMSAv8-64, stage 1 EL1&0 translation regime also supports VMSAv8-64. |
All other values are reserved.
Access to this field is RO.
Reserved, RES0.
AArch32 EL3 Exception level handling.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| EL3 | Meaning |
|---|---|
| 0b0000 | EL3 is not implemented or can be executed in AArch64 state. |
| 0b0001 | EL3 can be executed in AArch32 state only. |
All other values are reserved.
EDPFR.{EL1, EL0} indicate whether EL1 and EL0 can only be executed in AArch32 state.
Access to this field is RO.
Reserved, RAZ.
AArch32 EL2 Exception level handling.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| EL2 | Meaning |
|---|---|
| 0b0000 | EL2 is not implemented or can be executed in AArch64 state. |
| 0b0001 | EL2 can be executed in AArch32 state only. |
All other values are reserved.
EDPFR.{EL1, EL0} indicate whether EL1 and EL0 can only be executed in AArch32 state.
Access to this field is RO.
Reserved, RAZ.
Indicates support for a 32-bit PMSA.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| PMSA | Meaning |
|---|---|
| 0b0000 | PMSA-32 not supported. |
| 0b0100 | PMSAv8-32 supported. |
In Armv8-A, the only permitted value is 0b0000. All other values are reserved.
Access to this field is RO.
Indicates support for a VMSA in addition to a 32-bit PMSA.
| VMSA | Meaning |
|---|---|
| 0b0000 | VMSA not supported. |
All other values are reserved.
Access to this field is RO.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| VMSA | Meaning |
|---|---|
| 0b0000 | VMSAv8-64 supported. |
| 0b1111 | Memory system architecture described by EDAA32PFR.MSA_frac. |
All other values are reserved.
In Armv8-A, the only permitted value is 0b0000.
Access to this field is RO.
Reserved, RAZ.
| Component | Offset | Instance |
|---|---|---|
| Debug | 0xD60 | EDAA32PFR |
Accessible as follows:
External Debug Auxiliary Control Register
Allows implementations to support IMPLEMENTATION DEFINED controls.
When FEAT_DoPD is implemented, EDACR is in the Core power domain. Otherwise, it is IMPLEMENTATION DEFINED whether EDACR is implemented in the Core power domain or in the Debug power domain.
Implementation of this register is OPTIONAL.
If this register is implemented, EDDEVID.AuxRegs == 0b0001.
If FEAT_DoPD is implemented, any mechanism to preserve control bits in EDACR over power down is optional and IMPLEMENTATION DEFINED.
If FEAT_DoPD is not implemented and EDACR contains any control bits that must be preserved over power down, then these bits must be accessible by the external debug interface when the OS Lock is locked, OSLSR_EL1.OSLK == 1, and when the Core is powered off.
Changing this register from its reset value causes IMPLEMENTATION DEFINED behavior, including possible deviation from the architecturally-defined behavior.
EDACR is a 32-bit register.
| 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| IMPLEMENTATION DEFINED |
IMPLEMENTATION DEFINED.
The following resets apply:
If the register is implemented in the Core power domain:
On a Cold reset, this field resets to an architecturally UNKNOWN value.
On an External debug reset, the value of this field is unchanged.
On a Warm reset, the value of this field is unchanged. If the register is implemented in the External debug power domain:
On a Cold reset, the value of this field is unchanged.
On an External debug reset, this field resets to an architecturally UNKNOWN value.
On a Warm reset, the value of this field is unchanged.
| Component | Offset | Instance |
|---|---|---|
| Debug | 0x094 | EDACR |
Accessible as follows:
External Debug Context ID Sample Register
Contains the sampled value of the Context ID, captured on reading EDPCSR[31:0].
EDCIDSR is in the Core power domain.
This register is present only when FEAT_PCSRv8 is implemented and FEAT_PCSRv8p2 is not implemented. Otherwise, direct accesses to EDCIDSR are RES0.
Implemented only if the OPTIONAL PC Sample-based Profiling Extension is implemented in the external debug registers space.
FEAT_PCSRv8p2 implements the PC Sample-based Profiling Extension in the Performance Monitors registers space.
EDCIDSR is a 32-bit register.
| 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| CONTEXTIDR |
Context ID. The value of CONTEXTIDR that is associated with the most recent EDPCSR sample. When the most recent EDPCSR sample is generated:
If EL1 is using AArch64, then the Context ID is sampled from CONTEXTIDR_EL1.
If EL1 is using AArch32, then the Context ID is sampled from CONTEXTIDR.
If EL3 is implemented and is using AArch32, then CONTEXTIDR is a banked register, and EDCIDSR samples the current banked copy of CONTEXTIDR for the Security state that is associated with the most recent EDPCSR sample. Because the value written to EDCIDSR is an indirect read of CONTEXTIDR, it is CONSTRAINED UNPREDICTABLE whether EDCIDSR is set to the original or new value if EDPCSR samples:
An instruction that writes to CONTEXTIDR.
The next Context synchronization event.
Any instruction executed between these two instructions. The reset behavior of this field is:
On a Cold reset, this field resets to an architecturally UNKNOWN value.
IMPLEMENTATION DEFINED extensions to external debug might make the value of this register UNKNOWN, see 'Permitted behavior that might make the PC Sample-based profiling registers UNKNOWN'.
| Component | Offset | Instance |
|---|---|---|
| Debug | 0x0A4 | EDCIDSR |
Accessible as follows:
External Debug Device Architecture Register
Identifies the programmers' model architecture of the external debug component.
When FEAT_DoPD is implemented, EDDEVARCH is in the Core power domain. Otherwise, EDDEVARCH is in the Debug power domain.
EDDEVARCH is a 32-bit register.
| 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ARCHITECT | PRESENT | REVISION | ARCHVER | ARCHPART |
Defines the architect of the component. For External Debug, this is Arm Limited.
Bits [31:28] are the JEP106 continuation code, 0b0100.
Bits [27:21] are the JEP106 identification code, 0b0111011.
Reads as 0b01000111011.
Access to this field is RO.
DEVARCH presence. Indicates that the EDDEVARCH register provides architecture information.
Reads as 0b1.
Access to this field is RO.
Defines the architecture revision. For architectures defined by Arm this is the minor revision.
For debug, the revision defined by Armv8 is 0x0.
All other values are reserved.
Reads as 0b0000.
Access to this field is RO.
Architecture Version. Defines the architecture version of the component.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| ARCHVER | Meaning |
|---|---|
| 0b0110 | Armv8 debug architecture. |
| 0b0111 | Armv8.1 debug architecture, FEAT_Debugv8p1. |
| 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. |
EDDEVARCH.ARCHVER and EDDEVARCH.ARCHPART are also defined as a single field, EDDEVARCH.ARCHID, so that EDDEVARCH.ARCHVER is EDDEVARCH.ARCHID[15:12].
FEAT_Debugv8p1 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_Debugv8p1 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.
Architecture Part. Defines the architecture of the component.
| ARCHPART | Meaning |
|---|---|
| 0xA15 | Armv8-A debug architecture. |
EDDEVARCH.ARCHVER and EDDEVARCH.ARCHPART are also defined as a single field, EDDEVARCH.ARCHID, so that EDDEVARCH.ARCHPART is EDDEVARCH.ARCHID[11:0].
Armv8-A debug architecture.
Access to this field is RO.
| 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RES0 | PRESENT | RES0 |
Reserved, RES0.
DEVARCH presence. Indicates that the EDDEVARCH register does not provide architecture information.
Reads as 0b0.
Access to this field is RO.
Reserved, RES0.
| Component | Offset | Instance |
|---|---|---|
| Debug | 0xFBC | EDDEVARCH |
Accessible as follows:
External Debug Device ID register 0
Provides extra information for external debuggers about features of the debug implementation.
When FEAT_DoPD is implemented, EDDEVID is in the Core power domain. Otherwise, EDDEVID is in the Debug power domain.
EDDEVID is a 32-bit register.
| 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RES0 | AuxRegs | RES0 | DebugPower | PCSample |
Reserved, RES0.
Indicates support for Auxiliary registers.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| AuxRegs | Meaning |
|---|---|
| 0b0000 | None supported. |
| 0b0001 | Support for External Debug Auxiliary Control Register, EDACR. |
All other values are reserved.
Access to this field is RO.
Reserved, RES0.
Indicates support for the FEAT_DoPD feature.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| DebugPower | Meaning |
|---|---|
| 0b0000 | FEAT_DoPD not implemented. Registers in the external debug interface register map are implemented in a mix of the Debug and Core power domains. |
| 0b0001 | FEAT_DoPD implemented. All registers in the external debug interface register map are implemented in the Core power domain. |
FEAT_DoPD implements the functionality added by the value 0b0001.
All other values are reserved.
Access to this field is RO.
Indicates the level of PC Sample-based Profiling support using external debug registers.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| PCSample | Meaning |
|---|---|
| 0b0000 | PC Sample-based Profiling Extension is not implemented in the external debug registers space. |
| 0b0010 | Only EDPCSR and EDCIDSR are implemented. This option is only permitted if EL3 and EL2 are not implemented. |
| 0b0011 | EDPCSR, EDCIDSR, and EDVIDSR are implemented. |
All other values are reserved.
When FEAT_PCSRv8p2 is implemented, the only permitted value is 0b0000.
FEAT_PCSRv8p2 implements the PC Sample-based Profiling Extension in the Performance Monitors register space, as indicated by the value of PMDEVID.PCSample.
Access to this field is RO.
| Component | Offset | Instance |
|---|---|---|
| Debug | 0xFC8 | EDDEVID |
Accessible as follows:
External Debug Feature Register
Provides top-level information about the debug system.
Debuggers must use EDDEVARCH to determine the Debug architecture version.
For general information about the interpretation of the ID registers, see 'Principles of the ID scheme for fields in ID registers'.
There are no configuration notes.
EDDFR 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 |
| UNKNOWN | ExtTrcBuff | UNKNOWN | TraceBuffer | TraceFilt | UNKNOWN | ||||||||||||||||||||||||||
| CTX_CMPs | RES0 | WRPs | PMSS | BRPs | PMUVer | TraceVer | UNKNOWN |
Reserved, UNKNOWN.
Trace Buffer External Mode Extension.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| ExtTrcBuff | Meaning |
|---|---|
| 0b0000 | Trace Buffer Extension not implemented or Trace Buffer External Mode not implemented. |
| 0b0001 | Trace Buffer Extension implemented and Trace Buffer External Mode implemented. |
All other values are reserved.
If FEAT_TRBE is not implemented, the only permitted value is 0b0000.
FEAT_TRBE_EXT implements the functionality identified by the value 0b0001.
In an implementation that supports AArch64, this field has the same value as ID_AA64DFR0_EL1.ExtTrcBuff.
Access to this field is RO.
Reserved, UNKNOWN.
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. |
| 0b0010 | As 0b0001, and adds: If EL2 and FEAT_FGT are implemented, a fine-grained trap on the TSB CSYNC instruction. If EL2 is implemented, an EL2 control to override TRBLIMITR_EL1.nVM. The TRBE Profiling exception extension, FEAT_TRBE_EXC. |
All other values are reserved.
FEAT_TRBE implements the functionality identified by the value 0b0001.
FEAT_TRBEv1p1 implements the functionality identified by the value 0b0010.
In any Armv9 implementation, if FEAT_ETE is implemented, the value 0b0000 is not permitted.
From Armv9.6, if FEAT_TRBE is implemented, the value 0b0001 is not permitted.
Access to this field is RO.
Reserved, UNKNOWN.
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 FEAT_ETMv4 is implemented, the value 0b0000 is not permitted.
If FEAT_ETE is implemented, the value 0b0000 is not permitted.
Access to this field is RO.
Reserved, UNKNOWN.
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 EDDFR.BRPs.
In an implementation that supports AArch64, this field has the same value as ID_AA64DFR0_EL1.CTX_CMPs.
If FEAT_Debugv8p9 is implemented and 16 or more context-aware breakpoints are implemented, then this field reads as 0b1111 and EDDFR1.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.
Reserved, RES0.
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. |
In an implementation that supports AArch64, this field has the same value as ID_AA64DFR0_EL1.WRPs.
If FEAT_Debugv8p9 is implemented and 16 or more watchpoints are implemented, then this field reads as 0b1111 and EDDFR1.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.
This field either has the same value as ID_AA64DFR0_EL1.PMSS or reads as zero.
This field has an IMPLEMENTATION DEFINED value.
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. |
In an implementation that supports AArch64, this field has the same value as ID_AA64DFR0_EL1.BRPs.
If FEAT_Debugv8p9 is implemented and 16 or more breakpoints are implemented, then this field reads as 0b1111 and EDDFR1.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: Extended 16-bit PMEVTYPER<n>_EL0.evtCount field. If EL2 is implemented, the MDCR_EL2.HPMD control. |
| 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: 64-bit event counters. If EL2 is implemented, the MDCR_EL2.HCCD control. If EL3 is implemented, the MDCR_EL3.SCCD control. |
| 0b0111 | PMUv3 for Armv8.7. As 0b0110, and adds support for: The PMCR_EL0.FZO and, if EL2 is implemented, MDCR_EL2.HPMFZO controls. If EL3 is implemented, the MDCR_EL3.{MPMX,MCCD} controls. |
| 0b1000 | PMUv3 for Armv8.8. As 0b0111, and: Extends the Common event number space to include 0x0040 to 0x00BF and 0x4040 to 0x40BF. Removes the CONSTRAINED UNPREDICTABLE behaviors if a reserved or unimplemented PMU event number is selected. |
| 0b1001 | PMUv3 for Armv8.9. As 0b1000, and: Updates the definitions of existing PMU events. Adds support for the PMUSERENR_EL0.UEN control and the PMUACR_EL1 register. Adds support for the EDECR.PME control. |
| 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.
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.
In an implementation that supports AArch64, this field has the same value as ID_AA64DFR0_EL1.PMUVer.
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.
A value of 0b0000 only indicates that no System register interface to a trace unit is implemented. A trace unit might nevertheless be implemented without a System register interface.
In an implementation that supports AArch64, this field returns the value of ID_AA64DFR0_EL1.TraceVer.
Access to this field is RO.
Reserved, UNKNOWN.
| Component | Offset | Instance |
|---|---|---|
| Debug | 0xD28 | EDDFR |
Accessible as follows:
External Debug Feature Register 1
Provides top-level information about the debug system in AArch64.
There are no configuration notes.
EDDFR1 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 |
| ABL_CMPs | DPFZS | EBEP | ITE | ABLE | PMICNTR | SPMU | |||||||||||||||||||||||||
| CTX_CMPs | WRPs | BRPs | SYSPMUID |
Number of breakpoints that support address linking, minus 1.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| ABL_CMPs | Meaning |
|---|---|
| 0x00..0x3F | Number of breakpoints that support address linking minus 1. |
All other values are reserved.
The number of breakpoints that support address linking is never more than either the number of breakpoints or the number of watchpoints.
In an implementation that supports AArch64, this field has the same value as ID_AA64DFR1_EL1.ABL_CMPs.
Access to this field is RO.
Reserved, RES0.
This field either has the same value as ID_AA64DFR1_EL1.DPFZS or reads as zero.
This field has an IMPLEMENTATION DEFINED value.
Access to this field is RO.
This field either has the same value as ID_AA64DFR1_EL1.EBEP or reads as zero.
This field has an IMPLEMENTATION DEFINED value.
Access to this field is RO.
This field either has the same value as ID_AA64DFR1_EL1.ITE or reads as zero.
This field has an IMPLEMENTATION DEFINED value.
Access to this field is RO.
Address Breakpoint Linking Extension.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| ABLE | Meaning |
|---|---|
| 0b0000 | Address Breakpoint Linking Extension not implemented. |
| 0b0001 | Address Breakpoint Linking Extension implemented. |
All other values are reserved.
FEAT_ABLE implements the functionality identified by the value 0b0001.
In an implementation that supports AArch64, this field has the same value as ID_AA64DFR1_EL1.ABLE.
Access to this field is RO.
This field either has the same value as ID_AA64DFR1_EL1.PMICNTR or reads as zero.
This field has an IMPLEMENTATION DEFINED value.
Access to this field is RO.
This field either has the same value as ID_AA64DFR1_EL1.SPMU or reads as zero.
This field has an IMPLEMENTATION DEFINED value.
Access to this field is RO.
Context-aware breakpoints.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| CTX_CMPs | Meaning |
|---|---|
| 0x00 | EDDFR.CTX_CMPs is the number of context-aware breakpoints, minus 1. |
| 0x01..0x3F | Number of context-aware breakpoints minus 1. |
All other values are reserved.
The value of this field is never greater than EDDFR1.BRPs.
In an implementation that supports AArch64, this field has the same value as ID_AA64DFR1_EL1.CTX_CMPs.
Access to this field is RO.
Watchpoints.
| WRPs | Meaning |
|---|---|
| 0x00 | EDDFR.WRPs is the number of watchpoints, minus 1. |
| 0x01..0x3F | Number of watchpoints minus 1. |
All other values are reserved.
In an implementation that supports AArch64, this field has the same value as ID_AA64DFR1_EL1.WRPs.
Breakpoints.
| BRPs | Meaning |
|---|---|
| 0x00 | EDDFR.BRPs is the number of breakpoints, minus 1. |
| 0x01..0x3F | Number of breakpoints minus 1. |
All other values are reserved.
In an implementation that supports AArch64, this field has the same value as ID_AA64DFR1_EL1.BRPs.
This field either has the same value as ID_AA64DFR1_EL1.SYSPMUID or reads as zero.
This field has an IMPLEMENTATION DEFINED value.
Access to this field is RO.
| Component | Offset | Instance |
|---|---|---|
| Debug | 0xD48 | EDDFR1 |
Accessible as follows:
External Debug Exception Catch Control Register
Controls Exception Catch debug events. For more information, see 'Exception Catch debug event'.
External register EDECCR bits [31:0] are architecturally mapped to AArch64 System register OSECCR_EL1[31:0].
External register EDECCR bits [31:0] are architecturally mapped to AArch32 System register DBGOSECCR[31:0].
EDECCR is in the Core power domain.
EDECCR is a 32-bit register.
| 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RES0 | RLR2 | RLR1 | RLR0 | RES0 | RLE2 | RLE1 | RLE0 | NSR3 | NSR2 | NSR1 | NSR0 | SR3 | SR2 | SR1 | SR0 | NSE3 | NSE2 | NSE1 | NSE0 | SE3 | SE2 | SE1 | SE0 |
Reserved, RES0.
Controls exception catch on exception return to Realm EL2 in conjunction with EDECCR.RLE2.
| RLR2 | Meaning |
|---|---|
| 0b0 | If EDECCR.RLE2 is 0, then Exception Catch debug events are disabled for Realm EL2. If EDECCR.RLE2 is 1, then Exception Catch debug events are enabled for exception entry and exception return to Realm EL2. |
| 0b1 | If EDECCR.RLE2 is 0, then Exception Catch debug events are enabled for exception returns to Realm EL2. If EDECCR.RLE2 is 1, then Exception Catch debug events are enabled for exception entry to Realm EL2. |
The reset behavior of this field is:
Reserved, RES0.
Controls exception catch on exception return to Realm EL1 in conjunction with EDECCR.RLE1.
| RLR1 | Meaning |
|---|---|
| 0b0 | If EDECCR.RLE1 is 0, then Exception Catch debug events are disabled for Realm EL1. If EDECCR.RLE1 is 1, then Exception Catch debug events are enabled for exception entry and exception return to Realm EL1. |
| 0b1 | If EDECCR.RLE1 is 0, then Exception Catch debug events are enabled for exception returns to Realm EL1. If EDECCR.RLE1 is 1, then Exception Catch debug events are enabled for exception entry to Realm EL1. |
The reset behavior of this field is:
Reserved, RES0.
Controls exception catch on exception return to Realm EL0.
| RLR0 | Meaning |
|---|---|
| 0b0 | Exception Catch debug events are disabled for Realm EL0. |
| 0b1 | Exception Catch debug events are enabled for exception returns to Realm EL0. |
The reset behavior of this field is:
Reserved, RES0.
Reserved, RES0.
Controls exception catch on exception entry to Realm EL2. Also controls exception catch on exception return to Realm EL2 in conjunction with EDECCR.RLR2.
| RLE2 | Meaning |
|---|---|
| 0b0 | If EDECCR.RLR2 is 0, then Exception Catch debug events are disabled for Realm EL2. If EDECCR.RLR2 is 1, then Exception Catch debug events are enabled for exception returns to Realm EL2. |
| 0b1 | If EDECCR.RLR2 is 0, then Exception Catch debug events are enabled for exception entry and exception return to Realm EL2. If EDECCR.RLR2 is 1, then Exception Catch debug events are enabled for exception entry to Realm EL2. |
The reset behavior of this field is:
Reserved, RES0.
Controls exception catch on exception entry to Realm EL1. Also controls exception catch on exception return to Realm EL1 in conjunction with EDECCR.RLR1.
| RLE1 | Meaning |
|---|---|
| 0b0 | If EDECCR.RLR1 is 0, then Exception Catch debug events are disabled for Realm EL1. If EDECCR.RLR1 is 1, then Exception Catch debug events are enabled for exception returns to Realm EL1. |
| 0b1 | If EDECCR.RLR1 is 0, then Exception Catch debug events are enabled for exception entry and exception return to Realm EL1. If EDECCR.RLR1 is 1, then Exception Catch debug events are enabled for exception entry to Realm EL1. |
The reset behavior of this field is:
Reserved, RES0.
Access to this field is RES0 .
Access to this field is RES0 .
Controls exception catch on exception return to Non-secure EL2 in conjunction with EDECCR.NSE2.
| NSR2 | Meaning |
|---|---|
| 0b0 | If EDECCR.NSE2 is 0, then Exception Catch debug events are disabled for Non-secure EL2. If EDECCR.NSE2 is 1, then Exception Catch debug events are enabled for exception entry, reset entry, and exception return to Non-secure EL2. |
| 0b1 | If EDECCR.NSE2 is 0, then Exception Catch debug events are enabled for exception returns to Non-secure EL2. If EDECCR.NSE2 is 1, then Exception Catch debug events are enabled for exception entry and reset entry to Non-secure EL2. |
The reset behavior of this field is:
Reserved, RES0.
Controls exception catch on exception return to Non-secure EL1 in conjunction with EDECCR.NSE1.
| NSR1 | Meaning |
|---|---|
| 0b0 | If EDECCR.NSE1 is 0, then Exception Catch debug events are disabled for Non-secure EL1. If EDECCR.NSE1 is 1, then Exception Catch debug events are enabled for exception entry, reset entry, and exception return to Non-secure EL1. |
| 0b1 | If EDECCR.NSE1 is 0, then Exception Catch debug events are enabled for exception returns to Non-secure EL1. If EDECCR.NSE1 is 1, then Exception Catch debug events are enabled for exception entry and reset entry to Non-secure EL1. |
The reset behavior of this field is:
Reserved, RES0.
Controls exception catch on exception return to Non-secure EL0.
| NSR0 | Meaning |
|---|---|
| 0b0 | Exception Catch debug events are disabled for Non-secure EL0. |
| 0b1 | Exception Catch debug events are enabled for exception returns to Non-secure EL0. |
The reset behavior of this field is:
Reserved, RES0.
Controls exception catch on exception return to EL3 in conjunction with EDECCR.SE3.
| SR3 | Meaning |
|---|---|
| 0b0 | If EDECCR.SE3 is 0, then Exception Catch debug events are disabled for EL3. If EDECCR.SE3 is 1, then Exception Catch debug events are enabled for exception entry, reset entry, and exception return to EL3. |
| 0b1 | If EDECCR.SE3 is 0, then Exception Catch debug events are enabled for exception returns to EL3. If EDECCR.SE3 is 1, then Exception Catch debug events are enabled for exception entry and reset entry to EL3. |
The reset behavior of this field is:
Reserved, RES0.
Controls exception catch on exception return to Secure EL2 in conjunction with EDECCR.SE2.
| SR2 | Meaning |
|---|---|
| 0b0 | If EDECCR.SE2 is 0, then Exception Catch debug events are disabled for Secure EL2. If EDECCR.SE2 is 1, then Exception Catch debug events are enabled for exception entry, reset entry, and exception return to Secure EL2. |
| 0b1 | If EDECCR.SE2 is 0, then Exception Catch debug events are enabled for exception returns to Secure EL2. If EDECCR.SE2 is 1, then Exception Catch debug events are enabled for exception entry and reset entry to Secure EL2. |
The reset behavior of this field is:
Reserved, RES0.
Controls exception catch on exception return to Secure EL1 in conjunction with EDECCR.SE1.
| SR1 | Meaning |
|---|---|
| 0b0 | If EDECCR.SE1 is 0, then Exception Catch debug events are disabled for Secure EL1. If EDECCR.SE1 is 1, then Exception Catch debug events are enabled for exception entry, reset entry, and exception return to Secure EL1. |
| 0b1 | If EDECCR.SE1 is 0, then Exception Catch debug events are enabled for exception returns to Secure EL1. If EDECCR.SE1 is 1, then Exception Catch debug events are enabled for exception entry and reset entry to Secure EL1. |
The reset behavior of this field is:
Reserved, RES0.
Controls exception catch on exception return to Secure EL0.
| SR0 | Meaning |
|---|---|
| 0b0 | Exception Catch debug events are disabled for Secure EL0. |
| 0b1 | Exception Catch debug events are enabled for exception returns to Secure EL0. |
The reset behavior of this field is:
Reserved, RES0.
Access to this field is RES0 .
Controls exception catch on exception entry to Non-secure EL2. Also controls exception catch on exception return to Non-secure EL2 in conjunction with EDECCR.NSR2.
| NSE2 | Meaning |
|---|---|
| 0b0 | If EDECCR.NSR2 is 0, then Exception Catch debug events are disabled for Non-secure EL2. If EDECCR.NSR2 is 1, then Exception Catch debug events are enabled for exception returns to Non-secure EL2. |
| 0b1 | If EDECCR.NSR2 is 0, then Exception Catch debug events are enabled for exception entry, reset entry, and exception return to Non-secure EL2. If EDECCR.NSR2 is 1, then Exception Catch debug events are enabled for exception entry and reset entry to Non-secure EL2. |
It is IMPLEMENTATION DEFINED whether a reset entry to an Exception level will generate an Exception Catch debug event.
The reset behavior of this field is:
Coarse-grained exception catch for Non-secure EL2. Controls Exception Catch debug events for Non-secure EL2.
| NSE2 | Meaning |
|---|---|
| 0b0 | Exception Catch debug events are disabled for Non-secure EL2. |
| 0b1 | Exception Catch debug events are enabled for Non-secure EL2. |
The reset behavior of this field is:
Reserved, RES0.
Controls exception catch on exception entry to Non-secure EL1. Also controls exception catch on exception return to Non-secure EL1 in conjunction with EDECCR.NSR1.
| NSE1 | Meaning |
|---|---|
| 0b0 | If EDECCR.NSR1 is 0, then Exception Catch debug events are disabled for Non-secure EL1. If EDECCR.NSR1 is 1, then Exception Catch debug events are enabled for exception returns to Non-secure EL1. |
| 0b1 | If EDECCR.NSR1 is 0, then Exception Catch debug events are enabled for exception entry, reset entry, and exception return to Non-secure EL1. If EDECCR.NSR1 is 1, then Exception Catch debug events are enabled for exception entry and reset entry to Non-secure EL1. |
It is IMPLEMENTATION DEFINED whether a reset entry to an Exception level will generate an Exception Catch debug event.
The reset behavior of this field is:
Coarse-grained exception catch for Non-secure EL1. Controls Exception Catch debug events for Non-secure EL1.
| NSE1 | Meaning |
|---|---|
| 0b0 | Exception Catch debug events are disabled for Non-secure EL1. |
| 0b1 | Exception Catch debug events are enabled for Non-secure EL1. |
The reset behavior of this field is:
Reserved, RES0.
Access to this field is RES0 .
Controls exception catch on exception entry to EL3. Also controls exception catch on exception return to EL3 in conjunction with EDECCR.SR3.
| SE3 | Meaning |
|---|---|
| 0b0 | If EDECCR.SR3 is 0, then Exception Catch debug events are disabled for EL3. If EDECCR.SR3 is 1, then Exception Catch debug events are enabled for exception returns to EL3. |
| 0b1 | If EDECCR.SR3 is 0, then Exception Catch debug events are enabled for exception entry, reset entry, and exception return to EL3. If EDECCR.SR3 is 1, then Exception Catch debug events are enabled for exception entry and reset entry to EL3. |
It is IMPLEMENTATION DEFINED whether a reset entry to an Exception level will generate an Exception Catch debug event.
The reset behavior of this field is:
Coarse-grained exception catch for EL3. Controls Exception Catch debug events for EL3.
| SE3 | Meaning |
|---|---|
| 0b0 | Exception Catch debug events are disabled for EL3. |
| 0b1 | Exception Catch debug events are enabled for EL3. |
The reset behavior of this field is:
Reserved, RES0.
Controls exception catch on exception entry to Secure EL2. Also controls exception catch on exception return to Secure EL2 in conjunction with EDECCR.SR2.
| SE2 | Meaning |
|---|---|
| 0b0 | If EDECCR.SR2 is 0, then Exception Catch debug events are disabled for Secure EL2. If EDECCR.SR2 is 1, then Exception Catch debug events are enabled for exception returns to Secure EL2. |
| 0b1 | If EDECCR.SR2 is 0, then Exception Catch debug events are enabled for exception entry, reset entry, and exception return to Secure EL2. If EDECCR.SR2 is 1, then Exception Catch debug events are enabled for exception entry and reset entry to Secure EL2. |
It is IMPLEMENTATION DEFINED whether a reset entry to an Exception level will generate an Exception Catch debug event.
The reset behavior of this field is:
Reserved, RES0.
Controls exception catch on exception entry to Secure EL1. Also controls exception catch on exception return to Secure EL1 in conjunction with EDECCR.SR1.
| SE1 | Meaning |
|---|---|
| 0b0 | If EDECCR.SR1 is 0, then Exception Catch debug events are disabled for Secure EL1. If EDECCR.SR1 is 1, then Exception Catch debug events are enabled for exception returns to Secure EL1. |
| 0b1 | If EDECCR.SR1 is 0, then Exception Catch debug events are enabled for exception entry, reset entry, and exception return to Secure EL1. If EDECCR.SR1 is 1, then Exception Catch debug events are enabled for exception entry and reset entry to Secure EL1. |
It is IMPLEMENTATION DEFINED whether a reset entry to an Exception level will generate an Exception Catch debug event.
The reset behavior of this field is:
Coarse-grained exception catch for Secure EL1. Controls Exception Catch debug events for Secure EL1.
| SE1 | Meaning |
|---|---|
| 0b0 | Exception Catch debug events are disabled for Secure EL1. |
| 0b1 | Exception Catch debug events are enabled for Secure EL1. |
The reset behavior of this field is:
Reserved, RES0.
Access to this field is RES0 .
| Component | Offset | Instance |
|---|---|---|
| Debug | 0x098 | EDECCR |
Accessible as follows: