The HSR characteristics are:
Holds syndrome information for an exception taken to Hyp mode.
AArch32 System register HSR bits [31:0] are architecturally mapped to AArch64 System register ESR_EL2[31:0].
This register is present only when EL2 is capable of using AArch32. Otherwise, direct accesses to HSR are UNDEFINED.
If EL2 is not implemented, this register is RES0 from EL3.
HSR is a 32-bit register.
31 | 30 | 29 | 28 | 27 | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
EC | IL | ISS |
Execution in any Non-secure PE mode other than Hyp mode makes this register UNKNOWN.
When an UNPREDICTABLE instruction is treated as UNDEFINED, and the exception is taken to EL2, the value of HSR is UNKNOWN. The value written to HSR must be consistent with a value that could be created as a result of an exception from the same Exception level that generated the exception as a result of a situation that is not UNPREDICTABLE at that Exception level, in order to avoid the possibility of a privilege violation.
Exception Class. Indicates the reason for the exception that this register holds information about. Possible values of this field are:
EC | Meaning | ISS |
---|---|---|
0b000000 |
Unknown reason. | ISS encoding for exceptions with an unknown reason |
0b000001 | Trapped WFI or WFE instruction execution. Conditional WFE and WFI instructions that fail their condition code check do not cause an exception. | ISS encoding for Exception from a WFI or WFE instruction |
0b000011 |
Trapped MCR or MRC access with (coproc==0b1111) that is not reported using EC 0b000000. | ISS encoding for Exception from an MCR or MRC access |
0b000100 |
Trapped MCRR or MRRC access with (coproc==0b1111) that is not reported using EC 0b000000. | ISS encoding for Exception from an MCRR or MRRC access |
0b000101 |
Trapped MCR or MRC access with (coproc==0b1110). | ISS encoding for Exception from an MCR or MRC access |
0b000110 | Trapped LDC or STC access. The only architected uses of these instructions are:
| ISS encoding for Exception from an LDC or STC instruction |
0b000111 | Access to Advanced SIMD or floating-point functionality trapped by a HCPTR.{TASE, TCP10} control. Excludes exceptions generated because Advanced SIMD and floating-point are not implemented. These are reported with EC value 0b000000. | ISS encoding for Exception from an access to SIMD or floating-point functionality, resulting from HCPTR |
0b001000 |
Trapped VMRS access, from ID group trap, that is not reported using EC 0b000111. | ISS encoding for Exception from an MCR or MRC access |
0b001100 |
Trapped MRRC access with (coproc==0b1110). | ISS encoding for Exception from an MCRR or MRRC access |
0b001110 |
Illegal exception return to AArch32 state. | ISS encoding for Exception from an Illegal state or PC alignment fault |
0b010001 |
Exception on SVC instruction execution in AArch32 state routed to EL2. | ISS encoding for Exception from HVC or SVC instruction execution |
0b010010 |
HVC instruction execution in AArch32 state, when HVC is not disabled. | ISS encoding for Exception from HVC or SVC instruction execution |
0b010011 |
Trapped execution of SMC instruction in AArch32 state. | ISS encoding for Exception from SMC instruction execution |
0b100000 |
Prefetch Abort from a lower Exception level. | ISS encoding for Exception from a Prefetch Abort |
0b100001 |
Prefetch Abort taken without a change in Exception level. | ISS encoding for Exception from a Prefetch Abort |
0b100010 |
PC alignment fault exception. | ISS encoding for Exception from an Illegal state or PC alignment fault |
0b100100 |
Data Abort exception from a lower Exception level. | ISS encoding for Exception from a Data Abort |
0b100101 |
Data Abort exception taken without a change in Exception level. | ISS encoding for Exception from a Data Abort |
All other EC values are reserved by Arm, and:
The effect of programming this field to a reserved value is that behavior is CONSTRAINED UNPREDICTABLE.
The reset behavior of this field is:
Instruction length bit. Indicates the size of the instruction that has been trapped to Hyp mode. When this bit is valid, possible values of this bit are:
IL | Meaning |
---|---|
0b0 |
16-bit instruction trapped. |
0b1 |
32-bit instruction trapped. |
This field is RES1 and not valid for the following cases:
The IL field is not valid and is UNKNOWN on an exception from a PC alignment fault.
The reset behavior of this field is:
Instruction Specific Syndrome. Architecturally, this field can be defined independently for each defined Exception class. However, in practice, some ISS encodings are used for more than one Exception class.
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 |
Reserved, RES0.
This EC code is used for all exceptions that are not covered by any other EC value. This includes exceptions that are generated in the following situations:
An exception is generated only if the CONSTRAINED UNPREDICTABLE behavior of the instruction is that it is UNDEFINED, see 'MSR (banked register) and MRS (banked register)'.
'Undefined Instruction exception, when the value of HCR.TGE is 1' describes the configuration settings for a trap that returns an HSR.EC value of 0b000000.
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 |
CV | COND | RES0 | TI |
Condition code valid. Possible values of this bit are:
CV | Meaning |
---|---|
0b0 |
The COND field is not valid. |
0b1 |
The COND field is valid. |
When an A32 instruction is trapped, CV is set to 1.
When a T32 instruction is trapped, it is IMPLEMENTATION DEFINED whether CV is set to 1 or set to 0. For more information, see the description of the COND field.
The reset behavior of this field is:
The condition code for the trapped instruction.
When an A32 instruction is trapped, CV is set to 1 and:
A conditional A32 instruction that is known to pass its condition code check can be presented either:
When a T32 instruction is trapped, it is IMPLEMENTATION DEFINED whether:
For an implementation that, for both A32 and T32 instructions, takes an exception on a trapped conditional instruction only if the instruction passes its condition code check, these definitions mean that when CV is set to 1 it is IMPLEMENTATION DEFINED whether the COND field is set to 0b1110, or to the value of any condition that applied to the instruction.
The reset behavior of this field is:
Reserved, RES0.
Trapped instruction. Possible values of this bit are:
TI | Meaning |
---|---|
0b0 |
WFI trapped. |
0b1 |
WFE trapped. |
The reset behavior of this field is:
HCR.{TWE, TWI} describe the configuration settings for this trap.
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 |
CV | COND | Opc2 | Opc1 | CRn | RES0 | Rt | CRm | Direction |
Condition code valid. Possible values of this bit are:
CV | Meaning |
---|---|
0b0 |
The COND field is not valid. |
0b1 |
The COND field is valid. |
When an A32 instruction is trapped, CV is set to 1.
When a T32 instruction is trapped, it is IMPLEMENTATION DEFINED whether CV is set to 1 or set to 0. For more information, see the description of the COND field.
The reset behavior of this field is:
The condition code for the trapped instruction.
When an A32 instruction is trapped, CV is set to 1 and:
A conditional A32 instruction that is known to pass its condition code check can be presented either:
When a T32 instruction is trapped, it is IMPLEMENTATION DEFINED whether:
For an implementation that, for both A32 and T32 instructions, takes an exception on a trapped conditional instruction only if the instruction passes its condition code check, these definitions mean that when CV is set to 1 it is IMPLEMENTATION DEFINED whether the COND field is set to 0b1110, or to the value of any condition that applied to the instruction.
The reset behavior of this field is:
The Opc2 value from the issued instruction.
For a trapped VMRS access, holds the value 0b000.
The reset behavior of this field is:
The Opc1 value from the issued instruction.
For a trapped VMRS access, holds the value 0b111.
The reset behavior of this field is:
The CRn value from the issued instruction.
For a trapped VMRS access, holds the reg field from the VMRS instruction encoding.
The reset behavior of this field is:
Reserved, RES0.
The Rt value from the issued instruction, the general-purpose register used for the transfer.
The reset behavior of this field is:
The CRm value from the issued instruction.
For a trapped VMRS access, holds the value 0b0000.
The reset behavior of this field is:
Indicates the direction of the trapped instruction.
Direction | Meaning |
---|---|
0b0 |
Write to System register space. MCR instruction. |
0b1 |
Read from System register space. MRC or VMRS instruction. |
The reset behavior of this field is:
The following fields describe configuration settings for traps from an MCR or MCR access using coproc 0b1111 that are reported using EC value 0b000011:
The following fields describe configuration settings for traps from an MCR or MRC access using coproc 0b1110 that are reported using EC value 0b000101:
The following fields describes configuration settings for traps from a VMSR or VMRS access that are reported using EC value 0b001000:
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 |
CV | COND | Opc1 | RES0 | Rt2 | RES0 | Rt | CRm | Direction |
Condition code valid. Possible values of this bit are:
CV | Meaning |
---|---|
0b0 |
The COND field is not valid. |
0b1 |
The COND field is valid. |
When an A32 instruction is trapped, CV is set to 1.
When a T32 instruction is trapped, it is IMPLEMENTATION DEFINED whether CV is set to 1 or set to 0. For more information, see the description of the COND field.
The reset behavior of this field is:
The condition code for the trapped instruction.
When an A32 instruction is trapped, CV is set to 1 and:
A conditional A32 instruction that is known to pass its condition code check can be presented either:
When a T32 instruction is trapped, it is IMPLEMENTATION DEFINED whether:
For an implementation that, for both A32 and T32 instructions, takes an exception on a trapped conditional instruction only if the instruction passes its condition code check, these definitions mean that when CV is set to 1 it is IMPLEMENTATION DEFINED whether the COND field is set to 0b1110, or to the value of any condition that applied to the instruction.
The reset behavior of this field is:
The Opc1 value from the issued instruction.
The reset behavior of this field is:
Reserved, RES0.
The Rt2 value from the issued instruction, the second general-purpose register used for the transfer.
The reset behavior of this field is:
Reserved, RES0.
The Rt value from the issued instruction, the first general-purpose register used for the transfer.
The reset behavior of this field is:
The CRm value from the issued instruction.
The reset behavior of this field is:
Indicates the direction of the trapped instruction.
Direction | Meaning |
---|---|
0b0 |
Write to System register space. MCRR instruction. |
0b1 |
Read from System register space. MRRC instruction. |
The reset behavior of this field is:
The following fields describe configuration settings for traps from an MCRR or MRRC access using coproc 0b1111 that are reported using EC value 0b000100:
The following fields describe configuration settings for traps from an MCRR or MRRC access using coproc 0b1110 that are reported using EC value 0b001100:
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 |
CV | COND | imm8 | RES0 | Rn | Offset | AM | Direction |
Condition code valid. Possible values of this bit are:
CV | Meaning |
---|---|
0b0 |
The COND field is not valid. |
0b1 |
The COND field is valid. |
When an A32 instruction is trapped, CV is set to 1.
When a T32 instruction is trapped, it is IMPLEMENTATION DEFINED whether CV is set to 1 or set to 0. For more information, see the description of the COND field.
The reset behavior of this field is:
The condition code for the trapped instruction.
When an A32 instruction is trapped, CV is set to 1 and:
A conditional A32 instruction that is known to pass its condition code check can be presented either:
When a T32 instruction is trapped, it is IMPLEMENTATION DEFINED whether:
For an implementation that, for both A32 and T32 instructions, takes an exception on a trapped conditional instruction only if the instruction passes its condition code check, these definitions mean that when CV is set to 1 it is IMPLEMENTATION DEFINED whether the COND field is set to 0b1110, or to the value of any condition that applied to the instruction.
The reset behavior of this field is:
The immediate value from the issued instruction.
The reset behavior of this field is:
Reserved, RES0.
The Rn value from the issued instruction. Valid only when AM[2] is 0, indicating an immediate form of the LDC or STC instruction.
When AM[2] is 1, indicating a literal form of the LDC or STC instruction, this field is UNKNOWN.
The reset behavior of this field is:
Indicates whether the offset is added or subtracted:
Offset | Meaning |
---|---|
0b0 |
Subtract offset. |
0b1 |
Add offset. |
This bit corresponds to the U bit in the instruction encoding.
The reset behavior of this field is:
Addressing mode. The permitted values of this field are:
AM | Meaning |
---|---|
0b000 |
Immediate unindexed. |
0b001 |
Immediate post-indexed. |
0b010 |
Immediate offset. |
0b011 |
Immediate pre-indexed. |
0b100 | Literal unindexed. LDC instruction in A32 instruction set only. For a trapped STC instruction or a trapped T32 LDC instruction this encoding is reserved. |
0b110 | Literal offset. LDC instruction only. For a trapped STC instruction, this encoding is reserved. |
The values 0b101 and 0b111 are reserved. The effect of programming this field to a reserved value is that behavior is CONSTRAINED UNPREDICTABLE.
Bit [2] in this subfield indicates the instruction form, immediate or literal.
Bits [1:0] in this subfield correspond to the bits {P, W} in the instruction encoding.
The reset behavior of this field is:
Indicates the direction of the trapped instruction.
Direction | Meaning |
---|---|
0b0 |
Write to memory. STC instruction. |
0b1 |
Read from memory. LDC instruction. |
The reset behavior of this field is:
HDCR.TDA describes the configuration settings for the trap that is reported using EC value 0b000110.
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 |
CV | COND | RES0 | TA | RES0 | coproc |
Excludes exceptions that occur because Advanced SIMD and floating-point functionality is not implemented, or because the value of HCR.TGE or HCR_EL2.TGE is 1. These are reported with EC value 0b000000.
Condition code valid. Possible values of this bit are:
CV | Meaning |
---|---|
0b0 |
The COND field is not valid. |
0b1 |
The COND field is valid. |
When an A32 instruction is trapped, CV is set to 1.
When a T32 instruction is trapped, it is IMPLEMENTATION DEFINED whether CV is set to 1 or set to 0. For more information, see the description of the COND field.
The reset behavior of this field is:
The condition code for the trapped instruction.
When an A32 instruction is trapped, CV is set to 1 and:
A conditional A32 instruction that is known to pass its condition code check can be presented either:
When a T32 instruction is trapped, it is IMPLEMENTATION DEFINED whether:
For an implementation that, for both A32 and T32 instructions, takes an exception on a trapped conditional instruction only if the instruction passes its condition code check, these definitions mean that when CV is set to 1 it is IMPLEMENTATION DEFINED whether the COND field is set to 0b1110, or to the value of any condition that applied to the instruction.
The reset behavior of this field is:
Reserved, RES0.
Indicates trapped use of Advanced SIMD functionality.
TA | Meaning |
---|---|
0b0 |
Exception was not caused by trapped use of Advanced SIMD functionality. |
0b1 |
Exception was caused by trapped use of Advanced SIMD functionality. |
Any use of an Advanced SIMD instruction that is not also a floating-point instruction that is trapped to Hyp mode because of a trap configured in the HCPTR sets this bit to 1.
For a list of these instructions, see 'Controls of Advanced SIMD operation that do not apply to floating-point operation'.
The reset behavior of this field is:
Reserved, RES0.
When the HSR.TA field returns the value 1, this field returns the value 0b1010. Otherwise, this field is RES0.
The reset behavior of this field is:
The following fields describe the configuration settings for the traps that are reported using EC value 0b000111:
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 | imm16 |
Reserved, RES0.
The value of the immediate field from the HVC or SVC instruction.
For an HVC instruction, this is the value of the imm16 field of the issued instruction.
For an SVC instruction:
The reset behavior of this field is:
The HVC instruction is unconditional, and a conditional SVC instruction generates an exception only if it passes its condition code check. Therefore, the syndrome information for these exceptions does not require conditionality information.
'Supervisor Call exception, when the value of HCR.TGE is 1' describes the configuration settings for the trap reported with EC value 0b010001.
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 |
CV | COND | CCKNOWNPASS | RES0 |
Condition code valid. Possible values of this bit are:
CV | Meaning |
---|---|
0b0 |
The COND field is not valid. |
0b1 |
The COND field is valid. |
When an A32 instruction is trapped, CV is set to 1.
When a T32 instruction is trapped, it is IMPLEMENTATION DEFINED whether CV is set to 1 or set to 0. For more information, see the description of the COND field.
This field is valid only if CCKNOWNPASS is 1, otherwise it is RES0.
The reset behavior of this field is:
The condition code for the trapped instruction.
When an A32 instruction is trapped, CV is set to 1 and:
A conditional A32 instruction that is known to pass its condition code check can be presented either:
When a T32 instruction is trapped, it is IMPLEMENTATION DEFINED whether:
For an implementation that, for both A32 and T32 instructions, takes an exception on a trapped conditional instruction only if the instruction passes its condition code check, these definitions mean that when CV is set to 1 it is IMPLEMENTATION DEFINED whether the COND field is set to 0b1110, or to the value of any condition that applied to the instruction.
This field is valid only if CCKNOWNPASS is 1, otherwise it is RES0.
The reset behavior of this field is:
Indicates whether the instruction might have failed its condition code check.
CCKNOWNPASS | Meaning |
---|---|
0b0 |
The instruction was unconditional, or was conditional and passed its condition code check. |
0b1 |
The instruction was conditional, and might have failed its condition code check. |
The reset behavior of this field is:
Reserved, RES0.
HCR.TSC describes the configuration settings for this trap for instructions executed in Non-secure EL1.
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 | FnV | EA | RES0 | S1PTW | RES0 | IFSC |
Reserved, RES0.
FAR not Valid, for a synchronous External abort other than a synchronous External abort on a translation table walk.
FnV | Meaning |
---|---|
0b0 |
HIFAR is valid. |
0b1 |
HIFAR is not valid, and holds an UNKNOWN value. |
This field is valid only if the IFSC code is 0b010000. It is RES0 for all other aborts.
The reset behavior of this field is:
External abort type. This bit can provide an IMPLEMENTATION DEFINED classification of External aborts.
For any abort other than an External abort this bit returns a value of 0.
The reset behavior of this field is:
Reserved, RES0.
For a stage 2 fault, indicates whether the fault was a stage 2 fault on an access made for a stage 1 translation table walk:
S1PTW | Meaning |
---|---|
0b0 |
Fault not on a stage 2 translation for a stage 1 translation table walk. |
0b1 |
Fault on the stage 2 translation of an access for a stage 1 translation table walk. |
For any abort other than a stage 2 fault this bit is RES0.
The reset behavior of this field is:
Reserved, RES0.
Instruction Fault Status Code. Possible values of this field are:
IFSC | Meaning | Applies when |
---|---|---|
0b000000 |
Address size fault in translation table base register. | |
0b000001 |
Address size fault, level 1. | |
0b000010 |
Address size fault, level 2. | |
0b000011 |
Address size fault, level 3. | |
0b000101 |
Translation fault, level 1. | |
0b000110 |
Translation fault, level 2. | |
0b000111 |
Translation fault, level 3. | |
0b001001 |
Access flag fault, level 1. | |
0b001010 |
Access flag fault, level 2. | |
0b001011 |
Access flag fault, level 3. | |
0b001101 |
Permission fault, level 1. | |
0b001110 |
Permission fault, level 2. | |
0b001111 |
Permission fault, level 3. | |
0b010000 |
Synchronous External abort, not on translation table walk. | |
0b010101 |
Synchronous External abort on translation table walk, level 1. | |
0b010110 |
Synchronous External abort on translation table walk, level 2. | |
0b010111 |
Synchronous External abort on translation table walk, level 3. | |
0b011000 |
Synchronous parity or ECC error on memory access, not on translation table walk. | When FEAT_RAS is not implemented |
0b011101 |
Synchronous parity or ECC error on memory access on translation table walk, level 1. | When FEAT_RAS is not implemented |
0b011110 |
Synchronous parity or ECC error on memory access on translation table walk, level 2. | When FEAT_RAS is not implemented |
0b011111 |
Synchronous parity or ECC error on memory access on translation table walk, level 3. | When FEAT_RAS is not implemented |
0b100010 |
Debug exception. | |
0b110000 |
TLB conflict abort. |
All other values are reserved.
For more information about the lookup level associated with a fault, see 'The level associated with MMU faults on a Long-descriptor translation table lookup'.
If the S1PTW bit is set, then the level refers the level of the stage2 translation that is translating a stage 1 translation walk.
The reset behavior of this field is:
The following sections describe cases where Prefetch Abort exceptions can be routed to Hyp mode, generating exceptions that are reported in the HSR with EC value 0b100000:
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 |
Reserved, RES0.
For more information about the Illegal state exception, see:
For more information about the PC alignment fault exception, see 'Branching to an unaligned PC'.
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 |
ISV | SAS | SSE | RES0 | SRT | RES0 | AR | RES0 | Bits[11:10] | EA | CM | S1PTW | WnR | DFSC |
Instruction Syndrome Valid. Indicates whether the syndrome information in ISS[23:14] is valid.
ISV | Meaning |
---|---|
0b0 |
No valid instruction syndrome. ISS[23:14] are RES0. |
0b1 |
ISS[23:14] hold a valid instruction syndrome. |
This bit is 0 for all faults except Data Abort exceptions generated by stage 2 address translations for which all the following apply to the instruction that generated the Data Abort exception:
For these cases, ISV is UNKNOWN if the exception was generated in Debug state in memory access mode, as described in 'Data Abort exceptions in Memory access mode', and otherwise indicates whether ISS[23:14] hold a valid syndrome.
In the A32 instruction set, LDR*T and STR*T instructions always perform register writeback and therefore never return a valid instruction syndrome.
When FEAT_RAS is implemented, ISV is 0 for any synchronous External abort.
ISV is set to 0 on a stage 2 abort on a stage 1 translation table walk.
When FEAT_RAS is not implemented, it is IMPLEMENTATION DEFINED whether ISV is set to 1 or 0 on a synchronous External abort on a stage 2 translation table walk.
The reset behavior of this field is:
Syndrome Access Size. When ISV is 1, indicates the size of the access attempted by the faulting operation.
SAS | Meaning |
---|---|
0b00 |
Byte |
0b01 |
Halfword |
0b10 |
Word |
0b11 |
Doubleword |
This field is UNKNOWN when the value of ISV is UNKNOWN.
This field is RES0 when the value of ISV is 0.
The reset behavior of this field is:
Syndrome Sign Extend. When ISV is 1, for a byte, halfword, or word load operation, indicates whether the data item must be sign extended. For these cases, the possible values of this bit are:
SSE | Meaning |
---|---|
0b0 |
Sign-extension not required. |
0b1 |
Data item must be sign-extended. |
For all other operations this bit is 0.
This field is UNKNOWN when the value of ISV is UNKNOWN.
This field is RES0 when the value of ISV is 0.
The reset behavior of this field is:
Reserved, RES0.
Syndrome Register Transfer. When ISV is 1, the register number of the Rt operand of the faulting instruction.
This field is UNKNOWN when the value of ISV is UNKNOWN.
This field is RES0 when the value of ISV is 0.
The reset behavior of this field is:
Reserved, RES0.
Acquire/Release. When ISV is 1, the possible values of this bit are:
AR | Meaning |
---|---|
0b0 |
Instruction did not have acquire/release semantics. |
0b1 |
Instruction did have acquire/release semantics. |
This field is UNKNOWN when the value of ISV is UNKNOWN.
This field is RES0 when the value of ISV is 0.
The reset behavior of this field is:
Reserved, RES0.
Asynchronous Error Type. When DFSC is 0b010001, describes the PE error state after taking the SError exception.
AET | Meaning |
---|---|
0b00 |
Uncontainable (UC). |
0b01 |
Unrecoverable state (UEU). |
0b10 |
Restartable state (UEO). |
0b11 |
Recoverable state (UER). |
On a synchronous Data Abort exception, this field is RES0.
In the event of multiple errors taken as a single SError exception, the overall PE error state is reported.
Software can use this information to determine what recovery might be possible. The recovery software must also examine any implemented fault records to determine the location and extent of the error.
When FEAT_RAS is not implemented, or when DFSC is not 0b010001:
Armv8.2 requires the implementation of FEAT_RAS.
The reset behavior of this field is:
Reserved, RES0.
FAR not Valid, for a synchronous External abort other than a synchronous External abort on a translation table walk.
FnV | Meaning |
---|---|
0b0 |
HDFAR is valid. |
0b1 |
HDFAR is not valid, and holds an UNKNOWN value. |
When FEAT_RAS is not implemented, this field is valid only if DFSC is 0b010000. It is RES0 for all other aborts.
When FEAT_RAS is implemented:
Armv8.2 requires the implementation of FEAT_RAS.
The reset behavior of this field is:
External Abort type. This bit can provide an IMPLEMENTATION DEFINED classification of External aborts.
For any abort other than an External abort this bit returns a value of 0.
The reset behavior of this field is:
Cache Maintenance. For a synchronous fault, identifies fault that comes from a cache maintenance or address translation instruction. For synchronous faults, the possible values of this bit are:
CM | Meaning |
---|---|
0b0 |
Fault not generated by a cache maintenance or address translation instruction. |
0b1 |
Fault generated by a cache maintenance or address translation instruction. |
For an asynchronous Data Abort exception, this bit is 0.
The reset behavior of this field is:
For a stage 2 fault, indicates whether the fault was a stage 2 fault on an access made for a stage 1 translation table walk:
S1PTW | Meaning |
---|---|
0b0 |
Fault not on a stage 2 translation for a stage 1 translation table walk. |
0b1 |
Fault on the stage 2 translation of an access for a stage 1 translation table walk. |
For any abort other than a stage 2 fault this bit is RES0.
The reset behavior of this field is:
Write not Read. Indicates whether a synchronous abort was caused by a write instruction or a read instruction.
WnR | Meaning |
---|---|
0b0 |
Abort caused by a read instruction. |
0b1 |
Abort caused by a write instruction. |
For faults on cache maintenance and address translation instructions, this bit always returns a value of 1.
On an asynchronous Data Abort exception:
Armv8.2 requires the implementation of FEAT_RAS.
The reset behavior of this field is:
Data Fault Status Code. Possible values of this field are:
DFSC | Meaning | Applies when |
---|---|---|
0b000000 |
Address size fault in translation table base register. | |
0b000001 |
Address size fault, level 1. | |
0b000010 |
Address size fault, level 2. | |
0b000011 |
Address size fault, level 3. | |
0b000101 |
Translation fault, level 1. | |
0b000110 |
Translation fault, level 2. | |
0b000111 |
Translation fault, level 3. | |
0b001001 |
Access flag fault, level 1. | |
0b001010 |
Access flag fault, level 2. | |
0b001011 |
Access flag fault, level 3. | |
0b001101 |
Permission fault, level 1. | |
0b001110 |
Permission fault, level 2. | |
0b001111 |
Permission fault, level 3. | |
0b010000 |
Synchronous External abort, not on translation table walk. | |
0b010001 |
Asynchronous SError exception. | |
0b010101 |
Synchronous External abort on translation table walk, level 1. | |
0b010110 |
Synchronous External abort on translation table walk, level 2. | |
0b010111 |
Synchronous External abort on translation table walk, level 3. | |
0b011000 |
Synchronous parity or ECC error on memory access, not on translation table walk. | When FEAT_RAS is not implemented |
0b011001 |
Asynchronous SError exception, from a parity or ECC error on memory access. | When FEAT_RAS is not implemented |
0b011101 |
Synchronous parity or ECC error on memory access on translation table walk, level 1. | When FEAT_RAS is not implemented |
0b011110 |
Synchronous parity or ECC error on memory access on translation table walk, level 2. | When FEAT_RAS is not implemented |
0b011111 |
Synchronous parity or ECC error on memory access on translation table walk, level 3. | When FEAT_RAS is not implemented |
0b100001 |
Alignment fault. | |
0b100010 |
Debug exception. | |
0b110000 |
TLB conflict abort. | |
0b110100 |
IMPLEMENTATION DEFINED fault (Lockdown). | |
0b110101 |
IMPLEMENTATION DEFINED fault (Unsupported Exclusive access). |
All other values are reserved.
For more information about the lookup level associated with a fault, see 'The level associated with MMU faults on a Long-descriptor translation table lookup'.
If the S1PTW bit is set, then the level refers the level of the stage2 translation that is translating a stage 1 translation walk.
The reset behavior of this field is:
The following describe cases where Data Abort exceptions can be routed to Hyp mode, generating exceptions that are reported in the HSR with EC value 0b100100:
The following describe cases that can cause a Data Abort exception that is taken to Hyp mode, and reported in the HSR with EC value of 0b100000 or 0b100100:
Accesses to this register use the following encodings in the System register encoding space:
coproc | opc1 | CRn | CRm | opc2 |
---|---|---|---|---|
0b1111 | 0b100 | 0b0101 | 0b0010 | 0b000 |
if PSTATE.EL == EL0 then UNDEFINED; elsif PSTATE.EL == EL1 then if EL2Enabled() && !ELUsingAArch32(EL2) && HSTR_EL2.T5 == '1' then AArch64.AArch32SystemAccessTrap(EL2, 0x03); elsif EL2Enabled() && ELUsingAArch32(EL2) && HSTR.T5 == '1' then AArch32.TakeHypTrapException(0x03); else UNDEFINED; elsif PSTATE.EL == EL2 then R[t] = HSR; elsif PSTATE.EL == EL3 then if SCR.NS == '0' then UNDEFINED; else R[t] = HSR;
coproc | opc1 | CRn | CRm | opc2 |
---|---|---|---|---|
0b1111 | 0b100 | 0b0101 | 0b0010 | 0b000 |
if PSTATE.EL == EL0 then UNDEFINED; elsif PSTATE.EL == EL1 then if EL2Enabled() && !ELUsingAArch32(EL2) && HSTR_EL2.T5 == '1' then AArch64.AArch32SystemAccessTrap(EL2, 0x03); elsif EL2Enabled() && ELUsingAArch32(EL2) && HSTR.T5 == '1' then AArch32.TakeHypTrapException(0x03); else UNDEFINED; elsif PSTATE.EL == EL2 then HSR = R[t]; elsif PSTATE.EL == EL3 then if SCR.NS == '0' then UNDEFINED; else HSR = R[t];
26/03/2024 09:49; 67c0ae5282a7629ba0ea0ba7267b43cd4f7939f6
Copyright © 2010-2024 Arm Limited or its affiliates. All rights reserved. This document is Non-Confidential.