This forum was built by humans, for humans. AI was used exclusively for security auditing. The forum officially launched on November 24, 2026. Read more

romdump.net
romdump.net › Forum › Silicon & Architectures › External debug and trace register pages: part 5 of 22

Writeup External debug and trace register pages: part 5 of 22

started by admin

admin admin admingod mode Posts 116
Rep 505
Joined Nov 2026
2d ago (edited) OP #84

Archived Arm source pages for the External debug and trace register pages. Part 5 of 22. This part covers EDSCR2 through ERRCTLR, n = 0 to 65534.

EDSCR2

External Debug Status and Control Register 2

Main control register 2 for the debug implementation.

Configuration

External register EDSCR2 bits [3, 1] are architecturally mapped to AArch64 System register MDSCR_EL1[35, 33].

EDSCR2 is in the Core power domain.

This register is present only when FEAT_Debugv8p9 is implemented or FEAT_TRBE_EXT is implemented. Otherwise, direct accesses to EDSCR2 are RES0.

Attributes

EDSCR2 is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
RES0EHBWERES0TTARES0

Bits [31:4]:

Reserved, RES0.

EHBWE, bit [3] when FEAT_Debugv8p9 is implemented:

Extended Halting Breakpoint and Watchpoint Enable. Enables use of additional breakpoints or watchpoints.

EHBWEMeaning
0b0Halting disabled for Breakpoint and Watchpoint debug events generated by each breakpoint <n> and Watchpoint <n>, where n is greater than or equal to 16.
0b1Breakpoints and Watchpoint debug events are not affected by this mechanism.

When OSLSR_EL1.OSLK is 1, this field can be read and written through the MDSCR_EL1 System register.

It is IMPLEMENTATION DEFINED whether this field is implemented or is RES0 when 16 or fewer breakpoints are implemented, 16 or fewer watchpoints are implemented, and MDSELR_EL1 is implemented as RAZ/WI.

The reset behavior of this field is:

  • On a Cold reset, this field resets to '0'.

Otherwise:

Reserved, RES0.

Bit [2]:

Reserved, RES0.

TTA, bit [1] when FEAT_TRBE_EXT is implemented or FEAT_ETEv1p3 is implemented:

Trap Trace Accesses.

Traps access to the following System registers:

AArch64: TRBBASER_EL1, TRBIDR_EL1, TRBLIMITR_EL1, TRBMAR_EL1, TRBMPAM_EL1, TRBPTR_EL1, TRBSR_EL1, TRBTRG_EL1, TRCACATR<n>, TRCACVR<n>, TRCAUTHSTATUS, TRCAUXCTLR, TRCBBCTLR, TRCCCCTLR, TRCCIDCCTLR0, TRCCIDCCTLR1, TRCCIDCVR<n>, TRCCLAIMCLR, TRCCLAIMSET, TRCCNTCTLR<n>, TRCCNTRLDVR<n>, TRCCNTVR<n>, TRCCONFIGR, TRCDEVARCH, TRCDEVID, TRCEVENTCTL0R, TRCEVENTCTL1R, TRCEXTINSELR<n>, TRCIDR0, TRCIDR1, TRCIDR2, TRCIDR3, TRCIDR4, TRCIDR5, TRCIDR6, TRCIDR7, TRCIDR8, TRCIDR9, TRCIDR10, TRCIDR11, TRCIDR12, TRCIDR13, TRCIMSPEC0, TRCIMSPEC<n>, TRCITEEDCR, TRCOSLSR, TRCPRGCTLR, TRCQCTLR, TRCRSCTLR<n>, TRCRSR, TRCSEQEVR<n>, TRCSEQRSTEVR, TRCSEQSTR, TRCSSCCR<n>, TRCSSCSR<n>, TRCSSPCICR<n>, TRCSTALLCTLR, TRCSTATR, TRCSYNCPR, TRCTRACEIDR, TRCTSCTLR, TRCVICTLR, TRCVIIECTLR, TRCVIPCSSCTLR, TRCVISSCTLR, TRCVMIDCCTLR0, TRCVMIDCCTLR1, and TRCVMIDCVR<n>.

TTAMeaning
0b0Accesses to trace System registers do not generate a Software Access debug event.
0b1Accesses to trace System registers generate a Software Access debug event, if OSLSR_EL1.OSLK is 0 and if halting is allowed.

When OSLSR_EL1.OSLK is 1, this field can be read and written through the MDSCR_EL1 System register.

The reset behavior of this field is:

  • On a Cold reset, this field resets to '0'.

Otherwise:

Reserved, RES0.

Bit [0]:

Reserved, RES0.

Accessing EDSCR2

EDSCR2 can be accessed through the external debug interface:

ComponentOffsetInstance
Debug0x028EDSCR2

Accessible as follows:

  • When DoubleLockStatus(), or !IsCorePowered(), or OSLockStatus(), accesses to this register generate an error response.
  • Otherwise, accesses to this register are RW.

EDVIDSR

External Debug Virtual Context Sample Register

Contains sampled values captured on reading EDPCSR[31:0].

Configuration

EDVIDSR 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 EDVIDSR are RES0.

If FEAT_Debugv8p1 is implemented, the format of this register differs depending on the value of EDSCR.SC2.

Implemented only if the OPTIONAL PC Sample-based Profiling Extension is implemented in the external debug registers space.

When FEAT_PCSRv8 is implemented in the external debug registers space, if EL2 is not implemented and EL3 is not implemented, it is IMPLEMENTATION DEFINED whether EDVIDSR is implemented.

FEAT_PCSRv8p2 implements the FEAT_PCSRv8 in the Performance Monitors registers space.

Attributes

EDVIDSR is a 32-bit register.

Field descriptions

When FEAT_Debugv8p1 is not implemented or EDSCR.SC2 == '0':

313029282726252423222120191817161514131211109876543210
NSE2E3HVRES0VMID[15:8]VMID

This format applies in all Armv8.0 implementations.

NS, bit [31]:

Non-secure state sample. Indicates the Security state associated with the most recent EDPCSR sample.

If EL3 is not implemented, this bit indicates the Effective value of SCR.NS.

NSMeaning
0b0Sample is from Secure state.
0b1Sample is from Non-secure state.

The reset behavior of this field is:

  • On a Cold reset, this field resets to an architecturally UNKNOWN value.

E2, bit [30] when EL2 is implemented:

Exception level 2 status sample. Indicates whether the most recent EDPCSR sample was associated with EL2.

E2Meaning
0b0Sample is not from EL2.
0b1Sample is from EL2.

The reset behavior of this field is:

  • On a Cold reset, this field resets to an architecturally UNKNOWN value.

Otherwise:

Reserved, RES0.

E3, bit [29] when EL3 is implemented and FEAT_AA64 is implemented:

Exception level 3 status sample. Indicates whether the most recent EDPCSR sample was associated with EL3 using AArch64.

E3Meaning
0b0Sample is not from EL3 using AArch64.
0b1Sample is from EL3 using AArch64.

The reset behavior of this field is:

  • On a Cold reset, this field resets to an architecturally UNKNOWN value.

Otherwise:

Reserved, RES0.

HV, bit [28]:

EDPCSRhi (EDPCSR[63:32]) valid. Indicates whether bits [63:32] of the most recent EDPCSR sample might be nonzero:

HVMeaning
0b0Bits[63:32] of the most recent EDPCSR sample are zero.
0b1Bits[63:32] of the most recent EDPCSR sample might be nonzero.

An EDVIDSR.HV value of 1 does not mean that the value of EDPCSRhi is nonzero. An EDVIDSR.HV value of 0 is a hint that EDPCSRhi (EDPCSR[63:32]) does not need to be read.

The reset behavior of this field is:

  • On a Cold reset, this field resets to an architecturally UNKNOWN value.

Bits [27:16]:

Reserved, RES0.

VMID[15:8], bits [15:8] when FEAT_VMID16 is implemented and EL2 is implemented:

Extension to VMID[7:0]. For more information, see VMID[7:0].

The reset behavior of this field is:

  • On a Cold reset, this field resets to an architecturally UNKNOWN value.

Otherwise:

Reserved, RES0.

VMID, bits [7:0] when EL2 is implemented:

VMID sample. The VMID associated with the most recent EDPCSRlo (EDPCSR[31:0]) sample. When the most recent EDPCSR sample was generated:

This field is RES0 if any of the following apply:

  • The PE is executing in Secure state.

  • The PE is executing at EL2. Otherwise:

  • If EL2 is using AArch64 and either FEAT_VMID16 is not implemented or VTCR_EL2.VS is 1, this field is set to VTTBR_EL2.VMID.

  • If EL2 is using AArch64, FEAT_VMID16 is implemented, and VTCR_EL2.VS is 0, PMVIDSR.VMID[7:0] is set to VTTBR_EL2.VMID[7:0] and PMVIDSR.VMID[15:8] is RES0.

  • If EL2 is using AArch32, this field is set to VTTBR.VMID. The reset behavior of this field is:

  • On a Cold reset, this field resets to an architecturally UNKNOWN value.

Otherwise:

Reserved, RES0.

When EL2 is implemented, FEAT_Debugv8p1 is implemented, and EDSCR.SC2 == '1':

313029282726252423222120191817161514131211109876543210
CONTEXTIDR_EL2

CONTEXTIDR_EL2, bits [31:0]:

Context ID. The value of CONTEXTIDR_EL2 that is associated with the most recent EDPCSR sample. When the most recent EDPCSR sample is generated:

  • If the PE is not executing at EL3, EL2 is using AArch64, and EL2 is enabled in the current Security state, then this field is set to the Context ID sampled from CONTEXTIDR_EL2.

  • Otherwise, this field is set to an UNKNOWN value. The reset behavior of this field is:

  • On a Cold reset, this field resets to an architecturally UNKNOWN value.

Accessing EDVIDSR

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'.

EDVIDSR can be accessed through the external debug interface:

ComponentOffsetInstance
Debug0x0A8EDVIDSR

Accessible as follows:

  • When DoubleLockStatus(), or !IsCorePowered(), or OSLockStatus(), accesses to this register generate an error response.
  • Otherwise, accesses to this register are RO.

This site offers reference documentation for the AArch64 instruction set and system registers defined by the Armv8-A and Armv9-A architectures.

You can use the search field below (and at the top of every page) to search for an instruction or system register. Alternatively, you can browse the full listings manually:

  • All Instructions: Base | SIMD | SVE | SME
  • All Registers: AArch64 | AArch32

If you see this note instead of a search field, your browser either does not support WebAssembly or it has been disabled, e.g. in Apple's Lockdown Mode.


ERR<n>ADDR, n = 0, 65534

Error Record <n> Address Register

If an address is associated with a detected error, then it is written to ERR<n>ADDR when the error is recorded. It is IMPLEMENTATION DEFINED how the recorded address maps to the software-visible physical address. Software might have to reconstruct the actual physical addresses using the identity of the node and knowledge of the system.

Configuration

This register is present only when error record n is implemented and error record n includes an address associated with an error. Otherwise, direct accesses to ERR<n>ADDR are RES0.

ERRFR[FirstRecordOfNode(n)] describes the features implemented by the node that owns error record <n>. FirstRecordOfNode(n) is the index of the first error record owned by the same node as error record <n>. If the node owns a single record then FirstRecordOfNode(n) = n.

Attributes

ERR<n>ADDR is a 64-bit register.

Field descriptions

6362616059585756555453525150494847464544434241403938373635343332
313029282726252423222120191817161514131211109876543210
NSSIAIVANSERES0PADDR
PADDR

NS, bit [63] when FEAT_RME is implemented:

Non-secure attribute. With ERR<n>ADDR.NSE, indicates the physical address space of the recorded location.

NSMeaning
0b0When ERR<n>ADDR.NSE == 0: ERR<n>ADDR.PADDR is a Secure address. When ERR<n>ADDR.NSE == 1: ERR<n>ADDR.PADDR is a Root address.
0b1When ERR<n>ADDR.NSE == 0: ERR<n>ADDR.PADDR is a Non-secure address. When ERR<n>ADDR.NSE == 1: ERR<n>ADDR.PADDR is a Realm address.

The reset behavior of this field is:

  • On a Cold reset, this field resets to an architecturally UNKNOWN value.

Otherwise:

Non-secure attribute.

NSMeaning
0b0ERR<n>ADDR.PADDR is a Secure address.
0b1ERR<n>ADDR.PADDR is a Non-secure address.

The reset behavior of this field is:

  • On a Cold reset, this field resets to an architecturally UNKNOWN value.

SI, bit [62] when FEAT_RME is implemented:

Secure Incorrect. Indicates whether ERR<n>ADDR.{NS, NSE} are valid.

SIMeaning
0b0ERR<n>ADDR.{NS, NSE} are correct. That is, they match the software's view of the physical address space for the recorded location.
0b1ERR<n>ADDR.{NS, NSE} might not be correct, and might not match the software's view of the physical address space for the recorded location.

It is IMPLEMENTATION DEFINED whether this field is read-only or read/write.

The reset behavior of this field is:

  • On a Cold reset, this field resets to an architecturally UNKNOWN value.

Otherwise:

Secure Incorrect. Indicates whether ERR<n>ADDR.NS is valid.

SIMeaning
0b0ERR<n>ADDR.NS is correct. That is, it matches the software's view of the Non-secure attribute for the recorded location.
0b1ERR<n>ADDR.NS might not be correct, and might not match the software's view of the Non-secure attribute for the recorded location.

It is IMPLEMENTATION DEFINED whether this field is read-only or read/write.

The reset behavior of this field is:

  • On a Cold reset, this field resets to an architecturally UNKNOWN value.

AI, bit [61]:

Address Incorrect. Indicates whether ERR<n>ADDR.PADDR is a valid physical address that is known to match the software's view of the physical address for the recorded location.

AIMeaning
0b0ERR<n>ADDR.PADDR is a valid physical address. That is, it matches the software's view of the physical address for the recorded location.
0b1ERR<n>ADDR.PADDR might not be a valid physical address, and might not match the software's view of the physical address for the recorded location.

It is IMPLEMENTATION DEFINED whether this field is read-only or read/write.

The reset behavior of this field is:

  • On a Cold reset, this field resets to an architecturally UNKNOWN value.

VA, bit [60]:

Virtual Address. Indicates whether ERR<n>ADDR.PADDR field is a virtual address.

VAMeaning
0b0ERR<n>ADDR.PADDR is not a virtual address.
0b1ERR<n>ADDR.PADDR is a virtual address.

No context information is provided for the virtual address. When ERR<n>ADDR.VA is recorded as 1, ERR<n>ADDR.{NS, SI, AI} are recorded as {0, 1, 1} and, if FEAT_RME is implemented, ERR<n>ADDR.NSE is recorded as 0.

Support for this field is optional. If this field is not implemented and ERR<n>ADDR.PADDR field is a virtual address, then ERR<n>ADDR.{NS, SI, AI} read as {0, 1, 1} and, if FEAT_RME is implemented, ERR<n>ADDR.NSE reads as 0.

It is IMPLEMENTATION DEFINED whether this field is read-only or read/write.

The reset behavior of this field is:

  • On a Cold reset, this field resets to an architecturally UNKNOWN value.

NSE, bit [59] when FEAT_RME is implemented:

Physical Address Space. Together with ERR<n>ADDR.NS, indicates the address space for ERR<n>ADDR.PADDR.

The reset behavior of this field is:

  • On a Cold reset, this field resets to an architecturally UNKNOWN value.

Otherwise:

Reserved, RES0.

Bits [58:56]:

Reserved, RES0.

PADDR, bits [55:0]:

Physical Address. Address of the recorded location. If the physical address size implemented by this component is smaller than the size of this field, then high-order bits are unimplemented and either RES0 or have a fixed read-only IMPLEMENTATION DEFINED value. Low-order address bits might also be unimplemented and RES0, for example, if the physical address is always aligned to the size of a protection granule.

The reset behavior of this field is:

  • On a Cold reset, this field resets to an architecturally UNKNOWN value.

Accessing ERR<n>ADDR

ERR<n>ADDR can be accessed through the memory-mapped interfaces:

ComponentOffsetInstance
RAS0x018 + (64 * n)ERR<n>ADDR

Accessible as follows:

  • When ERR<n>STATUS.AV == '0', the node that owns error record n implements the Common Fault Injection Model Extension, and ERRPFGF[FirstRecordOfNode(n)].AV == '1', accesses to this register are RW.
  • When ERR<n>STATUS.AV == '0', accesses to this register are UNKNOWN/WI.
  • Otherwise, accesses to this register are RO or RW.

ERR<n>CTLR, n = 0, 65534

Error Record <n> Control Register

The error control register contains enable bits for the node that writes to this record:

  • Enabling error detection and correction.
  • Enabling the critical error, error recovery, and fault handling interrupts.
  • Enabling in-band error response for uncorrected errors. For each bit, if the node does not support the feature, then the bit is RES0. The definition of each record is IMPLEMENTATION DEFINED.

Configuration

This register is present only when error record n is implemented and error record n is the first error record in the node. Otherwise, direct accesses to ERR<n>CTLR are RES0.

ERR<n>FR contains additional information about the node.

Attributes

ERR<n>CTLR is a 64-bit register.

Field descriptions

6362616059585756555453525150494847464544434241403938373635343332
313029282726252423222120191817161514131211109876543210
IMPLEMENTATION DEFINED
RES0WDFIBit[14]CICEDWDUIBit[10]WCFIBit[8]WUEWFIWUIBit[4]Bit[3]Bit[2]IMPLEMENTATION DEFINEDED

IMPLEMENTATION DEFINED, bits [63:32]:

Reserved for IMPLEMENTATION DEFINED controls. Must permit SBZP write policy for software.

Bits [31:16]:

Reserved, RES0.

WDFI, bit [15] when FEAT_RASSA_DFI is implemented and ERR<n>FR.DFI == '11':

Fault handling interrupt for Deferred errors on writes enable, with ERR<n>CTLR.WFI.

When enabled by ERR<n>CTLR.{WDFI, WFI}:

  • The fault handling interrupt is generated for errors recorded as Deferred error on writes.
  • If the corresponding fault handling interrupt control for corrected error events, ERR<n>CTLR.WCFI, is not implemented, then the fault handling interrupt is generated for corrected error events on writes.
WDFIMeaning
0b0When ERR<n>CTLR.WFI == 0, Fault handling interrupt not generated for Deferred errors on writes. When ERR<n>CTLR.WFI == 1, Fault handling interrupt generated for Deferred errors on writes.
0b1When ERR<n>CTLR.WFI == 0, Fault handling interrupt generated for Deferred errors on writes. When ERR<n>CTLR.WFI == 1, Fault handling interrupt not generated for Deferred errors on writes.

See ERR<n>CTLR.CFI for more information on corrected error events.

The interrupt is generated even if the error syndrome is discarded because the error record already records a higher priority error.

The reset behavior of this field is:

  • On a Cold reset, this field resets to an architecturally UNKNOWN value.

Otherwise:

Reserved, RES0.

Bit[14] when FEAT_RASSA_DFI is implemented and ERR<n>FR.DFI == '10':

DFI, bit [14]

Fault handling interrupt for Deferred errors enable, with ERR<n>CTLR.FI.

When ERR<n>FR.DFI == 0b10, this control applies to errors on both reads and writes.

When enabled by ERR<n>CTLR.{DFI, FI}:

  • The fault handling interrupt is generated for all errors recorded as Deferred error.
  • If the fault handling interrupt control for corrected error events, ERR<n>CTLR.CFI, is not implemented, then the fault handling interrupt is generated for all corrected error events.
DFIMeaning
0b0When ERR<n>CTLR.FI == 0, Fault handling interrupt not generated for Deferred errors. When ERR<n>CTLR.FI == 1, Fault handling interrupt generated for Deferred errors.
0b1When ERR<n>CTLR.FI == 0, Fault handling interrupt generated for Deferred errors. When ERR<n>CTLR.FI == 1, Fault handling interrupt not generated for Deferred errors.

See ERR<n>CTLR.CFI for more information on corrected error events.

The interrupt is generated even if the error syndrome is discarded because the error record already records a higher priority error.

The reset behavior of this field is:

  • On a Cold reset, this field resets to an architecturally UNKNOWN value.

when FEAT_RASSA_DFI is implemented and ERR<n>FR.DFI == '11':

RDFI, bit [14]

Fault handling interrupt for Deferred errors on reads enable, with ERR<n>CTLR.RFI.

When enabled by ERR<n>CTLR.{RDFI, RFI}:

  • The fault handling interrupt is generated for errors recorded as Deferred error on reads.
  • If the corresponding fault handling interrupt control for corrected error events, ERR<n>CTLR.RCFI, is not implemented, then the fault handling interrupt is generated for corrected error events on reads.
RDFIMeaning
0b0When ERR<n>CTLR.RFI == 0, Fault handling interrupt not generated for Deferred errors on reads. When ERR<n>CTLR.RFI == 1, Fault handling interrupt generated for Deferred errors on reads.
0b1When ERR<n>CTLR.RFI == 0, Fault handling interrupt generated for Deferred errors on reads. When ERR<n>CTLR.RFI == 1, Fault handling interrupt not generated for Deferred errors on reads.

See ERR<n>CTLR.CFI for more information on corrected error events.

The interrupt is generated even if the error syndrome is discarded because the error record already records a higher priority error.

The reset behavior of this field is:

  • On a Cold reset, this field resets to an architecturally UNKNOWN value.

Otherwise:

Reserved, RES0.

CI, bit [13] when FEAT_RASSA_CI is implemented:

Critical error interrupt enable. When enabled, the critical error interrupt is generated for a critical error condition.

CIMeaning
0b0Critical error interrupt not generated for critical errors. Critical errors are treated as Uncontained errors.
0b1Critical error interrupt generated for critical errors.

The reset behavior of this field is:

  • On a Cold reset, this field resets to an architecturally UNKNOWN value.

Otherwise:

Reserved, RES0.

CED, bit [12] when FEAT_RASSA_CED is implemented:

Disable generation of corrected error events from error counters.

CEDMeaning
0b0Corrected error events are generated by the error counter or counters.
0b1Corrected error events are generated when a Corrected error is recorded.

See ERR<n>CTLR.CFI for more information on corrected error events.

The reset behavior of this field is:

  • On a Cold reset, this field resets to an architecturally UNKNOWN value.

Otherwise:

Reserved, RES0.

WDUI, bit [11] when FEAT_RASSA_DUI is implemented and ERR<n>FR.DUI == '11':

Error recovery interrupt for Deferred errors on writes enable.

When enabled, the error recovery interrupt is generated for errors recorded as Deferred error on writes.

WDUIMeaning
0b0Error recovery interrupt not generated for Deferred errors on writes.
0b1Error recovery interrupt generated for Deferred errors on writes.

The interrupt is generated even if the error syndrome is discarded because the error record already records a higher priority error.

The reset behavior of this field is:

  • On a Cold reset, this field resets to an architecturally UNKNOWN value.

Otherwise:

Reserved, RES0.

Bit[10] when FEAT_RASSA_DUI is implemented and ERR<n>FR.DUI == '10':

DUI, bit [10]

Error recovery interrupt for Deferred errors enable.

When ERR<n>FR.DUI == 0b10, this control applies to errors arising from both reads and writes.

When enabled, the error recovery interrupt is generated for all errors recorded as Deferred error.

DUIMeaning
0b0Error recovery interrupt not generated for Deferred errors.
0b1Error recovery interrupt generated for Deferred errors.

The interrupt is generated even if the error syndrome is discarded because the error record already records a higher priority error.

The reset behavior of this field is:

  • On a Cold reset, this field resets to an architecturally UNKNOWN value.

when FEAT_RASSA_DUI is implemented and ERR<n>FR.DUI == '11':

RDUI, bit [10]

Error recovery interrupt for Deferred errors on reads enable.

When enabled, the error recovery interrupt is generated for errors recorded as Deferred error on reads.

RDUIMeaning
0b0Error recovery interrupt not generated for Deferred errors on reads.
0b1Error recovery interrupt generated for Deferred errors on reads.

The interrupt is generated even if the error syndrome is discarded because the error record already records a higher priority error.

The reset behavior of this field is:

  • On a Cold reset, this field resets to an architecturally UNKNOWN value.

Otherwise:

Reserved, RES0.

WCFI, bit [9] when FEAT_RASSA_CFI is implemented and ERR<n>FR.CFI == '11':

Fault handling interrupt for corrected error events on writes enable.

When enabled, the fault handling interrupt is generated for corrected error events on writes.

WCFIMeaning
0b0Fault handling interrupt not generated for corrected error events on writes.
0b1Fault handling interrupt generated for corrected error events on writes.

See ERR<n>CTLR.CFI for more information on corrected error events.

The interrupt is generated even if the error syndrome is discarded because the error record already records a higher priority error.

The reset behavior of this field is:

  • On a Cold reset, this field resets to an architecturally UNKNOWN value.

Otherwise:

Reserved, RES0.

Bit[8] when FEAT_RASSA_CFI is implemented and ERR<n>FR.CFI == '10':

CFI, bit [8]

Fault handling interrupt for corrected error events enable.

When ERR<n>FR.CFI == 0b10, this control applies to errors on both reads and writes.

When enabled, the fault handling interrupt is generated for all corrected error events.

CFIMeaning
0b0Fault handling interrupt not generated for corrected error events.
0b1Fault handling interrupt generated for corrected error events.

If the node implements a corrected error counter or counters, and either FEAT_RASSA_CED is not implemented or ERR<n>CTLR.CED is 0, then a corrected error event is defined as follows:

A corrected error event occurs when a counter overflows and sets a counter overflow flag to 1.

It is UNPREDICTABLE whether a corrected error event occurs when a software write sets a counter overflow flag to 1.

It is UNPREDICTABLE whether a corrected error event occurs when a counter overflows and the overflow flag was previously set to 1.

Otherwise, a corrected error event occurs when the error record records an error as a Corrected error.

The interrupt is generated even if the error syndrome is discarded because the error record already records a higher priority error.

The reset behavior of this field is:

  • On a Cold reset, this field resets to an architecturally UNKNOWN value.

when FEAT_RASSA_CFI is implemented and ERR<n>FR.CFI == '11':

RCFI, bit [8]

Fault handling interrupt for corrected error events on reads enable.

When enabled, the fault handling interrupt is generated for corrected error events on reads.

RCFIMeaning
0b0Fault handling interrupt not generated for corrected error events on reads.
0b1Fault handling interrupt generated for corrected error events on reads.

If the node implements a corrected error counter or counters, and either FEAT_RASSA_CED is not implemented or ERR<n>CTLR.CED is 0, then a corrected error event is defined as follows:

A corrected error event occurs when a counter overflows and sets a counter overflow flag to 1.

It is UNPREDICTABLE whether a corrected error event occurs when a software write sets a counter overflow flag to 1.

It is UNPREDICTABLE whether a corrected error event occurs when a counter overflows and the overflow flag was previously set to 1.

Otherwise, a corrected error event occurs when the error record records an error as a Corrected error.

The interrupt is generated even if the error syndrome is discarded because the error record already records a higher priority error.

The reset behavior of this field is:

  • On a Cold reset, this field resets to an architecturally UNKNOWN value.

Otherwise:

Reserved, RES0.

WUE, bit [7] when FEAT_RASSA_UE_CTRL is implemented and ERR<n>FR.UE == '11':

In-band error response on writes enable.

When enabled, responses to writes that detect an error that is not corrected and is not deferred are signaled with an in-band error response (External abort).

It is IMPLEMENTATION DEFINED whether an uncorrected error that is deferred and recorded as Deferred error, but is not deferred to the Requester, will signal an in-band error response to the Requester.

WUEMeaning
0b0In-band error response for uncorrected errors on writes disabled.
0b1In-band error response for uncorrected errors on writes enabled.

The reset behavior of this field is:

  • On a Cold reset, this field resets to an architecturally UNKNOWN value.

Otherwise:

Reserved, RES0.

WFI, bit [6] when FEAT_RASSA_FI is implemented and ERR<n>FR.FI == '11':

Fault handling interrupt on writes enable.

When enabled:

  • The fault handling interrupt is generated for errors recorded as Uncorrected error on writes.
  • If the corresponding fault handling interrupt control for Deferred errors, ERR<n>CTLR.WDFI, is not implemented, then the fault handling interrupt is generated for errors recorded as Deferred error on writes.
  • If the corresponding fault handling interrupt controls for Deferred errors and corrected error events, ERR<n>CTLR.{WDFI, WCFI}, are not implemented, then the fault handling interrupt is generated for corrected error events on writes.
WFIMeaning
0b0Fault handling interrupt on writes disabled.
0b1Fault handling interrupt on writes enabled.

See ERR<n>CTLR.CFI for more information on corrected error events.

The interrupt is generated even if the error syndrome is discarded because the error record already records a higher priority error.

The reset behavior of this field is:

  • On a Cold reset, this field resets to an architecturally UNKNOWN value.

Otherwise:

Reserved, RES0.

WUI, bit [5] when FEAT_RASSA_UI is implemented and ERR<n>FR.UI == '11':

Uncorrected error recovery interrupt on writes enable.

When enabled, the error recovery interrupt is generated for errors recorded as Uncorrected error on writes.

WUIMeaning
0b0Error recovery interrupt on writes disabled.
0b1Error recovery interrupt on writes enabled.

The interrupt is generated even if the error syndrome is discarded because the error record already records a higher priority error.

The reset behavior of this field is:

  • On a Cold reset, this field resets to an architecturally UNKNOWN value.

Otherwise:

Reserved, RES0.

Bit[4] when FEAT_RASSA_UE_CTRL is implemented and ERR<n>FR.UE == '10':

UE, bit [4]

In-band error response enable.

When ERR<n>FR.UE == 0b10, this control applies to errors arising from both reads and writes.

When enabled, responses to transactions that detect an error that is not corrected and is not deferred are signaled with an in-band error response (External abort).

It is IMPLEMENTATION DEFINED whether an uncorrected error that is deferred and recorded as Deferred error, but is not deferred to the Requester, will signal an in-band error response to the Requester.

UEMeaning
0b0In-band error response for uncorrected errors disabled.
0b1In-band error response for uncorrected errors enabled.

The reset behavior of this field is:

  • On a Cold reset, this field resets to an architecturally UNKNOWN value.

when FEAT_RASSA_UE_CTRL is implemented and ERR<n>FR.UE == '11':

RUE, bit [4]

In-band error response on reads enable.

When enabled, responses to reads that detect an error that is not corrected and is not deferred are signaled with an in-band error response (External abort).

It is IMPLEMENTATION DEFINED whether an uncorrected error that is deferred and recorded as Deferred error, but is not deferred to the Requester, will signal an in-band error response to the Requester.

RUEMeaning
0b0In-band error response for uncorrected errors on reads disabled.
0b1In-band error response for uncorrected errors on reads enabled.

The reset behavior of this field is:

  • On a Cold reset, this field resets to an architecturally UNKNOWN value.

Otherwise:

Reserved, RES0.

Bit[3] when FEAT_RASSA_FI is implemented and ERR<n>FR.FI == '10':

FI, bit [3]

Fault handling interrupt enable.

When ERR<n>FR.FI == 0b10, this control applies to errors on both reads and writes.

When enabled:

  • The fault handling interrupt is generated for all errors recorded as Uncorrected error.
  • If the fault handling interrupt control for Deferred errors, ERR<n>CTLR.DFI, is not implemented, then the fault handling interrupt is generated for all errors recorded as Deferred error.
  • If the fault handling interrupt controls for Deferred errors and corrected error events, ERR<n>CTLR.{DFI, CFI}, are not implemented, then the fault handling interrupt is generated for all corrected error events.
FIMeaning
0b0Fault handling interrupt disabled.
0b1Fault handling interrupt enabled.

See ERR<n>CTLR.CFI for more information on corrected error events.

The interrupt is generated even if the error syndrome is discarded because the error record already records a higher priority error.

The reset behavior of this field is:

  • On a Cold reset, this field resets to an architecturally UNKNOWN value.

when FEAT_RASSA_FI is implemented and ERR<n>FR.FI == '11':

RFI, bit [3]

Fault handling interrupt on reads enable.

When enabled:

  • The fault handling interrupt is generated for errors recorded as Uncorrected error on reads.
  • If the corresponding fault handling interrupt control for Deferred errors, ERR<n>CTLR.RDFI, is not implemented, then the fault handling interrupt is generated for errors recorded as Deferred error on reads.
  • If the corresponding fault handling interrupt controls for Deferred errors and corrected error events, ERR<n>CTLR.{RDFI, RCFI}, are not implemented, then the fault handling interrupt is generated for corrected error events on reads.
RFIMeaning
0b0Fault handling interrupt on reads disabled.
0b1Fault handling interrupt on reads enabled.

See ERR<n>CTLR.CFI for more information on corrected error events.

The interrupt is generated even if the error syndrome is discarded because the error record already records a higher priority error.

The reset behavior of this field is:

  • On a Cold reset, this field resets to an architecturally UNKNOWN value.

Otherwise:

Reserved, RES0.

Bit[2] when FEAT_RASSA_UI is implemented and ERR<n>FR.UI == '10':

UI, bit [2]

Uncorrected error recovery interrupt enable.

When ERR<n>FR.UI == 0b10, this control applies to errors arising from both reads and writes.

When enabled, the error recovery interrupt is generated for all errors recorded as Uncorrected error.

UIMeaning
0b0Error recovery interrupt disabled.
0b1Error recovery interrupt enabled.

The interrupt is generated even if the error syndrome is discarded because the error record already records a higher priority error.

The reset behavior of this field is:

  • On a Cold reset, this field resets to an architecturally UNKNOWN value.

when FEAT_RASSA_UI is implemented and ERR<n>FR.UI == '11':

RUI, bit [2]

Uncorrected error recovery interrupt on reads enable.

When enabled, the error recovery interrupt is generated for errors recorded as Uncorrected error on reads.

RUIMeaning
0b0Error recovery interrupt on reads disabled.
0b1Error recovery interrupt on reads enabled.

The interrupt is generated even if the error syndrome is discarded because the error record already records a higher priority error.

The reset behavior of this field is:

  • On a Cold reset, this field resets to an architecturally UNKNOWN value.

Otherwise:

Reserved, RES0.

IMPLEMENTATION DEFINED, bit [1]:

Reserved for IMPLEMENTATION DEFINED controls. Must permit SBZP write policy for software.

ED, bit [0] when FEAT_RASSA_ED is implemented and ERR<n>FR.ED == '10':

Error reporting and logging enable. When disabled, the node behaves as if error detection and correction are disabled, and no errors are recorded or signaled by the node. Arm recommends that, when disabled, correct error detection and correction codes are written for writes, unless disabled by an IMPLEMENTATION DEFINED control for error injection.

EDMeaning
0b0Error reporting disabled.
0b1Error reporting enabled.

It is IMPLEMENTATION DEFINED whether the node fully disables error detection and correction when reporting is disabled. That is, even with error reporting disabled, the node might continue to silently correct errors. Uncorrected errors might result in corrupt data being silently propagated by the node.

If this node requires initialization after Cold reset to prevent signaling false errors, then Arm recommends this field is set to 0 on Cold reset, meaning errors are not reported from Cold reset. This allows boot software to initialize a node without signaling errors. Software can enable error reporting after the node is initialized. Otherwise, the Cold reset value is IMPLEMENTATION DEFINED. If the Cold reset value is 1, the reset values of other controls in this register are also IMPLEMENTATION DEFINED and should not be UNKNOWN.

The reset behavior of this field is:

  • On an Error recovery reset, when FEAT_RASSA_SRV is implemented, this field resets to '0'. On a Cold reset:

    • When FEAT_RASSA_SRV is implemented, this field resets to '0'.
    • Otherwise, this field resets to an IMPLEMENTATION DEFINED value.

Otherwise:

Reserved, RES0.

Accessing ERR<n>CTLR

ERR<n>CTLR can be accessed through the memory-mapped interfaces:

ComponentOffsetInstance
RAS0x008 + (64 * n)ERR<n>CTLR

Accesses to this register are RW.

Log in to reply.