SCTLR2_EL1
System Control Register (EL1)
Provides top-level control of the system, including its memory system, at EL1 and EL0.
Configuration
This register is present only when FEAT_SCTLR2 is implemented and FEAT_AA64 is implemented. Otherwise, direct accesses to SCTLR2_EL1 are UNDEFINED.
Attributes
SCTLR2_EL1 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 |
| RES0 | |||||||||||||||||||||||||||||||
| RES0 | EnCF0 | RES0 | GM0 | TLBOSNIS | FDIT | BTD | BTD0 | EnIA2 | EnIB2 | EnDA2 | EnDB2 | RES0 | CPTM0 | CPTM | CPTA0 | CPTA | EnPACM0 | EnPACM | EnIDCP128 | EASE | EnANERR | EnADERR | NMEA | RES0 | |||||||
Bits [63:30]:
Reserved, RES0.
EnCF0, bit [29] when FEAT_CFLT is implemented:
Enable use of conditional fault instructions in EL0.
| EnCF0 | Meaning |
|---|---|
| 0b0 |
Conditional fault instructions are UNDEFINED at EL0. |
| 0b1 |
Conditional fault instructions are not UNDEFINED at EL0. |
When the Effective value of HCR_EL2.{E2H, TGE} is {1, 1}, this bit has no effect on execution.
This field is ignored by the PE and treated as zero when any of the following are true:
- EL3 is implemented and SCR_EL3.SCTLR2En == 0.
- EL2 is implemented and enabled in the current Security state and the Effective value of HCRX_EL2.SCTLR2En is 0.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL1, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Accessing this field has the following behavior:
-
Access to this field is RO if all the following are
true:
- FEAT_SRMASK is implemented.
- EL1 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL1).
- SCTLR2MASK_EL1.EnCF0 == '1'.
Otherwise:
Reserved, RES0.
Bit [28]:
Reserved, RES0.
GM0, bit [27] when FEAT_MTE_GM0 is implemented:
Enable use of LDGM, STGM and STZGM instructions at EL0.
| GM0 | Meaning |
|---|---|
| 0b0 |
LDGM, STGM and STZGM are UNDEFINED at EL0. |
| 0b1 |
LDGM, STGM and STZGM are not UNDEFINED at EL0. |
When the Effective value of HCR_EL2.{E2H, TGE} is {1, 1}, this bit has no effect on execution.
This field is ignored by the PE and treated as zero when any of the following are true:
- EL3 is implemented and SCR_EL3.SCTLR2En == 0.
- EL2 is implemented and enabled in the current Security state and the Effective value of HCRX_EL2.SCTLR2En is 0.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL1, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Accessing this field has the following behavior:
-
Access to this field is RO if all the following are
true:
- FEAT_SRMASK is implemented.
- EL1 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL1).
- SCTLR2MASK_EL1.GM0 == '1'.
Otherwise:
Reserved, RES0.
TLBOSNIS, bit [26] when FEAT_TLBID is implemented:
TLBI for Outer shareable excludes Inner shareable.
This control applies to TLBI OS instructions executed at EL1.
| TLBOSNIS | Meaning |
|---|---|
| 0b0 |
TLBI OS instructions affect TLBs in the Inner and Outer shareability domains. |
| 0b1 |
TLBI OS instructions affect TLBs in the Outer shareability domain, but not in the Inner shareability domain. |
This field is ignored by the PE and treated as zero when any of the following are true:
- EL3 is implemented and SCR_EL3.SCTLR2En == 0.
- EL2 is implemented and enabled in the current Security state and the Effective value of HCRX_EL2.SCTLR2En is 0.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL1, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Accessing this field has the following behavior:
-
Access to this field is RO if all the following are
true:
- FEAT_SRMASK is implemented.
- EL1 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL1).
- SCTLR2MASK_EL1.TLBOSNIS == '1'.
Otherwise:
Reserved, RES0.
FDIT, bit [25] when FEAT_FDIT is implemented:
Enforce data-independent timing for execution at EL0.
| FDIT | Meaning |
|---|---|
| 0b0 |
This control does not affect data-independent timing of execution. |
| 0b1 |
Data-independent timing of execution is enforced. |
When the Effective value of HCR_EL2.{E2H, TGE} is {1, 1}, this bit has no effect on execution.
This field is ignored by the PE and treated as zero when any of the following are true:
- EL3 is implemented and SCR_EL3.SCTLR2En == 0.
- EL2 is implemented and enabled in the current Security state and the Effective value of HCRX_EL2.SCTLR2En is 0.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL1, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Accessing this field has the following behavior:
-
Access to this field is RO if all the following are
true:
- FEAT_SRMASK is implemented.
- EL1 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL1).
- SCTLR2MASK_EL1.FDIT == '1'.
Otherwise:
Reserved, RES0.
BTD, bit [24] when FEAT_PAuth_EnhCtl is implemented:
Controls the implicit BTI behavior of the following instructions at EL1:
- PACIASP and PACIBSP
| BTD | Meaning |
|---|---|
| 0b0 |
The implicit BTI behavior of the instructions is unaffected. |
| 0b1 |
When the instructions are executed, they have no implicit BTI behavior. |
This field is ignored by the PE and treated as zero when any of the following are true:
- EL3 is implemented and SCR_EL3.SCTLR2En == 0.
- EL2 is implemented and enabled in the current Security state and the Effective value of HCRX_EL2.SCTLR2En is 0.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL1, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Accessing this field has the following behavior:
-
Access to this field is RO if all the following are
true:
- FEAT_SRMASK is implemented.
- EL1 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL1).
- SCTLR2MASK_EL1.BTD == '1'.
Otherwise:
Reserved, RES0.
BTD0, bit [23] when FEAT_PAuth_EnhCtl is implemented:
Controls the implicit BTI behavior of the following instructions at EL0 in the EL1&0 translation regime:
- PACIASP and PACIBSP
| BTD0 | Meaning |
|---|---|
| 0b0 |
The implicit BTI behavior of the instructions is unaffected. |
| 0b1 |
When the instructions are executed, they have no implicit BTI behavior. |
This field is ignored by the PE and treated as zero when any of the following are true:
- EL3 is implemented and SCR_EL3.SCTLR2En == 0.
- EL2 is implemented and enabled in the current Security state and the Effective value of HCRX_EL2.SCTLR2En is 0.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL1, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Accessing this field has the following behavior:
-
Access to this field is RO if all the following are
true:
- FEAT_SRMASK is implemented.
- EL1 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL1).
- SCTLR2MASK_EL1.BTD0 == '1'.
Otherwise:
Reserved, RES0.
EnIA2, bit [22] when FEAT_PAuth_EnhCtl is implemented:
Controls enabling of pointer authentication of instruction addresses using the APIAKey_EL1 key, at EL0 in the EL1&0 translation regime. This field is used in conjunction with SCTLR_EL1.EnIA as follows:
| EnIA2 | EnIA | Behavior at EL0 |
|---|---|---|
| 0b0 | 0b0 | Disabled |
| 0b0 | 0b1 | Enabled |
| 0b1 | 0b0 | Enabled |
| 0b1 | 0b1 | Disabled |
This field is ignored by the PE and treated as zero when any of the following are true:
- EL3 is implemented and SCR_EL3.SCTLR2En == 0.
- EL2 is implemented and enabled in the current Security state and the Effective value of HCRX_EL2.SCTLR2En is 0.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL1, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Accessing this field has the following behavior:
-
Access to this field is RO if all the following are
true:
- FEAT_SRMASK is implemented.
- EL1 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL1).
- SCTLR2MASK_EL1.EnIA2 == '1'.
Otherwise:
Reserved, RES0.
EnIB2, bit [21] when FEAT_PAuth_EnhCtl is implemented:
Controls enabling of pointer authentication of instruction addresses using the APIBKey_EL1 key, at EL0 in the EL1&0 translation regime. This field is used in conjunction with SCTLR_EL1.EnIB as follows:
| EnIB2 | EnIB | Behavior at EL0 |
|---|---|---|
| 0b0 | 0b0 | Disabled |
| 0b0 | 0b1 | Enabled |
| 0b1 | 0b0 | Enabled |
| 0b1 | 0b1 | Disabled |
This field is ignored by the PE and treated as zero when any of the following are true:
- EL3 is implemented and SCR_EL3.SCTLR2En == 0.
- EL2 is implemented and enabled in the current Security state and the Effective value of HCRX_EL2.SCTLR2En is 0.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL1, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Accessing this field has the following behavior:
-
Access to this field is RO if all the following are
true:
- FEAT_SRMASK is implemented.
- EL1 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL1).
- SCTLR2MASK_EL1.EnIB2 == '1'.
Otherwise:
Reserved, RES0.
EnDA2, bit [20] when FEAT_PAuth_EnhCtl is implemented:
Controls enabling of pointer authentication of data addresses using the APDAKey_EL1 key, at EL0 in the EL1&0 translation regime. This field is used in conjunction with SCTLR_EL1.EnDA as follows:
| EnDA2 | EnDA | Behavior at EL0 |
|---|---|---|
| 0b0 | 0b0 | Disabled |
| 0b0 | 0b1 | Enabled |
| 0b1 | 0b0 | Enabled |
| 0b1 | 0b1 | Disabled |
This field is ignored by the PE and treated as zero when any of the following are true:
- EL3 is implemented and SCR_EL3.SCTLR2En == 0.
- EL2 is implemented and enabled in the current Security state and the Effective value of HCRX_EL2.SCTLR2En is 0.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL1, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Accessing this field has the following behavior:
-
Access to this field is RO if all the following are
true:
- FEAT_SRMASK is implemented.
- EL1 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL1).
- SCTLR2MASK_EL1.EnDA2 == '1'.
Otherwise:
Reserved, RES0.
EnDB2, bit [19] when FEAT_PAuth_EnhCtl is implemented:
Controls enabling of pointer authentication of data addresses using the APDBKey_EL1 key, at EL0 in the EL1&0 translation regime. This field is used in conjunction with SCTLR_EL1.EnDB as follows:
| EnDB2 | EnDB | Behavior at EL0 |
|---|---|---|
| 0b0 | 0b0 | Disabled |
| 0b0 | 0b1 | Enabled |
| 0b1 | 0b0 | Enabled |
| 0b1 | 0b1 | Disabled |
This field is ignored by the PE and treated as zero when any of the following are true:
- EL3 is implemented and SCR_EL3.SCTLR2En == 0.
- EL2 is implemented and enabled in the current Security state and the Effective value of HCRX_EL2.SCTLR2En is 0.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL1, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Accessing this field has the following behavior:
-
Access to this field is RO if all the following are
true:
- FEAT_SRMASK is implemented.
- EL1 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL1).
- SCTLR2MASK_EL1.EnDB2 == '1'.
Otherwise:
Reserved, RES0.
Bits [18:13]:
Reserved, RES0.
CPTM0, bit [12] when FEAT_CPA2 is implemented:
This field controls unprivileged Checked Pointer Arithmetic for Multiplication.
| CPTM0 | Meaning |
|---|---|
| 0b0 |
Pointer Arithmetic for Multiplication is not checked. |
| 0b1 |
Pointer Arithmetic for Multiplication is checked. |
When the Effective value of HCR_EL2.{E2H, TGE} is {1, 1}, this bit has no effect on execution.
This field is ignored by the PE and treated as zero when any of the following are true:
- EL3 is implemented and SCR_EL3.SCTLR2En == 0.
- EL2 is implemented and enabled in the current Security state and the Effective value of HCRX_EL2.SCTLR2En is 0.
If the Effective value of SCTLR2_EL1.CPTA0 is 0, then the Effective value of this field is 0.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL1, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Accessing this field has the following behavior:
-
Access to this field is RO if all the following are
true:
- FEAT_SRMASK is implemented.
- EL1 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL1).
- SCTLR2MASK_EL1.CPTM0 == '1'.
Otherwise:
Reserved, RES0.
CPTM, bit [11] when FEAT_CPA2 is implemented:
This field controls Checked Pointer Arithmetic for Multiplication at EL1.
| CPTM | Meaning |
|---|---|
| 0b0 |
Pointer Arithmetic for Multiplication is not checked. |
| 0b1 |
Pointer Arithmetic for Multiplication is checked. |
This field is ignored by the PE and treated as zero when any of the following are true:
- EL3 is implemented and SCR_EL3.SCTLR2En == 0.
- EL2 is implemented and enabled in the current Security state and the Effective value of HCRX_EL2.SCTLR2En is 0.
If the Effective value of SCTLR2_EL1.CPTA is 0, then the Effective value of this field is 0.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL1, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Accessing this field has the following behavior:
-
Access to this field is RO if all the following are
true:
- FEAT_SRMASK is implemented.
- EL1 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL1).
- SCTLR2MASK_EL1.CPTM == '1'.
Otherwise:
Reserved, RES0.
CPTA0, bit [10] when FEAT_CPA2 is implemented:
This field controls unprivileged Checked Pointer Arithmetic for Addition.
| CPTA0 | Meaning |
|---|---|
| 0b0 |
Pointer Arithmetic for Addition is not checked. |
| 0b1 |
Pointer Arithmetic for Addition is checked. |
When the Effective value of HCR_EL2.{E2H, TGE} is {1, 1}, this bit has no effect on execution.
This field is ignored by the PE and treated as zero when any of the following are true:
- EL3 is implemented and SCR_EL3.SCTLR2En == 0.
- EL2 is implemented and enabled in the current Security state and the Effective value of HCRX_EL2.SCTLR2En is 0.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL1, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Accessing this field has the following behavior:
-
Access to this field is RO if all the following are
true:
- FEAT_SRMASK is implemented.
- EL1 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL1).
- SCTLR2MASK_EL1.CPTA0 == '1'.
Otherwise:
Reserved, RES0.
CPTA, bit [9] when FEAT_CPA2 is implemented:
This field controls Checked Pointer Arithmetic for Addition at EL1.
| CPTA | Meaning |
|---|---|
| 0b0 |
Pointer Arithmetic for Addition is not checked. |
| 0b1 |
Pointer Arithmetic for Addition is checked. |
This field is ignored by the PE and treated as zero when any of the following are true:
- EL3 is implemented and SCR_EL3.SCTLR2En == 0.
- EL2 is implemented and enabled in the current Security state and the Effective value of HCRX_EL2.SCTLR2En is 0.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL1, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Accessing this field has the following behavior:
-
Access to this field is RO if all the following are
true:
- FEAT_SRMASK is implemented.
- EL1 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL1).
- SCTLR2MASK_EL1.CPTA == '1'.
Otherwise:
Reserved, RES0.
EnPACM0, bit [8] when FEAT_PAuth_LR is implemented:
PACM Enable at EL0. Controls the effect of a PACM instruction at EL0.
| EnPACM0 | Meaning |
|---|---|
| 0b0 |
The effects of PACM are disabled at EL0. |
| 0b1 |
A PACM instruction at EL0 causes PSTATE.PACM to be set to 1. |
When the Effective value of HCR_EL2.{E2H, TGE} is {1, 1}, this bit has no effect on execution at EL0.
This field is ignored by the PE and treated as zero when any of the following are true:
- EL3 is implemented and SCR_EL3.SCTLR2En == 0.
- EL2 is implemented and enabled in the current Security state and the Effective value of HCRX_EL2.SCTLR2En is 0.
- EL2 is implemented and enabled in the current Security state and the Effective value of HCRX_EL2.PACMEn == 0.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL1, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Accessing this field has the following behavior:
-
Access to this field is RO if all the following are
true:
- FEAT_SRMASK is implemented.
- EL1 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL1).
- SCTLR2MASK_EL1.EnPACM0 == '1'.
Otherwise:
Reserved, RES0.
EnPACM, bit [7] when FEAT_PAuth_LR is implemented:
PACM Enable at EL1. Controls the effect of a PACM instruction at EL1.
| EnPACM | Meaning |
|---|---|
| 0b0 |
The effects of PACM are disabled at EL1. |
| 0b1 |
A PACM instruction at EL1 causes PSTATE.PACM to be set to 1. |
This field is ignored by the PE and treated as zero when any of the following are true:
- EL3 is implemented and SCR_EL3.SCTLR2En == 0.
- EL2 is implemented and enabled in the current Security state and the Effective value of HCRX_EL2.SCTLR2En is 0.
- EL2 is implemented and enabled in the current Security state and the Effective value of HCRX_EL2.PACMEn == 0.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL1, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Accessing this field has the following behavior:
-
Access to this field is RO if all the following are
true:
- FEAT_SRMASK is implemented.
- EL1 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL1).
- SCTLR2MASK_EL1.EnPACM == '1'.
Otherwise:
Reserved, RES0.
EnIDCP128, bit [6] when FEAT_SYSREG128 is implemented:
Enables access to IMPLEMENTATION DEFINED 128-bit System registers.
| EnIDCP128 | Meaning |
|---|---|
| 0b0 |
Execution of MRRS and MSRR instructions at EL0 to the encodings reserved for IMPLEMENTATION DEFINED functionality are trapped to EL1 using an ESR_EL1.EC value of 0x14, unless the access generates a higher priority exception. Disables the functionality of the 128-bit IMPLEMENTATION DEFINED System registers that are accessible at EL1. |
| 0b1 |
No accesses are trapped by this control. |
This field is ignored by the PE and treated as zero when any of the following are true:
- EL3 is implemented and SCR_EL3.SCTLR2En == 0.
- EL2 is implemented and enabled in the current Security state and the Effective value of HCRX_EL2.SCTLR2En is 0.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL1, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Accessing this field has the following behavior:
-
Access to this field is RO if all the following are
true:
- FEAT_SRMASK is implemented.
- EL1 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL1).
- SCTLR2MASK_EL1.EnIDCP128 == '1'.
Otherwise:
Reserved, RES0.
EASE, bit [5] when FEAT_DoubleFault2 is implemented:
External Aborts to SError exception vector.
| EASE | Meaning |
|---|---|
| 0b0 |
Synchronous External abort exceptions taken to EL1 are taken to the appropriate synchronous exception vector offset from VBAR_EL1. |
| 0b1 |
Synchronous External abort exceptions taken to EL1 are taken to the appropriate SError exception vector offset from VBAR_EL1. |
This field is ignored by the PE and treated as zero when any of the following are true:
- EL3 is implemented and SCR_EL3.SCTLR2En == 0.
- EL2 is implemented and enabled in the current Security state and the Effective value of HCRX_EL2.SCTLR2En is 0.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL1, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Accessing this field has the following behavior:
-
Access to this field is RO if all the following are
true:
- FEAT_SRMASK is implemented.
- EL1 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL1).
- SCTLR2MASK_EL1.EASE == '1'.
Otherwise:
Reserved, RES0.
EnANERR, bit [4] when FEAT_ANERR is implemented:
Enable Asynchronous Normal Read Error.
| EnANERR | Meaning |
|---|---|
| 0b0 |
External aborts on Normal memory reads generate synchronous Data Abort exceptions in the EL1&0 translation regime. |
| 0b1 |
External aborts on Normal memory reads generate synchronous Data Abort or asynchronous SError exceptions in the EL1&0 translation regime. |
Implementation-specific exceptions to applications of this field are described in 'Taking error exceptions'.
Setting this field to 0 does not guarantee that the PE is able to take a synchronous Data Abort exception for an External abort on a Normal memory read in every case. There might be implementation-specific circumstances when an error on a load cannot be taken synchronously. These circumstances should be rare enough that treating such occurrences as fatal does not cause a significant increase in failure rate.
If FEAT_SVE is implemented, SCTLR2_EL1.EnANERR is 0, and the access generating the External abort is due to any Active element of an SVE Non-fault vector load instruction or an Active element that is not the First active element of an SVE First-fault vector load instruction, then no exception is generated and the External abort is reported in the FFR.
Setting this field to 0 might have a performance impact for Normal memory reads.
This field is ignored by the PE and treated as zero when EL2 is implemented and enabled in the current Security state and the Effective value of HCRX_EL2.EnSNERR is 1.
This field is ignored by the PE and treated as an IMPLEMENTATION DEFINED value when any of the following are true:
- EL3 is implemented and SCR_EL3.SCTLR2En == 0.
- EL2 is implemented and enabled in the current Security state and the Effective value of HCRX_EL2.SCTLR2En is 0.
This IMPLEMENTATION DEFINED value is:
- If EL3 is implemented, the IMPLEMENTATION DEFINED reset value of SCTLR2_EL3.EnANERR.
- Otherwise, the IMPLEMENTATION DEFINED reset value of SCTLR2_EL2.EnANERR.
Otherwise, this field is ignored by the PE and treated as one when all of the following are true:
- FEAT_ADERR is implemented.
- ID_AA64MMFR3_EL1.ANERR reads as 0b0010.
- SCTLR2_EL1.EnADERR is 1.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL1, this field resets to an IMPLEMENTATION DEFINED value.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Accessing this field has the following behavior:
-
Access to this field is RO if all the following are
true:
- FEAT_SRMASK is implemented.
- EL1 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL1).
- SCTLR2MASK_EL1.EnANERR == '1'.
Otherwise:
Reserved, RES0.
EnADERR, bit [3] when FEAT_ADERR is implemented:
Enable Asynchronous Device Read Error.
| EnADERR | Meaning |
|---|---|
| 0b0 |
External aborts on Device memory reads generate synchronous Data Abort exceptions in the EL1&0 translation regime. |
| 0b1 |
External aborts on Device memory reads generate synchronous Data Abort or asynchronous SError exceptions in the EL1&0 translation regime. |
Implementation-specific exceptions to applications of this field are described in 'Taking error exceptions'.
Setting this field to 0 does not guarantee that the PE is able to take a synchronous Data Abort exception for an External abort on a Device memory read in every case. There might be implementation-specific circumstances when an error on a load cannot be taken synchronously. These circumstances should be rare enough that treating such occurrences as fatal does not cause a significant increase in failure rate.
If FEAT_SVE is implemented, SCTLR2_EL1.EnADERR is 0, and the access generating the External abort is due to any Active element of an SVE Non-fault vector load instruction or an Active element that is not the First active element of an SVE First-fault vector load instruction, then no exception is generated and the External abort is reported in the FFR.
Setting this field to 0 might have a performance impact for Device memory reads.
This field is ignored by the PE and treated as zero when EL2 is implemented and enabled in the current Security state and the Effective value of HCRX_EL2.EnSDERR is 1.
This field is ignored by the PE and treated as an IMPLEMENTATION DEFINED value when any of the following are true:
- EL3 is implemented and SCR_EL3.SCTLR2En == 0.
- EL2 is implemented and enabled in the current Security state and the Effective value of HCRX_EL2.SCTLR2En is 0.
This IMPLEMENTATION DEFINED value is:
- If EL3 is implemented, the IMPLEMENTATION DEFINED reset value of SCTLR2_EL3.EnADERR.
- Otherwise, the IMPLEMENTATION DEFINED reset value of SCTLR2_EL2.EnADERR.
Otherwise, this field is ignored by the PE and treated as one when all of the following are true:
- FEAT_ANERR is implemented.
- ID_AA64MMFR3_EL1.ADERR reads as 0b0010.
- SCTLR2_EL1.EnANERR is 1.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL1, this field resets to an IMPLEMENTATION DEFINED value.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Accessing this field has the following behavior:
-
Access to this field is RO if all the following are
true:
- FEAT_SRMASK is implemented.
- EL1 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL1).
- SCTLR2MASK_EL1.EnADERR == '1'.
Otherwise:
Reserved, RES0.
NMEA, bit [2] when FEAT_DoubleFault2 is implemented:
Non-maskable External Aborts. Controls whether PSTATE.A masks physical SError exceptions at EL1.
| NMEA | Meaning |
|---|---|
| 0b0 |
Physical SError exceptions are not taken at EL1 if PSTATE.A == 1, unless routed to a higher Exception level. |
| 0b1 |
Physical SError exceptions are taken at EL1 regardless of the value of PSTATE.A, unless routed to a higher Exception level. |
This field has no effect on the masking of virtual and delegated SError interrupts.
This field is ignored by the PE and treated as zero when any of the following are true:
- EL3 is implemented and SCR_EL3.SCTLR2En == 0.
- EL2 is implemented and enabled in the current Security state and the Effective value of HCRX_EL2.SCTLR2En is 0.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL1, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Accessing this field has the following behavior:
-
Access to this field is RO if all the following are
true:
- FEAT_SRMASK is implemented.
- EL1 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL1).
- SCTLR2MASK_EL1.NMEA == '1'.
Otherwise:
Reserved, RES0.
Bits [1:0]:
Reserved, RES0.
Access Instructions
When the Effective value of HCR_EL2.E2H is 1, without explicit synchronization, accesses from EL3 using the accessor name SCTLR2_EL1 or SCTLR2_EL12 are not guaranteed to be ordered with respect to accesses using the other accessor name.
If FEAT_SRMASK is implemented, accesses to SCTLR2_EL1 are masked by SCTLR2MASK_EL1.
Accesses to this register use the following encodings in the System register encoding space:
MRS <Xt>, SCTLR2_EL1
(op0 = 0b11, op1 = 0b000, CRn = 0b0001, CRm = 0b0000, op2 = 0b011)
if !(IsFeatureImplemented(FEAT_SCTLR2) && IsFeatureImplemented(FEAT_AA64)) then
Undefined();
elsif HaveEL(EL3) && !(EffectivelyAtEL0InHost() || EffectivelyAtEL0NotInHost() || PSTATE.EL == EL3) && EL3SDDUndefPriority() && SCR_EL3().SCTLR2En == '0' then
Undefined();
elsif PSTATE.EL == EL0 then
Undefined();
elsif PSTATE.EL == EL1 then
if EL2Enabled() && HCR_EL2().TRVM == '1' then
AArch64_SystemAccessTrap(EL2, 0x18);
elsif EL2Enabled() && IsFeatureImplemented(FEAT_FGT) && (!HaveEL(EL3) || SCR_EL3().FGTEn == '1') && HFGRTR_EL2().SCTLR_EL1 == '1' then
AArch64_SystemAccessTrap(EL2, 0x18);
elsif EL2Enabled() && (!IsHCRXEL2Enabled() || HCRX_EL2().SCTLR2En == '0') then
AArch64_SystemAccessTrap(EL2, 0x18);
elsif HaveEL(EL3) && SCR_EL3().SCTLR2En == '0' then
if EL3SDDUndef() then
Undefined();
else
AArch64_SystemAccessTrap(EL3, 0x18);
end;
elsif EffectiveHCR_EL2_NVx() IN {'111'} then
X{64}(t) = NVMem(0x278);
else
X{64}(t) = SCTLR2_EL1();
end;
elsif PSTATE.EL == EL2 then
if HaveEL(EL3) && SCR_EL3().SCTLR2En == '0' then
if EL3SDDUndef() then
Undefined();
else
AArch64_SystemAccessTrap(EL3, 0x18);
end;
elsif ELIsInHost(EL2) then
X{64}(t) = SCTLR2_EL2();
else
X{64}(t) = SCTLR2_EL1();
end;
elsif PSTATE.EL == EL3 then
X{64}(t) = SCTLR2_EL1();
end;
MSR SCTLR2_EL1, <Xt>
(op0 = 0b11, op1 = 0b000, CRn = 0b0001, CRm = 0b0000, op2 = 0b011)
if !(IsFeatureImplemented(FEAT_SCTLR2) && IsFeatureImplemented(FEAT_AA64)) then
Undefined();
elsif HaveEL(EL3) && !(EffectivelyAtEL0InHost() || EffectivelyAtEL0NotInHost() || PSTATE.EL == EL3) && EL3SDDUndefPriority() && SCR_EL3().SCTLR2En == '0' then
Undefined();
elsif PSTATE.EL == EL0 then
Undefined();
elsif PSTATE.EL == EL1 then
if EL2Enabled() && HCR_EL2().TVM == '1' then
AArch64_SystemAccessTrap(EL2, 0x18);
elsif EL2Enabled() && IsFeatureImplemented(FEAT_FGT) && (!HaveEL(EL3) || SCR_EL3().FGTEn == '1') && HFGWTR_EL2().SCTLR_EL1 == '1' then
AArch64_SystemAccessTrap(EL2, 0x18);
elsif EL2Enabled() && (!IsHCRXEL2Enabled() || HCRX_EL2().SCTLR2En == '0') then
AArch64_SystemAccessTrap(EL2, 0x18);
elsif HaveEL(EL3) && SCR_EL3().SCTLR2En == '0' then
if EL3SDDUndef() then
Undefined();
else
AArch64_SystemAccessTrap(EL3, 0x18);
end;
elsif EffectiveHCR_EL2_NVx() IN {'111'} then
NVMem(0x278) = X{64}(t);
else
SCTLR2_EL1() = X{64}(t);
end;
elsif PSTATE.EL == EL2 then
if HaveEL(EL3) && SCR_EL3().SCTLR2En == '0' then
if EL3SDDUndef() then
Undefined();
else
AArch64_SystemAccessTrap(EL3, 0x18);
end;
elsif ELIsInHost(EL2) then
SCTLR2_EL2() = X{64}(t);
else
SCTLR2_EL1() = X{64}(t);
end;
elsif PSTATE.EL == EL3 then
SCTLR2_EL1() = X{64}(t);
end;
When FEAT_VHE is implemented:
MRS <Xt>, SCTLR2_EL12
(op0 = 0b11, op1 = 0b101, CRn = 0b0001, CRm = 0b0000, op2 = 0b011)
if !(IsFeatureImplemented(FEAT_SCTLR2) && IsFeatureImplemented(FEAT_AA64)) then
Undefined();
elsif HaveEL(EL3) && PSTATE.EL == EL2 && EL3SDDUndefPriority() && SCR_EL3().SCTLR2En == '0' then
Undefined();
elsif PSTATE.EL == EL0 then
Undefined();
elsif PSTATE.EL == EL1 then
if EffectiveHCR_EL2_NVx() == '101' then
X{64}(t) = NVMem(0x278);
elsif EffectiveHCR_EL2_NVx() IN {'xx1'} then
AArch64_SystemAccessTrap(EL2, 0x18);
else
Undefined();
end;
elsif PSTATE.EL == EL2 then
if ELIsInHost(EL2) then
if HaveEL(EL3) && SCR_EL3().SCTLR2En == '0' then
if EL3SDDUndef() then
Undefined();
else
AArch64_SystemAccessTrap(EL3, 0x18);
end;
else
X{64}(t) = SCTLR2_EL1();
end;
else
Undefined();
end;
elsif PSTATE.EL == EL3 then
if ELIsInHost(EL2) then
X{64}(t) = SCTLR2_EL1();
else
Undefined();
end;
end;
When FEAT_VHE is implemented:
MSR SCTLR2_EL12, <Xt>
(op0 = 0b11, op1 = 0b101, CRn = 0b0001, CRm = 0b0000, op2 = 0b011)
if !(IsFeatureImplemented(FEAT_SCTLR2) && IsFeatureImplemented(FEAT_AA64)) then
Undefined();
elsif HaveEL(EL3) && PSTATE.EL == EL2 && EL3SDDUndefPriority() && SCR_EL3().SCTLR2En == '0' then
Undefined();
elsif PSTATE.EL == EL0 then
Undefined();
elsif PSTATE.EL == EL1 then
if EffectiveHCR_EL2_NVx() == '101' then
NVMem(0x278) = X{64}(t);
elsif EffectiveHCR_EL2_NVx() IN {'xx1'} then
AArch64_SystemAccessTrap(EL2, 0x18);
else
Undefined();
end;
elsif PSTATE.EL == EL2 then
if ELIsInHost(EL2) then
if HaveEL(EL3) && SCR_EL3().SCTLR2En == '0' then
if EL3SDDUndef() then
Undefined();
else
AArch64_SystemAccessTrap(EL3, 0x18);
end;
else
SCTLR2_EL1() = X{64}(t);
end;
else
Undefined();
end;
elsif PSTATE.EL == EL3 then
if ELIsInHost(EL2) then
SCTLR2_EL1() = X{64}(t);
else
Undefined();
end;
end;
When FEAT_SRMASK is implemented:
MRS <Xt>, SCTLR2ALIAS_EL1
(op0 = 0b11, op1 = 0b000, CRn = 0b0001, CRm = 0b0100, op2 = 0b111)
if !(IsFeatureImplemented(FEAT_SCTLR2) && IsFeatureImplemented(FEAT_AA64)) then
Undefined();
elsif HaveEL(EL3) && !(EffectivelyAtEL0InHost() || EffectivelyAtEL0NotInHost() || PSTATE.EL == EL3) && EL3SDDUndefPriority() && SCR_EL3().SCTLR2En == '0' then
Undefined();
elsif PSTATE.EL == EL0 then
Undefined();
elsif PSTATE.EL == EL1 then
if EL2Enabled() && HCR_EL2().TRVM == '1' then
AArch64_SystemAccessTrap(EL2, 0x18);
elsif EL2Enabled() && IsFeatureImplemented(FEAT_FGT2) && ((HaveEL(EL3) && SCR_EL3().FGTEn2 == '0') || HFGRTR2_EL2().nSCTLR2ALIAS_EL1 == '0') then
AArch64_SystemAccessTrap(EL2, 0x18);
elsif EL2Enabled() && (!IsHCRXEL2Enabled() || HCRX_EL2().SCTLR2En == '0') then
AArch64_SystemAccessTrap(EL2, 0x18);
elsif HaveEL(EL3) && SCR_EL3().SCTLR2En == '0' then
if EL3SDDUndef() then
Undefined();
else
AArch64_SystemAccessTrap(EL3, 0x18);
end;
elsif EffectiveHCR_EL2_NVx() IN {'111'} then
X{64}(t) = NVMem(0x278);
else
X{64}(t) = SCTLR2_EL1();
end;
elsif PSTATE.EL == EL2 then
if HaveEL(EL3) && SCR_EL3().SCTLR2En == '0' then
if EL3SDDUndef() then
Undefined();
else
AArch64_SystemAccessTrap(EL3, 0x18);
end;
elsif ELIsInHost(EL2) then
X{64}(t) = SCTLR2_EL2();
else
X{64}(t) = SCTLR2_EL1();
end;
elsif PSTATE.EL == EL3 then
X{64}(t) = SCTLR2_EL1();
end;
When FEAT_SRMASK is implemented:
MSR SCTLR2ALIAS_EL1, <Xt>
(op0 = 0b11, op1 = 0b000, CRn = 0b0001, CRm = 0b0100, op2 = 0b111)
if !(IsFeatureImplemented(FEAT_SCTLR2) && IsFeatureImplemented(FEAT_AA64)) then
Undefined();
elsif HaveEL(EL3) && !(EffectivelyAtEL0InHost() || EffectivelyAtEL0NotInHost() || PSTATE.EL == EL3) && EL3SDDUndefPriority() && SCR_EL3().SCTLR2En == '0' then
Undefined();
elsif PSTATE.EL == EL0 then
Undefined();
elsif PSTATE.EL == EL1 then
if EL2Enabled() && HCR_EL2().TVM == '1' then
AArch64_SystemAccessTrap(EL2, 0x18);
elsif EL2Enabled() && IsFeatureImplemented(FEAT_FGT2) && ((HaveEL(EL3) && SCR_EL3().FGTEn2 == '0') || HFGWTR2_EL2().nSCTLR2ALIAS_EL1 == '0') then
AArch64_SystemAccessTrap(EL2, 0x18);
elsif EL2Enabled() && (!IsHCRXEL2Enabled() || HCRX_EL2().SCTLR2En == '0') then
AArch64_SystemAccessTrap(EL2, 0x18);
elsif HaveEL(EL3) && SCR_EL3().SCTLR2En == '0' then
if EL3SDDUndef() then
Undefined();
else
AArch64_SystemAccessTrap(EL3, 0x18);
end;
elsif EffectiveHCR_EL2_NVx() IN {'111'} then
NVMem(0x278) = X{64}(t);
else
SCTLR2_EL1() = X{64}(t);
end;
elsif PSTATE.EL == EL2 then
if HaveEL(EL3) && SCR_EL3().SCTLR2En == '0' then
if EL3SDDUndef() then
Undefined();
else
AArch64_SystemAccessTrap(EL3, 0x18);
end;
elsif ELIsInHost(EL2) then
SCTLR2_EL2() = X{64}(t);
else
SCTLR2_EL1() = X{64}(t);
end;
elsif PSTATE.EL == EL3 then
SCTLR2_EL1() = 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.