SCTLR_EL2
System Control Register (EL2)
Provides top-level control of the system, including its memory system, at EL2.
When the Effective value of HCR_EL2.{E2H, TGE} is {1, 1}, these controls apply also to execution at EL0.
Configuration
AArch64 System register SCTLR_EL2 bits [31:0] are architecturally mapped to AArch32 System register HSCTLR[31:0].
This register is present only when FEAT_AA64 is implemented. Otherwise, direct accesses to SCTLR_EL2 are UNDEFINED.
If EL2 is not implemented, this register is RES0 from EL3.
This register has no effect if EL2 is not enabled in the current Security state.
Attributes
SCTLR_EL2 is a 64-bit register.
Field descriptions
| 63 | 62 | 61 | 60 | 59 | 58 | 57 | 56 | 55 | 54 | 53 | 52 | 51 | 50 | 49 | 48 | 47 | 46 | 45 | 44 | 43 | 42 | 41 | 40 | 39 | 38 | 37 | 36 | 35 | 34 | 33 | 32 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
| TIDCP | SPINTMASK | NMI | EnTP2 | TCSO | TCSO0 | EPAN | EnALS | EnAS0 | EnASR | RES0 | TWEDEL | TWEDEn | DSSBS | ATA | ATA0 | TCF | TCF0 | ITFSB | BT | BT0 | EnFPM | MSCEn | CMOW | ||||||||
| EnIA | EnIB | LSMAOE | nTLSMD | EnDA | UCI | EE | E0E | SPAN | EIS | IESB | TSCXT | WXN | nTWE | RES0 | nTWI | UCT | DZE | EnDB | I | EOS | EnRCTX | RES0 | SED | ITD | nAA | CP15BEN | SA0 | SA | C | A | M |
TIDCP, bit [63] when FEAT_TIDCP1 is implemented and EffectiveHCR_EL2_E2H() == '1':
Trap IMPLEMENTATION DEFINED functionality. Traps EL0 accesses to the encodings reserved for IMPLEMENTATION DEFINED functionality to EL2.
| TIDCP | Meaning |
|---|---|
| 0b0 |
No instructions accessing the System register or System instruction spaces are trapped by this mechanism. |
| 0b1 |
If the Effective value of HCR_EL2.TGE is 0, no instructions accessing the System register or System instruction spaces are trapped by this mechanism. If the Effective value of HCR_EL2.TGE is 1, instructions accessing the following System register or System instruction spaces are trapped to EL2 by this mechanism:
|
If the Effective value of HCR_EL2.TGE is 0, the field is IGNORED for all purposes other than direct reads and writes of the register.
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.TIDCP == '1'.
Otherwise:
Reserved, RES0.
SPINTMASK, bit [62] when FEAT_NMI is implemented:
SP Interrupt Mask enable. Controls the value of PSTATE.ALLINT on taking an exception to EL2, and, when SCTLR_EL2.NMI is 1, controls whether PSTATE.SP acts as an interrupt mask.
| SPINTMASK | Meaning |
|---|---|
| 0b0 |
PSTATE.ALLINT is set to 1 on taking an exception to EL2. The value of PSTATE.SP does not have any effect on whether an IRQ or FIQ interrupt that is targeted to EL2 is masked. |
| 0b1 |
PSTATE.ALLINT is set to 0 on taking an exception to EL2. When SCTLR_EL2.NMI is 1, PSTATE.SP is 1, and execution is at EL2, an IRQ or FIQ interrupt that is targeted to EL2 is masked regardless of any indication of Superpriority. |
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.SPINTMASK == '1'.
Otherwise:
Reserved, RES0.
NMI, bit [61] when FEAT_NMI is implemented:
Non-maskable Interrupt enable.
| NMI | Meaning |
|---|---|
| 0b0 |
This control does not affect interrupt masking behavior. |
| 0b1 |
This control enables all of the following:
|
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Accessing this field has the following behavior:
-
Access to this field is RO if all the following are
true:
- FEAT_SRMASK is implemented.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.NMI == '1'.
Otherwise:
Reserved, RES0.
EnTP2, bit [60] when FEAT_SME is implemented and EffectiveHCR_EL2_E2H() == '1':
Traps instructions executed at EL0 that access TPIDR2_EL0 to EL2 when EL2 is implemented and enabled for the current Security state. The exception is reported using EC syndrome value 0x18.
| EnTP2 | Meaning |
|---|---|
| 0b0 |
This control causes execution of these instructions at EL0 to be trapped. |
| 0b1 |
This control does not cause execution of any instructions to be trapped. |
If the Effective value of HCR_EL2.TGE is 0, the field is IGNORED for all purposes other than direct reads and writes of the register.
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.EnTP2 == '1'.
Otherwise:
Reserved, RES0.
TCSO, bit [59] when FEAT_MTE_STORE_ONLY is implemented:
Tag Checking Store Only.
| TCSO | Meaning |
|---|---|
| 0b0 |
This field has no effect on Tag checking. |
| 0b1 |
Explicit Memory Read Effects generated by instructions executed in EL2 are Tag Unchecked. |
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.TCSO == '1'.
Otherwise:
Reserved, RES0.
TCSO0, bit [58] when FEAT_MTE_STORE_ONLY is implemented and EffectiveHCR_EL2_E2H() == '1':
Tag Checking Store Only in EL0.
| TCSO0 | Meaning |
|---|---|
| 0b0 |
This field has no effect on Tag checking. |
| 0b1 |
Explicit Memory Read Effects generated by instructions executed in EL0 are Tag Unchecked. |
If the Effective value of HCR_EL2.TGE is 0, the field is IGNORED for all purposes other than direct reads and writes of the register.
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.TCSO0 == '1'.
Otherwise:
Reserved, RES0.
EPAN, bit [57] when FEAT_PAN3 is implemented and EffectiveHCR_EL2_E2H() == '1':
Enhanced Privileged Access Never. When PSTATE.PAN is 1, determines whether an EL2 data access to a page with EL0 instruction access permission generates a Permission fault as a result of the Privileged Access Never mechanism.
| EPAN | Meaning |
|---|---|
| 0b0 |
No additional Permission faults are generated by this mechanism. |
| 0b1 |
An EL2 data access to a page with stage 1 EL0 data access permission or stage 1 EL0 instruction access permission generates a Permission fault. Any speculative data accesses that would generate a Permission fault as a result of PSTATE.PAN = 1 if the accesses were not speculative, will not cause an allocation into a cache. When executing at EL2, and the Effective value of HCR_EL2.{E2H, TGE} is {1, 1}, this does not prevent unprivileged speculative accesses generated from the EL0 hardware-defined context from causing allocation into a cache. |
The value of HCR_EL2.TGE does not change the effect of this field on privileged accesses.
This bit is permitted to be cached in a TLB.
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.EPAN == '1'.
Otherwise:
Reserved, RES0.
EnALS, bit [56] when FEAT_LS64 is implemented and EffectiveHCR_EL2_E2H() == '1':
Traps execution of the following instructions at EL0 to EL2:
- LD64B or ST64B.
- If FEAT_LSC64B is implemented, LDA64B or STL64B.
| EnALS | Meaning |
|---|---|
| 0b0 |
Execution of the specified instructions at EL0 are trapped to EL2. |
| 0b1 |
This control does not cause any instructions to be trapped. |
If the Effective value of HCR_EL2.TGE is 0, the field is IGNORED for all purposes other than direct reads and writes of the register.
A trap of an LD64B or ST64B instruction is reported using EC syndrome value 0x0A, with an ISS code of 0x0000002.
A trap of an LDA64B or STL64B instruction is reported using EC syndrome value 0x0A, with an ISS code of 0x0000008.
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.EnALS == '1'.
Otherwise:
Reserved, RES0.
EnAS0, bit [55] when FEAT_LS64_ACCDATA is implemented and EffectiveHCR_EL2_E2H() == '1':
Traps execution of the following instructions at EL0 to EL2:
- ST64BV0.
- If FEAT_LSC64B is implemented, STL64BV0.
| EnAS0 | Meaning |
|---|---|
| 0b0 |
Execution of the specified instructions at EL0 are trapped to EL2. |
| 0b1 |
This control does not cause any instructions to be trapped. |
If the Effective value of HCR_EL2.TGE is 0, the field is IGNORED for all purposes other than direct reads and writes of the register.
A trap of an ST64BV0 instruction is reported using EC syndrome value 0x0A, with an ISS code of 0x0000001.
A trap of an STL64BV0 instruction is reported using EC syndrome value 0x0A, with an ISS code of 0x0000007.
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.EnAS0 == '1'.
Otherwise:
Reserved, RES0.
EnASR, bit [54] when FEAT_LS64_V is implemented and EffectiveHCR_EL2_E2H() == '1':
Traps execution of the following instructions at EL0 to EL2:
- ST64BV.
- If FEAT_LSC64B is implemented, STL64BV.
| EnASR | Meaning |
|---|---|
| 0b0 |
Execution of the specified instructions at EL0 are trapped to EL2. |
| 0b1 |
This control does not cause any instructions to be trapped. |
If the Effective value of HCR_EL2.TGE is 0, the field is IGNORED for all purposes other than direct reads and writes of the register.
A trap of an ST64BV instruction is reported using EC syndrome value 0x0A, with an ISS code of 0x0000000.
A trap of an STL64BV instruction is reported using EC syndrome value 0x0A, with an ISS code of 0x0000006.
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.EnASR == '1'.
Otherwise:
Reserved, RES0.
Bits [53:50]:
Reserved, RES0.
TWEDEL, bits [49:46] when FEAT_TWED is implemented and EffectiveHCR_EL2_E2H() == '1':
TWE Delay. A 4-bit unsigned number that, when SCTLR_EL2.TWEDEn is 1, encodes the minimum delay in taking a trap of WFE* caused by SCTLR_EL2.nTWE as 2(TWEDEL + 8) cycles.
If the Effective value of HCR_EL2.TGE is 0, the field is IGNORED for all purposes other than direct reads and writes of the register.
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.TWEDEL == '1'.
Otherwise:
Reserved, RES0.
TWEDEn, bit [45] when FEAT_TWED is implemented and EffectiveHCR_EL2_E2H() == '1':
TWE Delay Enable. Enables a configurable delayed trap of the WFE* instruction caused by SCTLR_EL2.nTWE.
| TWEDEn | Meaning |
|---|---|
| 0b0 |
The delay for taking a WFE* trap is IMPLEMENTATION DEFINED. |
| 0b1 |
The delay for taking a WFE* trap is at least the number of cycles defined in SCTLR_EL2.TWEDEL. |
If the Effective value of HCR_EL2.TGE is 0, the field is IGNORED for all purposes other than direct reads and writes of the register.
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.TWEDEn == '1'.
Otherwise:
Reserved, RES0.
DSSBS, bit [44] when FEAT_SSBS is implemented:
Default PSTATE.SSBS value on exception entry.
| DSSBS | Meaning |
|---|---|
| 0b0 |
PSTATE.SSBS is set to 0 on an exception to EL2. |
| 0b1 |
PSTATE.SSBS is set to 1 on an exception to EL2. |
The reset behavior of this field is:
- On a Warm reset, this field resets to an IMPLEMENTATION DEFINED value.
Accessing this field has the following behavior:
-
Access to this field is RO if all the following are
true:
- FEAT_SRMASK is implemented.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.DSSBS == '1'.
Otherwise:
Reserved, RES0.
ATA, bit [43] when FEAT_MTE2 is implemented:
Allocation Tag Access at EL2.
Controls use of Memory tagging at EL2.
| ATA | Meaning |
|---|---|
| 0b0 |
Use of Memory tagging is disabled at EL2. |
| 0b1 |
Use of Memory tagging is enabled at EL2. |
If the Effective value of SCR_EL3.ATA is 0, then the Effective value of this field is 0.
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.ATA == '1'.
Otherwise:
Reserved, RES0.
ATA0, bit [42] when FEAT_MTE2 is implemented and EffectiveHCR_EL2_E2H() == '1':
Unprivileged Allocation Tag Accesses
Controls use of Memory Tagging for unprivileged accesses.
| ATA0 | Meaning |
|---|---|
| 0b0 |
Use of Memory tagging is disabled at EL0. |
| 0b1 |
Use of Memory tagging is enabled at EL2. |
If the Effective value of SCR_EL3.ATA is 0, then the Effective value of this field is 0.
If the Effective value of HCR_EL2.TGE is 0, the field is IGNORED for all purposes other than direct reads and writes of the register.
Software may change this control bit on a context switch.
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.ATA0 == '1'.
Otherwise:
Reserved, RES0.
TCF, bits [41:40] when FEAT_MTE2 is implemented:
Tag Check Fault at EL2. Controls the effect of Tag Check Faults due to Loads and Stores at EL2.
| TCF | Meaning | Applies when |
|---|---|---|
| 0b00 |
Tag Check Faults have no effect on the PE. |
|
| 0b01 |
Tag Check Faults cause a synchronous exception. |
|
| 0b10 |
Tag Check Faults are asynchronously accumulated. |
|
| 0b11 |
Tag Check Faults cause a synchronous exception on reads, and are asynchronously accumulated on writes. |
When FEAT_MTE_ASYM_FAULT is implemented |
If FEAT_MTE3 is not implemented, the value 0b11 is reserved.
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.TCF == '1'.
Otherwise:
Reserved, RES0.
TCF0, bits [39:38] when FEAT_MTE2 is implemented and EffectiveHCR_EL2_E2H() == '1':
Tag Check Fault at EL0. Controls the effect of Tag Check Faults due to Loads and Stores at EL0.
| TCF0 | Meaning | Applies when |
|---|---|---|
| 0b00 |
Tag Check Faults have no effect on the PE. |
|
| 0b01 |
Tag Check Faults cause a synchronous exception. |
|
| 0b10 |
Tag Check Faults are asynchronously accumulated. |
|
| 0b11 |
Tag Check Faults cause a synchronous exception on reads, and are asynchronously accumulated on writes. |
When FEAT_MTE_ASYM_FAULT is implemented |
If the Effective value of HCR_EL2.TGE is 0, the field is IGNORED for all purposes other than direct reads and writes of the register.
If FEAT_MTE3 is not implemented, the value 0b11 is reserved.
Software may change this control bit on a context switch.
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.TCF0 == '1'.
Otherwise:
Reserved, RES0.
ITFSB, bit [37] when FEAT_MTE_ASYNC is implemented:
When synchronous exceptions are not being generated by Tag Check Faults, this field controls whether on exception entry into EL2, all Tag Check Faults due to instructions executed before exception entry, that are reported asynchronously, are synchronized into TFSRE0_EL1, TFSR_EL1, and TFSR_EL2 registers.
| ITFSB | Meaning |
|---|---|
| 0b0 |
Tag Check Faults are not synchronized on entry to EL2. |
| 0b1 |
Tag Check Faults are synchronized on entry to EL2. |
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.ITFSB == '1'.
Otherwise:
Reserved, RES0.
BT, bit [36] when FEAT_BTI is implemented:
Indicates the Branch Type compatibility of the implicit BTI behavior for the following instructions at EL2:
- PACIASP.
- PACIBSP.
- If FEAT_PAuth_LR is implemented, PACIASPPC.
- If FEAT_PAuth_LR is implemented, PACIBSPPC.
When the Effective value of HCR_EL2.{E2H, TGE} is {1, 1}, this bit is named BT1.
| BT | Meaning |
|---|---|
| 0b0 |
When the PE is executing at EL2, when the specified instructions have an implicit BTI behavior, they are compatible with the same BTYPE values as BTI.jc. |
| 0b1 |
When the PE is executing at EL2, when the specified instructions have an implicit BTI behavior, they are compatible with the same BTYPE values as BTI.c. |
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.BT == '1'.
Otherwise:
Reserved, RES0.
BT0, bit [35] when FEAT_BTI is implemented and EffectiveHCR_EL2_E2H() == '1':
Indicates the Branch Type compatibility of the implicit BTI behavior for the following instructions at EL0:
- PACIASP.
- PACIBSP.
- If FEAT_PAuth_LR is implemented, PACIASPPC.
- If FEAT_PAuth_LR is implemented, PACIBSPPC.
| BT0 | Meaning |
|---|---|
| 0b0 |
When the PE is executing at EL0, when the specified instructions have an implicit BTI behavior, they are compatible with the same BTYPE values as BTI.jc. |
| 0b1 |
When the PE is executing at EL0, when the specified instructions have an implicit BTI behavior, they are compatible with the same BTYPE values as BTI.c. |
If the Effective value of HCR_EL2.TGE is 0, the field is IGNORED for all purposes other than direct reads and writes of the register.
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.BT0 == '1'.
Otherwise:
Reserved, RES0.
EnFPM, bit [34] when FEAT_FPMR is implemented and EffectiveHCR_EL2_E2H() == '1':
Enables direct and indirect accesses to FPMR from EL0.
When accesses to FPMR are disabled by this control:
- Direct accesses to FPMR from EL0 are trapped to EL2 and reported using EC syndrome value 0x18.
- Execution of FP8 data-processing instructions that indirectly access FPMR is UNDEFINED at EL0.
| EnFPM | Meaning |
|---|---|
| 0b0 |
Direct and indirect accesses to FPMR are disabled at EL0. |
| 0b1 |
This control does not cause any instructions to be trapped. |
Traps are not taken if there is a higher priority exception generated by the access.
If EL2 is not implemented or is disabled in the current Security state, the Effective value of this field is 1.
If the Effective value of HCR_EL2.TGE is 0, this field is IGNORED for all purposes other than direct reads and writes of the register.
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.EnFPM == '1'.
Otherwise:
Reserved, RES0.
MSCEn, bit [33] when FEAT_MOPS is implemented and EffectiveHCR_EL2_E2H() == '1':
Memory Copy and Memory Set instructions Enable. Enables execution of the Memory Copy and Memory Set instructions at EL0.
| MSCEn | Meaning |
|---|---|
| 0b0 |
Execution of the Memory Copy and Memory Set instructions is UNDEFINED at EL0. |
| 0b1 |
This control does not cause any instructions to be UNDEFINED. |
If the Effective value of HCR_EL2.TGE is 0, the field is IGNORED for all purposes other than direct reads and writes of the register.
When FEAT_MOPS is implemented and the Effective value of HCR_EL2.{E2H, TGE} is not {1, 1}, the Effective value of this bit is 1.
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.MSCEn == '1'.
Otherwise:
Reserved, RES0.
CMOW, bit [32] when FEAT_CMOW is implemented and EffectiveHCR_EL2_E2H() == '1':
Controls the required permissions for the following cache maintenance instructions executed at EL0:
- Any DC instruction that operates by VA and performs a clean and invalidate operation.
- Any IC instruction that operates by VA.
| CMOW | Meaning |
|---|---|
| 0b0 |
This control does not cause any instruction to generate a stage 1 Permission fault. |
| 0b1 |
For these instructions, when executed at EL0, the absence of stage 1 unprivileged write permission generates a stage 1 permission fault. |
If the Effective value of HCR_EL2.TGE is 0, the field is IGNORED for all purposes other than direct reads and writes of the register.
For more information, see:
- Stage 1 permissions.
- Implications of enabling the dirty state management mechanism.
This bit is permitted to be cached in a TLB.
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.CMOW == '1'.
Otherwise:
Reserved, RES0.
EnIA, bit [31] when FEAT_PAuth_EnhCtl is implemented:
Controls enabling of pointer authentication of instruction addresses, using the APIAKey_EL1 key, at EL2 and at EL0 in the EL2&0 translation regime.
| EnIA | Meaning |
|---|---|
| 0b0 |
For execution at EL2, pointer authentication of instruction addresses using the APIAKey_EL1 key, is not enabled. For execution at EL0 in the EL2&0 translation regime, pointer authentication of instruction addresses using the APIAKey_EL1 key, is controlled by a combination of this field and SCTLR2_EL2.EnIA2. |
| 0b1 |
For execution at EL2, pointer authentication of instruction addresses using the APIAKey_EL1 key, is enabled. For execution at EL0 in the EL2&0 translation regime, pointer authentication of instruction addresses using the APIAKey_EL1 key, is controlled by a combination of this field and SCTLR2_EL2.EnIA2. |
This field controls the behavior of the AddPACIA() and AuthIA() pseudocode functions. When pointer authentication is enabled, AddPACIA() returns a copy of a pointer to which a pointer authentication code has been added, and AuthIA() returns an authenticated copy of a pointer. When pointer authentication is disabled, both of these functions are NOP.
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.EnIA == '1'.
when FEAT_PAuth is implemented:
Controls enabling of pointer authentication of instruction addresses, using the APIAKey_EL1 key, at EL2 and at EL0 in the EL2&0 translation regime.
| EnIA | Meaning |
|---|---|
| 0b0 |
Pointer authentication of instruction addresses at EL2 and at EL0 in the EL2&0 translation regime, using the APIAKey_EL1 key, is not enabled. |
| 0b1 |
Pointer authentication of instruction addresses at EL2 and at EL0 in the EL2&0 translation regime, using the APIAKey_EL1 key, is enabled. |
This field controls the behavior of the AddPACIA() and AuthIA() pseudocode functions. When pointer authentication is enabled, AddPACIA() returns a copy of a pointer to which a pointer authentication code has been added, and AuthIA() returns an authenticated copy of a pointer. When pointer authentication is disabled, both of these functions are NOP.
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.EnIA == '1'.
Otherwise:
Reserved, RES0.
EnIB, bit [30] when FEAT_PAuth_EnhCtl is implemented:
Controls enabling of pointer authentication of instruction addresses, using the APIBKey_EL1 key, at EL2 and at EL0 in the EL2&0 translation regime.
| EnIB | Meaning |
|---|---|
| 0b0 |
For execution at EL2, pointer authentication of instruction addresses using the APIBKey_EL1 key, is not enabled. For execution at EL0 in the EL2&0 translation regime, pointer authentication of instruction addresses using the APIBKey_EL1 key, is controlled by a combination of this field and SCTLR2_EL2.EnIB2. |
| 0b1 |
For execution at EL2, pointer authentication of instruction addresses using the APIBKey_EL1 key, is enabled. For execution at EL0 in the EL2&0 translation regime, pointer authentication of instruction addresses using the APIBKey_EL1 key, is controlled by a combination of this field and SCTLR2_EL2.EnIB2. |
This field controls the behavior of the AddPACIB() and AuthIB() pseudocode functions. When pointer authentication is enabled, AddPACIB() returns a copy of a pointer to which a pointer authentication code has been added, and AuthIB() returns an authenticated copy of a pointer. When pointer authentication is disabled, both of these functions are NOP.
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.EnIB == '1'.
when FEAT_PAuth is implemented:
Controls enabling of pointer authentication of instruction addresses, using the APIBKey_EL1 key, at EL2 and at EL0 in the EL2&0 translation regime.
| EnIB | Meaning |
|---|---|
| 0b0 |
Pointer authentication of instruction addresses at EL2 and at EL0 in the EL2&0 translation regime, using the APIBKey_EL1 key, is not enabled. |
| 0b1 |
Pointer authentication of instruction addresses at EL2 and at EL0 in the EL2&0 translation regime, using the APIBKey_EL1 key, is enabled. |
This field controls the behavior of the AddPACIB() and AuthIB() pseudocode functions. When pointer authentication is enabled, AddPACIB() returns a copy of a pointer to which a pointer authentication code has been added, and AuthIB() returns an authenticated copy of a pointer. When pointer authentication is disabled, both of these functions are NOP.
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.EnIB == '1'.
Otherwise:
Reserved, RES0.
LSMAOE, bit [29] when FEAT_LSMAOC is implemented and EffectiveHCR_EL2_E2H() == '1':
Load Multiple and Store Multiple Atomicity and Ordering Enable.
| LSMAOE | Meaning |
|---|---|
| 0b0 |
For all memory accesses at EL0, T32 and A32 Load Multiple and Store Multiple can have an interrupt taken during the sequence memory accesses, and the memory accesses are not required to be ordered. |
| 0b1 |
The ordering and interrupt behavior of T32 and A32 Load Multiple and Store Multiple at EL0 is as defined for Armv8.0. |
If the Effective value of HCR_EL2.TGE is 0, the field is IGNORED for all purposes other than direct reads and writes of the register.
This bit is permitted to be cached in a TLB.
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.LSMAOE == '1'.
Otherwise:
Reserved, RES1.
nTLSMD, bit [28] when FEAT_LSMAOC is implemented and EffectiveHCR_EL2_E2H() == '1':
No Trap Load Multiple and Store Multiple to Device-nGRE/Device-nGnRE/Device-nGnRnE memory.
| nTLSMD | Meaning |
|---|---|
| 0b0 |
All memory accesses by T32 and A32 Load Multiple and Store Multiple at EL0 that are marked at stage 1 as Device-nGRE/Device-nGnRE/Device-nGnRnE memory are trapped and generate a stage 1 Alignment fault. |
| 0b1 |
All memory accesses by T32 and A32 Load Multiple and Store Multiple at EL0 that are marked at stage 1 as Device-nGRE/Device-nGnRE/Device-nGnRnE memory are not trapped. |
If the Effective value of HCR_EL2.TGE is 0, the field is IGNORED for all purposes other than direct reads and writes of the register.
This bit is permitted to be cached in a TLB.
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.nTLSMD == '1'.
Otherwise:
Reserved, RES1.
EnDA, bit [27] when FEAT_PAuth_EnhCtl is implemented:
Controls enabling of pointer authentication of data addresses, using the APDAKey_EL1 key, at EL2 and at EL0 in the EL2&0 translation regime.
| EnDA | Meaning |
|---|---|
| 0b0 |
For execution at EL2, pointer authentication of data addresses using the APDAKey_EL1 key, is not enabled. For execution at EL0 in the EL2&0 translation regime, pointer authentication of data addresses using the APDAKey_EL1 key, is controlled by a combination of this field and SCTLR2_EL2.EnDA2. |
| 0b1 |
For execution at EL2, pointer authentication of data addresses using the APDAKey_EL1 key, is enabled. For execution at EL0 in the EL2&0 translation regime, pointer authentication of data addresses using the APDAKey_EL1 key, is controlled by a combination of this field and SCTLR2_EL2.EnDA2. |
This field controls the behavior of the AddPACDA() and AuthDA() pseudocode functions. When pointer authentication is enabled, AddPACDA() returns a copy of a pointer to which a pointer authentication code has been added, and AuthDA() returns an authenticated copy of a pointer. When pointer authentication is disabled, both of these functions are NOP.
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.EnDA == '1'.
when FEAT_PAuth is implemented:
Controls enabling of pointer authentication of data addresses, using the APDAKey_EL1 key, at EL2 and at EL0 in the EL2&0 translation regime.
| EnDA | Meaning |
|---|---|
| 0b0 |
Pointer authentication of data addresses at EL2 and at EL0 in the EL2&0 translation regime, using the APDAKey_EL1 key, is not enabled. |
| 0b1 |
Pointer authentication of data addresses at EL2 and at EL0 in the EL2&0 translation regime, using the APDAKey_EL1 key, is enabled. |
This field controls the behavior of the AddPACDA() and AuthDA() pseudocode functions. When pointer authentication is enabled, AddPACDA() returns a copy of a pointer to which a pointer authentication code has been added, and AuthDA() returns an authenticated copy of a pointer. When pointer authentication is disabled, both of these functions are NOP.
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.EnDA == '1'.
Otherwise:
Reserved, RES0.
UCI, bit [26] when EffectiveHCR_EL2_E2H() == '1':
Traps execution of cache maintenance instructions at EL0 to EL2, from AArch64 state only, reported using EC syndrome value 0x18, as follows:
- DC CVAU, DC CIVAC, DC CVAC, and IC IVAU.
- If FEAT_MTE is implemented, DC CIGVAC, DC CIGDVAC, DC CGVAC, and DC CGDVAC.
- If FEAT_DPB is implemented, DC CVAP.
- If FEAT_DPB and FEAT_MTE are implemented, DC CGVAP and DC CGDVAP.
- If FEAT_DPB2 is implemented, DC CVADP.
- If FEAT_DPB2 and FEAT_MTE are implemented, DC CGVADP and DC CGDVADP.
- If FEAT_OCCMO is implemented, DC CIVAOC, DC CIGDVAOC, DC CVAOC and DC CGDVAOC.
| UCI | Meaning |
|---|---|
| 0b0 |
For each of the specified instructions, if the execution of the instruction can be trapped, access at EL0 using AArch64 is trapped to EL2. |
| 0b1 |
This control does not cause any instructions to be trapped. |
If the Effective value of HCR_EL2.TGE is 0, the field is IGNORED for all purposes other than direct reads and writes of the register.
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.UCI == '1'.
Otherwise:
Reserved, RES0.
EE, bit [25] when FEAT_MixedEnd is implemented:
Endianness of data accesses at EL2, stage 1 translation table walks in the EL2 or EL2&0 translation regime, and stage 2 translation table walks in the EL1&0 translation regime.
| EE | Meaning |
|---|---|
| 0b0 |
Explicit data accesses at EL2, stage 1 translation table walks in the EL2 or EL2&0 translation regime, and stage 2 translation table walks in the EL1&0 translation regime are little-endian. |
| 0b1 |
Explicit data accesses at EL2, stage 1 translation table walks in the EL2 or EL2&0 translation regime, and stage 2 translation table walks in the EL1&0 translation regime are big-endian. |
The EE bit is permitted to be cached in a TLB.
The reset behavior of this field is:
- On a Warm reset, this field resets to an IMPLEMENTATION DEFINED value.
Accessing this field has the following behavior:
-
Access to this field is RO if all the following are
true:
- FEAT_SRMASK is implemented.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.EE == '1'.
when FEAT_BigEnd is implemented:
Explicit data accesses at EL2, stage 1 translation table walks in the EL2 or EL2&0 translation regime, and stage 2 translation table walks in the EL1&0 translation regime are big-endian.
Reserved, RES1.
Otherwise:
Explicit data accesses at EL2, stage 1 translation table walks in the EL2 or EL2&0 translation regime, and stage 2 translation table walks in the EL1&0 translation regime are little-endian.
Reserved, RES0.
E0E, bit [24] when FEAT_MixedEndEL0 is implemented and EffectiveHCR_EL2_E2H() == '1':
Endianness of data accesses at EL0.
| E0E | Meaning |
|---|---|
| 0b0 |
Explicit data accesses at EL0 are little-endian. |
| 0b1 |
Explicit data accesses at EL0 are big-endian. |
If the Effective value of HCR_EL2.TGE is 0, the field is IGNORED for all purposes other than direct reads and writes of the register.
This bit has no effect on the endianness of Explicit Memory Effects generated by unprivileged memory access instructions executed at EL2.
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.E0E == '1'.
when FEAT_BigEndEL0 is implemented and EffectiveHCR_EL2_E2H() == '1':
Explicit data accesses at EL0 are big-endian.
Reserved, RES1.
when FEAT_LittleEndEL0 is implemented and EffectiveHCR_EL2_E2H() == '1':
Explicit data accesses at EL0 are little-endian.
Reserved, RES0.
Otherwise:
Reserved, RES0.
SPAN, bit [23] when EffectiveHCR_EL2_E2H() == '1':
Set Privileged Access Never, on taking an exception to EL2.
| SPAN | Meaning |
|---|---|
| 0b0 |
PSTATE.PAN is set to 1 on taking an exception to EL2. |
| 0b1 |
The value of PSTATE.PAN is left unchanged on taking an exception to EL2. |
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.SPAN == '1'.
Otherwise:
Reserved, RES1.
EIS, bit [22] when FEAT_ExS is implemented:
Exception entry is a context synchronization event.
| EIS | Meaning |
|---|---|
| 0b0 |
The taking of an exception to EL2 is not a context synchronization event. |
| 0b1 |
The taking of an exception to EL2 is a context synchronization event. |
If SCTLR_EL2.EIS is set to 0:
- Indirect writes to ESR_EL2, FAR_EL2, SPSR_EL2, ELR_EL2, and HPFAR_EL2 are synchronized on exception entry to EL2, so that a direct read of the register after exception entry sees the indirectly written value caused by the exception entry.
- Memory transactions, including instruction fetches, from an Exception level always use the translation resources associated with that translation regime.
- Exception Catch debug events are synchronous debug events.
- DCPS* and DRPS instructions are context synchronization events.
- Some exception entries reported are not considered IFBEs per the memory model.
The following are not affected by the value of SCTLR_EL2.EIS:
- Changes to the PSTATE information on entry to EL2.
- Behavior of accessing the banked copies of the stack pointer using the SP register name for loads, stores, and data processing instructions.
- The memory model requirement for exception entry to generate an Instruction Fetch Barrier Effect for some exception entries. See Basic definitions for the list of exception entries.
- Exit from Debug state.
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.EIS == '1'.
Otherwise:
Reserved, RES1.
IESB, bit [21] when FEAT_IESB is implemented:
Implicit Error Synchronization event enable.
| IESB | Meaning |
|---|---|
| 0b0 |
Disabled. |
| 0b1 |
An implicit error synchronization event is added:
|
If FEAT_DoubleFault2 is implemented, the PE is in Non-debug state, and the Effective value of SCTLR2_EL2.NMEA is 1, then SCTLR_EL2.IESB is ignored and the PE behaves as if SCTLR_EL2.IESB is 1 for all purposes other than direct read of the register.
The value of this field is ignored in Debug state and treated as zero.
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.IESB == '1'.
Otherwise:
Reserved, RES0.
TSCXT, bit [20] when (FEAT_CSV2_2 is implemented or FEAT_CSV2_1p2 is implemented) and EffectiveHCR_EL2_E2H() == '1':
Trap EL0 Access to the SCXTNUM_EL0 register, when EL0 is using AArch64.
| TSCXT | Meaning |
|---|---|
| 0b0 |
EL0 access to SCXTNUM_EL0 is not disabled by this mechanism. |
| 0b1 |
EL0 access to SCXTNUM_EL0 is disabled, causing an exception to EL2, and the SCXTNUM_EL0 value is treated as 0. |
If the Effective value of HCR_EL2.TGE is 0, the field is IGNORED for all purposes other than direct reads and writes of the register.
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.TSCXT == '1'.
when FEAT_CSV2_2 is not implemented, FEAT_CSV2_1p2 is not implemented, and EffectiveHCR_EL2_E2H() == '1':
Reserved, RES1.
Otherwise:
Reserved, RES0.
WXN, bit [19]:
Write permission implies XN (Execute-never). For the EL2 or EL2&0 translation regime, this bit can restrict execute permissions on writable pages.
| WXN | Meaning |
|---|---|
| 0b0 |
This control has no effect on memory access permissions. |
| 0b1 |
In the EL2 or EL2&0 translation regime, any region of memory that is writable at EL2 is XN at EL2. In the EL2&0 translation regime, any region of memory that is writable at EL0 is XN at EL0. |
This bit applies only when SCTLR_EL2.M bit is set.
The WXN bit is permitted to be cached in a TLB.
This field is RES0 if TCR2_EL2.PIE is 1.
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.WXN == '1'.
nTWE, bit [18] when EffectiveHCR_EL2_E2H() == '1':
Traps execution of WFE instructions at EL0 to EL2, from both Execution states.
When FEAT_WFxT is implemented, this trap also applies to the WFET instruction.
| nTWE | Meaning |
|---|---|
| 0b0 |
Any attempt to execute a WFE instruction at EL0 is trapped to EL2, if the instruction would otherwise have caused the PE to enter a low-power state. |
| 0b1 |
This control does not cause any instructions to be trapped. |
If the Effective value of HCR_EL2.TGE is 0, the field is IGNORED for all purposes other than direct reads and writes of the register.
In AArch32 state, the attempted execution of a conditional WFE instruction is only trapped if the instruction passes its condition code check.
Since a WFE or WFI can complete at any time, even without a Wakeup event, the traps on WFE of WFI are not guaranteed to be taken, even if the WFE or WFI is executed when there is no Wakeup event. The only guarantee is that if the instruction does not complete in finite time in the absence of a Wakeup event, the trap will be taken.
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.nTWE == '1'.
Otherwise:
Reserved, RES1.
Bit [17]:
Reserved, RES0.
nTWI, bit [16] when EffectiveHCR_EL2_E2H() == '1':
Traps execution of WFI instructions at EL0 to EL2, from both Execution states.
When FEAT_WFxT is implemented, this trap also applies to the WFIT instruction.
| nTWI | Meaning |
|---|---|
| 0b0 |
Any attempt to execute a WFI instruction at EL0 is trapped EL2, if the instruction would otherwise have caused the PE to enter a low-power state. |
| 0b1 |
This control does not cause any instructions to be trapped. |
If the Effective value of HCR_EL2.TGE is 0, the field is IGNORED for all purposes other than direct reads and writes of the register.
In AArch32 state, the attempted execution of a conditional WFI instruction is only trapped if the instruction passes its condition code check.
Since a WFE or WFI can complete at any time, even without a Wakeup event, the traps on WFE of WFI are not guaranteed to be taken, even if the WFE or WFI is executed when there is no Wakeup event. The only guarantee is that if the instruction does not complete in finite time in the absence of a Wakeup event, the trap will be taken.
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.nTWI == '1'.
Otherwise:
Reserved, RES1.
UCT, bit [15] when EffectiveHCR_EL2_E2H() == '1':
Traps EL0 accesses to the CTR_EL0 to EL2, from AArch64 state only.
| UCT | Meaning |
|---|---|
| 0b0 |
Accesses to the CTR_EL0 from EL0 using AArch64 are trapped to EL2. |
| 0b1 |
This control does not cause any instructions to be trapped. |
If the Effective value of HCR_EL2.TGE is 0, the field is IGNORED for all purposes other than direct reads and writes of the register.
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.UCT == '1'.
Otherwise:
Reserved, RES0.
DZE, bit [14] when EffectiveHCR_EL2_E2H() == '1':
Traps execution of the following instructions at EL0 to EL2, from AArch64 state only:
- DC ZVA.
- If FEAT_MTE is implemented, DC GVA and DC GZVA.
- If FEAT_MTETC is implemented, DC GBVA and DC ZGBVA.
| DZE | Meaning |
|---|---|
| 0b0 |
Any attempt to execute an instruction that this trap applies to at EL0 using AArch64 is trapped to EL2. Reading DCZID_EL0.DZP from EL0 returns 1, indicating that the instructions that this trap applies to are not supported. |
| 0b1 |
This control does not cause any instructions to be trapped. |
If the Effective value of HCR_EL2.TGE is 0, the field is IGNORED for all purposes other than direct reads and writes of the register.
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.DZE == '1'.
Otherwise:
Reserved, RES0.
EnDB, bit [13] when FEAT_PAuth_EnhCtl is implemented:
Controls enabling of pointer authentication of data addresses, using the APDBKey_EL1 key, at EL2 and at EL0 in the EL2&0 translation regime.
| EnDB | Meaning |
|---|---|
| 0b0 |
For execution at EL2, pointer authentication of data addresses using the APDBKey_EL1 key, is not enabled. For execution at EL0 in the EL2&0 translation regime, pointer authentication of data addresses using the APDBKey_EL1 key, is controlled by a combination of this field and SCTLR2_EL2.EnDB2. |
| 0b1 |
For execution at EL2, pointer authentication of data addresses using the APDBKey_EL1 key, is enabled. For execution at EL0 in the EL2&0 translation regime, pointer authentication of data addresses using the APDBKey_EL1 key, is controlled by a combination of this field and SCTLR2_EL2.EnDB2. |
This field controls the behavior of the AddPACDB() and AuthDB() pseudocode functions. When pointer authentication is enabled, AddPACDB() returns a copy of a pointer to which a pointer authentication code has been added, and AuthDB() returns an authenticated copy of a pointer. When pointer authentication is disabled, both of these functions are NOP.
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.EnDB == '1'.
when FEAT_PAuth is implemented:
Controls enabling of pointer authentication of data addresses, using the APDBKey_EL1 key, at EL2 and at EL0 in the EL2&0 translation regime.
| EnDB | Meaning |
|---|---|
| 0b0 |
Pointer authentication of data addresses at EL2 and at EL0 in the EL2&0 translation regime, using the APDBKey_EL1 key, is not enabled. |
| 0b1 |
Pointer authentication of data addresses at EL2 and at EL0 in the EL2&0 translation regime, using the APDBKey_EL1 key, is enabled. |
This field controls the behavior of the AddPACDB() and AuthDB() pseudocode functions. When pointer authentication is enabled, AddPACDB() returns a copy of a pointer to which a pointer authentication code has been added, and AuthDB() returns an authenticated copy of a pointer. When pointer authentication is disabled, both of these functions are NOP.
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.EnDB == '1'.
Otherwise:
Reserved, RES0.
I, bit [12]:
Instruction access Cacheability control, for accesses at EL2 and, when the Effective value of HCR_EL2.{E2H, TGE} is {1, 1}, EL0.
| I | Meaning |
|---|---|
| 0b0 |
All instruction accesses to Normal memory from EL2 are Non-cacheable for all levels of instruction and unified cache. When the Effective value of HCR_EL2.{E2H, TGE} is {1, 1}, all instruction accesses to Normal memory from EL0 are Non-cacheable for all levels of instruction and unified cache. If SCTLR_EL2.M is 0, instruction accesses from stage 1 of the EL2 or EL2&0 translation regime are to Normal, Outer Shareable, Inner Non-cacheable, Outer Non-cacheable memory. |
| 0b1 |
This control has no effect on the Cacheability of instruction access to Normal memory from EL2 and, when the Effective value of HCR_EL2.{E2H, TGE} is {1, 1}, instruction access to Normal memory from EL0. If the value of SCTLR_EL2.M is 0, instruction accesses from stage 1 of the EL2 or EL2&0 translation regime are to Normal, Outer Shareable, Inner Write-Through, Outer Write-Through memory. |
This bit has no effect on the EL3 translation regime.
When EL2 is disabled in the current Security state or the Effective value of HCR_EL2.{E2H, TGE} is not {1, 1}, this bit has no effect on the EL1&0 translation regime.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Accessing this field has the following behavior:
-
Access to this field is RO if all the following are
true:
- FEAT_SRMASK is implemented.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.I == '1'.
EOS, bit [11] when FEAT_ExS is implemented:
Exception exit is a context synchronization event.
| EOS | Meaning |
|---|---|
| 0b0 |
An exception return from EL2 is not a context synchronization event. |
| 0b1 |
An exception return from EL2 is a context synchronization event. |
If SCTLR_EL2.EOS is set to 0:
- Memory transactions, including instruction fetches, from an Exception level always use the translation resources associated with that translation regime.
- Exception Catch debug events are synchronous debug events.
- DCPS* and DRPS instructions are context synchronization events.
The following are not affected by the value of SCTLR_EL2.EOS:
- The indirect write of the PSTATE and PC values from SPSR_EL2 and ELR_EL2 on exception return is synchronized.
- Behavior of accessing the banked copies of the stack pointer using the SP register name for loads, stores, and data processing instructions.
- Exit from Debug state.
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.EOS == '1'.
Otherwise:
Reserved, RES1.
EnRCTX, bit [10] when FEAT_SPECRES is implemented and EffectiveHCR_EL2_E2H() == '1':
Enable EL0 access to the following System instructions:
- CFPRCTX, DVPRCTX and CPPRCTX instructions.
- If FEAT_SPECRES2 is implemented, COSPRCTX.
- CFP RCTX, DVP RCTX and CPP RCTX instructions.
- If FEAT_SPECRES2 is implemented, COSP RCTX.
| EnRCTX | Meaning |
|---|---|
| 0b0 |
EL0 access to these instructions is disabled, and these instructions are trapped to EL2. |
| 0b1 |
EL0 access to these instructions is enabled. |
If the Effective value of HCR_EL2.TGE is 0, the field is IGNORED for all purposes other than direct reads and writes of the register.
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.EnRCTX == '1'.
Otherwise:
Reserved, RES0.
Bit [9]:
Reserved, RES0.
SED, bit [8] when FEAT_AA32EL0 is implemented and EffectiveHCR_EL2_E2H() == '1':
SETEND instruction disable. Disables SETEND instructions at EL0 using AArch32.
| SED | Meaning |
|---|---|
| 0b0 |
SETEND instruction execution is enabled at EL0 using AArch32. |
| 0b1 |
SETEND instructions are UNDEFINED at EL0 using AArch32. |
If the Effective value of HCR_EL2.TGE is 0, the field is IGNORED for all purposes other than direct reads and writes of the register.
If the implementation does not support mixed-endian operation at any Exception level, this bit is RES1.
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.SED == '1'.
when FEAT_AA32EL0 is not implemented and EffectiveHCR_EL2_E2H() == '1':
If the Effective value of HCR_EL2.TGE is 0, the field is IGNORED for all purposes other than direct reads and writes of the register.
Access to this field is RES1 .
Otherwise:
Reserved, RES0.
ITD, bit [7] when FEAT_AA32EL0 is implemented and EffectiveHCR_EL2_E2H() == '1':
IT Disable. Disables some uses of IT instructions at EL0 using AArch32.
| ITD | Meaning |
|---|---|
| 0b0 |
All IT instruction functionality is enabled at EL0 using AArch32. |
| 0b1 |
Any attempt at EL0 using AArch32 to execute any of the following is UNDEFINED:
These instructions are always UNDEFINED, regardless of whether they would pass or fail the condition code check that applies to them as a result of being in an IT block. It is IMPLEMENTATION DEFINED whether the IT instruction is treated as:
This means that, for the situations that are UNDEFINED, either the second 16-bit instruction or the 32-bit instruction is UNDEFINED. An implementation might vary dynamically whether IT is treated as a 16-bit instruction or the first half of a 32-bit instruction. |
If the Effective value of HCR_EL2.TGE is 0, the field is IGNORED for all purposes other than direct reads and writes of the register.
If an instruction in an active IT block that would be disabled by this field sets this field to 1, then behavior is CONSTRAINED UNPREDICTABLE. For more information see 'Changes to an ITD control by an instruction in an IT block'.
ITD is optional, but if it is implemented in the SCTLR_EL2, then it must also be implemented in the SCTLR_EL1, HSCTLR, and SCTLR.
The reset behavior of this field is:
- On a Warm reset, this field resets to an architecturally UNKNOWN value.
Accessing this field has the following behavior:
- When an implementation does not implement ITD, access to this field is RAZ/WI.
-
Access to this field is RO if all the following are
true:
- FEAT_SRMASK is implemented.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.ITD == '1'.
when FEAT_AA32EL0 is not implemented and EffectiveHCR_EL2_E2H() == '1':
Reserved, RES1.
Otherwise:
Reserved, RES0.
nAA, bit [6] when FEAT_LSE2 is implemented:
Non-aligned access. This bit controls generation of Alignment faults under certain conditions at EL2, and, when the Effective value of HCR_EL2.{E2H, TGE} is {1, 1}, EL0.
The following instructions generate an Alignment fault if all bytes being accessed are not within a single naturally aligned 16-byte quantity, for access:
- LDAPR, LDAPRH, LDAPUR, LDAPURH, LDAPURSH, LDAPURSW, LDAR, LDARH, LDLAR, LDLARH.
- STLLR, STLLRH, STLR, STLRH, STLUR, and STLURH.
- If FEAT_LRCPC3 is implemented, the post index versions of LDAPR and the pre index versions of STLR.
- If FEAT_LRCPC3 and Advanced SIMD and floating-point instructions are implemented, LDAPUR (SIMD&FP), LDAP1 (SIMD&FP), STLUR (SIMD&FP), and STL1 (SIMD&FP).
- If FEAT_LSCP is implemented, LDAP, LDAPP, and STLP.
If FEAT_LRCPC3 is implemented, the following instructions generate an Alignment fault if all bytes being accessed for a single register are not within a single naturally aligned 16-byte quantity, for access:
- LDIAPP, STILP.
If FEAT_SVE_LRCPC is implemented, the following instructions generate an Alignment fault if all bytes being accessed are not within a single naturally aligned 32-byte quantity, for access:
- LDAPRO, STLRO.
| nAA | Meaning |
|---|---|
| 0b0 |
Unaligned accesses by the specified instructions generate an Alignment fault. |
| 0b1 |
Unaligned accesses by the specified instructions do not generate an Alignment fault. |
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.nAA == '1'.
Otherwise:
Reserved, RES0.
CP15BEN, bit [5] when FEAT_AA32EL0 is implemented and EffectiveHCR_EL2_E2H() == '1':
System instruction memory barrier enable. Enables accesses to the DMB, DSB, and ISB System instructions in the (coproc==0b1111) encoding space from EL0:
| CP15BEN | Meaning |
|---|---|
| 0b0 |
EL0 using AArch32: EL0 execution of the CP15DMB, CP15DSB, and CP15ISB instructions is UNDEFINED. |
| 0b1 |
EL0 using AArch32: EL0 execution of the CP15DMB, CP15DSB, and CP15ISB instructions is enabled. |
If the Effective value of HCR_EL2.TGE is 0, the field is IGNORED for all purposes other than direct reads and writes of the register.
CP15BEN is optional, but if it is implemented in the SCTLR_EL2, then it must also be implemented in the SCTLR_EL1, HSCTLR, and SCTLR.
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.CP15BEN == '1'.
when FEAT_AA32EL0 is not implemented and EffectiveHCR_EL2_E2H() == '1':
Access to this field is RES0 .
Otherwise:
Reserved, RES1.
SA0, bit [4] when EffectiveHCR_EL2_E2H() == '1':
SP Alignment check enable for EL0. When set to 1, if a load or store instruction executed at EL0 uses the SP as the base address and the SP is not aligned to a 16-byte boundary, then an SP alignment fault exception is generated. For more information, see 'SP alignment checking'.
If the Effective value of HCR_EL2.TGE is 0, the field is IGNORED for all purposes other than direct reads and writes of the register.
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.SA0 == '1'.
Otherwise:
Reserved, RES1.
SA, bit [3]:
SP Alignment check enable. When set to 1, if a load or store instruction executed at EL2 uses the SP as the base address and the SP is not aligned to a 16-byte boundary, then an SP alignment fault exception is generated. For more information, see 'SP alignment checking'.
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.SA == '1'.
C, bit [2]:
Data access Cacheability control, for accesses at EL2 and, when the Effective value of HCR_EL2.{E2H, TGE} is {1, 1}, EL0
| C | Meaning |
|---|---|
| 0b0 |
The following are Non-cacheable for all levels of data and unified cache:
|
| 0b1 |
This control has no effect on the Cacheability of:
|
This bit has no effect on the EL3 translation regime.
When EL2 is disabled in the current Security state or the Effective value of HCR_EL2.{E2H, TGE} is not {1, 1}, this bit has no effect on the EL1&0 translation regime.
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Accessing this field has the following behavior:
-
Access to this field is RO if all the following are
true:
- FEAT_SRMASK is implemented.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.C == '1'.
A, bit [1]:
Alignment check enable. This is the enable bit for Alignment fault checking at EL2 and, when the Effective value of HCR_EL2.{E2H, TGE} is {1, 1}, EL0.
| A | Meaning |
|---|---|
| 0b0 |
Alignment fault checking is disabled when executing at EL2. When the Effective value of HCR_EL2.{E2H, TGE} is {1, 1}, alignment fault checking disabled when executing at EL0. Alignment checks on some instructions are not disabled by this control. For more information, see 'Alignment of data accesses'. |
| 0b1 |
Alignment fault checking is enabled when executing at EL2. When the Effective value of HCR_EL2.{E2H, TGE} is {1, 1}, alignment fault checking enabled when executing at EL0. All instructions that load or store one or more registers have an alignment check that the address being accessed is aligned to the size of the data element(s) being accessed. If this check fails it causes an Alignment fault, which is taken as a Data Abort exception. |
The reset behavior of this field is:
- On a Warm reset, 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.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.A == '1'.
M, bit [0]:
MMU enable for EL2 or EL2&0 stage 1 address translation.
| M | Meaning |
|---|---|
| 0b0 |
When the Effective value of HCR_EL2.{E2H, TGE} is not {1, 1}, EL2 stage 1 address translation disabled. When the Effective value of HCR_EL2.{E2H, TGE} is {1, 1}, EL2&0 stage 1 address translation disabled. See the SCTLR_EL2.I field for the behavior of instruction accesses to Normal memory. |
| 0b1 |
When the Effective value of HCR_EL2.{E2H, TGE} is not {1, 1}, EL2 stage 1 address translation enabled. When the Effective value of HCR_EL2.{E2H, TGE} is {1, 1}, EL2&0 stage 1 address translation enabled. |
The reset behavior of this field is:
-
On a Warm reset:
- When the highest implemented Exception level is EL2, this field resets to '0'.
- Otherwise, this field resets to an architecturally UNKNOWN value.
Accessing this field has the following behavior:
-
Access to this field is RO if all the following are
true:
- FEAT_SRMASK is implemented.
- EL2 is the current Exception level.
- IsSystemRegisterMaskingEnabled(EL2).
- SCTLRMASK_EL2.M == '1'.
Access Instructions
When the Effective value of HCR_EL2.E2H is 1, without explicit synchronization, accesses from EL2 using the accessor name SCTLR_EL2 or SCTLR_EL1 are not guaranteed to be ordered with respect to accesses using the other accessor name.
If FEAT_SRMASK is implemented, accesses to SCTLR_EL2 are masked by SCTLRMASK_EL2.
Accesses to this register use the following encodings in the System register encoding space:
MRS <Xt>, SCTLR_EL2
(op0 = 0b11, op1 = 0b100, CRn = 0b0001, CRm = 0b0000, op2 = 0b000)
if !IsFeatureImplemented(FEAT_AA64) then
Undefined();
elsif PSTATE.EL == EL0 then
Undefined();
elsif PSTATE.EL == EL1 then
if EffectiveHCR_EL2_NVx() IN {'xx1'} then
AArch64_SystemAccessTrap(EL2, 0x18);
else
Undefined();
end;
elsif PSTATE.EL == EL2 then
X{64}(t) = SCTLR_EL2();
elsif PSTATE.EL == EL3 then
X{64}(t) = SCTLR_EL2();
end;
MSR SCTLR_EL2, <Xt>
(op0 = 0b11, op1 = 0b100, CRn = 0b0001, CRm = 0b0000, op2 = 0b000)
if !IsFeatureImplemented(FEAT_AA64) then
Undefined();
elsif PSTATE.EL == EL0 then
Undefined();
elsif PSTATE.EL == EL1 then
if EffectiveHCR_EL2_NVx() IN {'xx1'} then
AArch64_SystemAccessTrap(EL2, 0x18);
else
Undefined();
end;
elsif PSTATE.EL == EL2 then
SCTLR_EL2() = X{64}(t);
elsif PSTATE.EL == EL3 then
SCTLR_EL2() = X{64}(t);
end;
When FEAT_VHE is implemented:
MRS <Xt>, SCTLR_EL1
(op0 = 0b11, op1 = 0b000, CRn = 0b0001, CRm = 0b0000, op2 = 0b000)
if !IsFeatureImplemented(FEAT_AA64) 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 EffectiveHCR_EL2_NVx() IN {'111'} then
X{64}(t) = NVMem(0x110);
else
X{64}(t) = SCTLR_EL1();
end;
elsif PSTATE.EL == EL2 then
if ELIsInHost(EL2) then
X{64}(t) = SCTLR_EL2();
else
X{64}(t) = SCTLR_EL1();
end;
elsif PSTATE.EL == EL3 then
X{64}(t) = SCTLR_EL1();
end;
When FEAT_VHE is implemented:
MSR SCTLR_EL1, <Xt>
(op0 = 0b11, op1 = 0b000, CRn = 0b0001, CRm = 0b0000, op2 = 0b000)
if !IsFeatureImplemented(FEAT_AA64) 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 EffectiveHCR_EL2_NVx() IN {'111'} then
NVMem(0x110) = X{64}(t);
else
SCTLR_EL1() = X{64}(t);
end;
elsif PSTATE.EL == EL2 then
if ELIsInHost(EL2) then
SCTLR_EL2() = X{64}(t);
else
SCTLR_EL1() = X{64}(t);
end;
elsif PSTATE.EL == EL3 then
SCTLR_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.