The SCTLR2_EL3 characteristics are:
Provides top level control of the system, including its memory system, at EL3.
This register is present only when FEAT_SCTLR2 is implemented. Otherwise, direct accesses to SCTLR2_EL3 are UNDEFINED.
SCTLR2_EL3 is a 64-bit register.
63 | 62 | 61 | 60 | 59 | 58 | 57 | 56 | 55 | 54 | 53 | 52 | 51 | 50 | 49 | 48 | 47 | 46 | 45 | 44 | 43 | 42 | 41 | 40 | 39 | 38 | 37 | 36 | 35 | 34 | 33 | 32 |
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
RES0 | |||||||||||||||||||||||||||||||
RES0 | CPTM | RES0 | CPTA | RES0 | EnPACM | RES0 | EnANERR | EnADERR | RES0 | EMEC | RES0 |
Reserved, RES0.
This field controls Checked Pointer Arithmetic for Multiplication at EL3.
CPTM | Meaning |
---|---|
0b0 |
Pointer Arithmetic for Multiplication is not checked. |
0b1 |
Pointer Arithmetic for Multiplication is checked. |
If the Effective value of SCTLR2_EL3.CPTA is 0, then the Effective value of this field is 0.
The reset behavior of this field is:
Reserved, RES0.
Reserved, RES0.
This field controls Checked Pointer Arithmetic for Addition at EL3.
CPTA | Meaning |
---|---|
0b0 |
Pointer Arithmetic for Addition is not checked. |
0b1 |
Pointer Arithmetic for Addition is checked. |
The reset behavior of this field is:
Reserved, RES0.
Reserved, RES0.
PACM Enable at EL3. Controls the effect of a PACM instruction at EL3.
EnPACM | Meaning |
---|---|
0b0 |
The effects of PACM are disabled at EL3. |
0b1 |
A PACM instruction at EL3 causes PSTATE.PACM to be set to 0b1. |
The reset behavior of this field is:
Reserved, RES0.
Reserved, RES0.
Enable Asynchronous Normal Read Error.
EnANERR | Meaning |
---|---|
0b0 |
External aborts on Normal memory reads generate synchronous Data Abort exceptions in the EL3 translation regime. |
0b1 |
External aborts on Normal memory reads generate synchronous Data Abort or asynchronous SError exceptions in the EL3 translation regime. |
It is implementation-specific whether this field applies to memory reads generated by each of the following:
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_EL3.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 Normal memory reads.
This field is ignored by the PE and treated as one when all of the following are true:
The reset behavior of this field is:
Reserved, RES0.
Enable Asynchronous Device Read Error.
EnADERR | Meaning |
---|---|
0b0 |
External aborts on Device memory reads generate synchronous Data Abort exceptions in the EL3 translation regime. |
0b1 |
External aborts on Device memory reads generate synchronous Data Abort or asynchronous SError exceptions in the EL3 translation regime. |
It is implementation-specific whether this field applies to memory reads generated by each of the following:
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_EL3.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 one when all of the following are true:
The reset behavior of this field is:
Reserved, RES0.
Reserved, RES0.
Enables MEC. When enabled, memory accesses to the Realm physical address space are associated with MECID_RL_A_EL3.
EMEC | Meaning |
---|---|
0b0 |
MEC is not enabled for the Realm physical address space. |
0b1 |
MEC is enabled for the Realm physical address space. |
This bit is permitted to be cached in a TLB.
The reset behavior of this field is:
Reserved, RES0.
Reserved, RES0.
Accesses to this register use the following encodings in the System register encoding space:
op0 | op1 | CRn | CRm | op2 |
---|---|---|---|---|
0b11 | 0b110 | 0b0001 | 0b0000 | 0b011 |
if PSTATE.EL == EL0 then UNDEFINED; elsif PSTATE.EL == EL1 then UNDEFINED; elsif PSTATE.EL == EL2 then UNDEFINED; elsif PSTATE.EL == EL3 then X[t, 64] = SCTLR2_EL3;
op0 | op1 | CRn | CRm | op2 |
---|---|---|---|---|
0b11 | 0b110 | 0b0001 | 0b0000 | 0b011 |
if PSTATE.EL == EL0 then UNDEFINED; elsif PSTATE.EL == EL1 then UNDEFINED; elsif PSTATE.EL == EL2 then UNDEFINED; elsif PSTATE.EL == EL3 then if IsFeatureImplemented(FEAT_FGWTE3) && FGWTE3_EL3.SCTLR2_EL3 == '1' then AArch64.SystemAccessTrap(EL3, 0x18); else SCTLR2_EL3 = X[t, 64];
26/03/2024 09:49; 67c0ae5282a7629ba0ea0ba7267b43cd4f7939f6
Copyright © 2010-2024 Arm Limited or its affiliates. All rights reserved. This document is Non-Confidential.