TRBSR_EL2
Trace Buffer Syndrome Register (EL2)
Provides syndrome information to software for a trace buffer management event.
Configuration
This register is present only when FEAT_TRBE_EXC is implemented. Otherwise, direct accesses to TRBSR_EL2 are UNDEFINED.
If EL2 is not implemented, this register is RES0 from EL3.
Attributes
TRBSR_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 |
| RES0 | MSS2 | ||||||||||||||||||||||||||||||
| EC | RES0 | IRQ | TRG | WRAP | RES0 | EA | S | RES0 | MSS | ||||||||||||||||||||||
Bits [63:56]:
Reserved, RES0.
MSS2, bits [55:32]:
Management event Specific Syndrome 2. Contains syndrome specific to the management event.
The syndrome contents for each management event are described in the following sections.
MSS2 encoding for other trace buffer management events
| 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 | |||||||||||||||||||||||
Bits [23:0]:
Reserved, RES0.
MSS2 encoding for stage 1 or stage 2 Data Aborts on write to trace buffer
| 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 | HDBSSF | RES0 | TopLevel | AssuredOnly | Overlay | DirtyBit | RES0 | ||||||||||||||||
Bits [23:12]:
Reserved, RES0.
HDBSSF, bit [11] when FEAT_HDBSS is implemented:
Host Dirty state Status Structure fault.
Indicates whether the fault was caused by HDBSS.
| HDBSSF | Meaning |
|---|---|
| 0b0 |
Fault was not caused by HDBSS. |
| 0b1 |
Fault was caused by HDBSS. |
For any other fault, this field is RES0.
The reset behavior of this field is:
- On a Cold reset, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
Bits [10:9]:
Reserved, RES0.
TopLevel, bit [8] when FEAT_THE is implemented:
TopLevel. Indicates if the fault was due to TopLevel.
| TopLevel | Meaning |
|---|---|
| 0b0 |
Fault is not due to TopLevel. |
| 0b1 |
Fault is due to TopLevel. |
Otherwise:
Reserved, RES0.
AssuredOnly, bit [7] when FEAT_THE is implemented, TRBSR_EL2.EC == '100101', and GetTRBSR_EL2_FSC() IN {'0011xx'}:
AssuredOnly flag. If a memory access generates a stage 2 Data Abort, then this field holds information about the fault.
| AssuredOnly | Meaning |
|---|---|
| 0b0 |
Data Abort is not due to AssuredOnly. |
| 0b1 |
Data Abort is due to AssuredOnly. |
Otherwise:
Reserved, RES0.
Overlay, bit [6] when (FEAT_S1POE is implemented or FEAT_S2POE is implemented) and GetTRBSR_EL2_FSC() IN {'0011xx'}:
Overlay flag. If a memory access generates a Data Abort for a Permission fault, then this field holds information about the fault.
| Overlay | Meaning |
|---|---|
| 0b0 |
Data Abort is not due to Overlay Permissions. |
| 0b1 |
Data Abort is due to Overlay Permissions. |
Otherwise:
Reserved, RES0.
DirtyBit, bit [5] when (FEAT_S1PIE is implemented or FEAT_S2PIE is implemented) and GetTRBSR_EL2_FSC() IN {'0011xx'}:
DirtyBit flag. If a write access to memory generates a Data Abort for a Permission fault using Indirect Permission, then this field holds information about the fault.
| DirtyBit | Meaning |
|---|---|
| 0b0 |
Permission Fault is not due to dirty state. |
| 0b1 |
Permission Fault is due to dirty state. |
Otherwise:
Reserved, RES0.
Bits [4:0]:
Reserved, RES0.
MSS2 encoding for Granule Protection Check faults on write to trace buffer
| 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 | |||||||||||||||||||||||
Bits [23:0]:
Reserved, RES0.
MSS2 encoding for trace buffer management event for an IMPLEMENTATION DEFINED reason
| 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| IMPLEMENTATION DEFINED | |||||||||||||||||||||||
IMPLEMENTATION DEFINED, bits [23:0]:
IMPLEMENTATION DEFINED.
EC, bits [31:26]:
Event class. Top-level description of the cause of the trace buffer management event.
| EC | Meaning | MSS | MSS2 | Applies when |
|---|---|---|---|---|
| 0b000000 |
Other trace buffer management event. All trace buffer management events other than those described by the other defined Event class codes. |
MSS encoding for other trace buffer management events | MSS2 encoding for other trace buffer management events | |
| 0b011110 |
Granule Protection Check fault on write to trace buffer, other than Granule Protection Fault (GPF). That is, any of the following:
A GPF on translation table walk or update is reported as either a Stage 1 or Stage 2 Data Abort, as appropriate. Other GPFs are reported as a Stage 1 Data Abort. |
MSS encoding for Granule Protection Check faults on write to trace buffer | MSS2 encoding for Granule Protection Check faults on write to trace buffer | When FEAT_RME is implemented |
| 0b011111 |
Trace buffer management event for an IMPLEMENTATION DEFINED reason. |
MSS encoding for trace buffer management event for an IMPLEMENTATION DEFINED reason | MSS2 encoding for trace buffer management event for an IMPLEMENTATION DEFINED reason | |
| 0b100100 |
Stage 1 Data Abort on write to trace buffer. |
MSS encoding for stage 1 or stage 2 Data Aborts on write to trace buffer | MSS2 encoding for stage 1 or stage 2 Data Aborts on write to trace buffer | |
| 0b100101 |
Stage 2 Data Abort on write to trace buffer. |
MSS encoding for stage 1 or stage 2 Data Aborts on write to trace buffer | MSS2 encoding for stage 1 or stage 2 Data Aborts on write to trace buffer |
All other values are reserved.
The reset behavior of this field is:
- On a Cold reset, this field resets to an architecturally UNKNOWN value.
Bits [25:23]:
Reserved, RES0.
IRQ, bit [22]:
Maintenance status. Indicates that a trace buffer management event has been recorded.
| IRQ | Meaning |
|---|---|
| 0b0 |
No trace buffer management event for EL2 has been recorded. |
| 0b1 |
A trace buffer management event for EL2 has been recorded. |
When FEAT_TRBE_EXC is implemented, this field indicates a management event for EL2.
If the TRBE Profiling exception for EL2 is enabled, then when this field is 1, a TRBE Profiling exception for EL2 is pending
The reset behavior of this field is:
- On a Cold reset, this field resets to an architecturally UNKNOWN value.
TRG, bit [21]:
Triggered.
| TRG | Meaning |
|---|---|
| 0b0 |
No Detected Trigger has been observed since this field was last cleared to zero. |
| 0b1 |
A Detected Trigger has been observed since this field was last cleared to zero. |
The reset behavior of this field is:
- On a Cold reset, this field resets to an architecturally UNKNOWN value.
WRAP, bit [20]:
Wrapped.
| WRAP | Meaning |
|---|---|
| 0b0 |
The current write pointer has not wrapped since this field was last cleared to zero. |
| 0b1 |
The current write pointer has wrapped since this field was last cleared to zero. |
For each byte of trace the Trace Buffer Unit Accepts and writes to the trace buffer at the address in the current write pointer, if the current write pointer is equal to the Limit pointer minus one, the current write pointer is wrapped by setting it to the Base pointer, and this field is set to 1.
The reset behavior of this field is:
- On a Cold reset, this field resets to an architecturally UNKNOWN value.
Bit [19]:
Reserved, RES0.
EA, bit [18] when the PE sets this bit as the result of an External abort:
External Abort.
| EA | Meaning |
|---|---|
| 0b0 |
An External abort has not been asserted. |
| 0b1 |
An External abort has been asserted and detected by the Trace Buffer Unit. |
It is IMPLEMENTATION DEFINED whether this field is set to 1 or is unchanged by the PE when a write by the Trace Buffer Unit generates an External abort on a translation table walk, translation table update, or GPT walk that is reported as an MMU fault. From Armv9.3, this field is not set to 1 by the PE for any other trace buffer management event.
The reset behavior of this field is:
- On a Cold reset, this field resets to an architecturally UNKNOWN value.
Otherwise:
Reserved, RES0.
S, bit [17]:
Stopped.
| S | Meaning |
|---|---|
| 0b0 |
Collection has not been stopped. |
| 0b1 |
Collection is stopped. |
The reset behavior of this field is:
- On a Cold reset, this field resets to an architecturally UNKNOWN value.
Bit [16]:
Reserved, RES0.
MSS, bits [15:0]:
Management Event Specific Syndrome. Contains syndrome specific to the trace buffer management event.
The syndrome contents for each trace buffer management event are described in the following sections.
MSS encoding for other trace buffer management events
Bits [15:6]:
Reserved, RES0.
BSC, bits [5:0]:
Trace buffer status code
| BSC | Meaning | Applies when |
|---|---|---|
| 0b000000 |
Collection not stopped, or access not allowed. |
|
| 0b000001 |
Trace buffer filled. Collection stopped because the current write pointer wrapped to the base pointer and the trace buffer mode is Fill mode. |
|
| 0b000010 |
Trigger Event. Collection stopped because of a Trigger Event. See TRBTRG_EL1 for more information. |
|
| 0b000011 |
Manual Stop. Collection stopped because of a Manual Stop event. See TRBCR.ManStop for more information. |
When FEAT_TRBE_EXT is implemented |
| 0b000100 |
Buffer size. The requested trace buffer size was too large. |
All other values are reserved.
MSS encoding for stage 1 or stage 2 Data Aborts on write to trace buffer
Bits [15:8]:
Reserved, RES0.
S1PTW, bit [7] when FEAT_TRBE_EXC is implemented:
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 walk. |
| 0b1 |
Fault on the stage 2 translation of an access for a stage 1 translation walk. |
For any abort other than a stage 2 fault this bit is RES0.
Otherwise:
Reserved, RES0.
Bit [6]:
Reserved, RES0.
FSC, bits [5:0]:
Fault status code
| FSC | Meaning | Applies when |
|---|---|---|
| 0b000000 |
Address size fault, level 0 of translation or translation table base register. |
|
| 0b000001 |
Address size fault, level 1. |
|
| 0b000010 |
Address size fault, level 2. |
|
| 0b000011 |
Address size fault, level 3. |
|
| 0b000100 |
Translation fault, level 0. |
|
| 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. |
|
| 0b001000 |
Access flag fault, level 0. |
When FEAT_LPA2 is implemented |
| 0b001100 |
Permission fault, level 0. |
When FEAT_LPA2 is implemented |
| 0b001101 |
Permission fault, level 1. |
|
| 0b001110 |
Permission fault, level 2. |
|
| 0b001111 |
Permission fault, level 3. |
|
| 0b010000 |
Synchronous External abort, not on translation table walk or hardware update of translation table. |
|
| 0b010001 |
Asynchronous External abort. |
|
| 0b010010 |
Synchronous External abort on translation table walk or hardware update of translation table, level -2. |
When FEAT_D128 is implemented |
| 0b010011 |
Synchronous External abort on translation table walk or hardware update of translation table, level -1. |
When FEAT_LPA2 is implemented |
| 0b010100 |
Synchronous External abort on translation table walk or hardware update of translation table, level 0. |
|
| 0b010101 |
Synchronous External abort on translation table walk or hardware update of translation table, level 1. |
|
| 0b010110 |
Synchronous External abort on translation table walk or hardware update of translation table, level 2. |
|
| 0b010111 |
Synchronous External abort on translation table walk or hardware update of translation table, level 3. |
|
| 0b011011 |
Synchronous parity or ECC error on memory access on translation table walk or hardware update of translation table, level -1. |
When FEAT_LPA2 is implemented and FEAT_RAS is not implemented |
| 0b100001 |
Alignment fault. |
|
| 0b100010 |
Granule Protection Fault on translation table walk or hardware update of translation table, level -2. |
When FEAT_D128 is implemented and FEAT_RME is implemented |
| 0b100011 |
Granule Protection Fault on translation table walk or hardware update of translation table, level -1. |
When FEAT_RME is implemented and FEAT_LPA2 is implemented |
| 0b100100 |
Granule Protection Fault on translation table walk or hardware update of translation table, level 0. |
When FEAT_RME is implemented |
| 0b100101 |
Granule Protection Fault on translation table walk or hardware update of translation table, level 1. |
When FEAT_RME is implemented |
| 0b100110 |
Granule Protection Fault on translation table walk or hardware update of translation table, level 2. |
When FEAT_RME is implemented |
| 0b100111 |
Granule Protection Fault on translation table walk or hardware update of translation table, level 3. |
When FEAT_RME is implemented |
| 0b101000 |
Granule Protection Fault, not on translation table walk or hardware update of translation table. |
When FEAT_RME is implemented |
| 0b101001 |
Address size fault, level -1. |
When FEAT_LPA2 is implemented |
| 0b101010 |
Translation fault, level -2. |
When FEAT_D128 is implemented |
| 0b101011 |
Translation fault, level -1. |
When FEAT_LPA2 is implemented |
| 0b101100 |
Address Size fault, level -2. |
When FEAT_D128 is implemented |
| 0b110000 |
TLB conflict abort. |
|
| 0b110001 |
Unsupported atomic hardware update fault. |
When FEAT_HAF is implemented |
All other values are reserved.
The reset behavior of this field is:
- On a Cold reset, this field resets to an architecturally UNKNOWN value.
MSS encoding for Granule Protection Check faults on write to trace buffer
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RES0 | |||||||||||||||
Bits [15:0]:
Reserved, RES0.
MSS encoding for trace buffer management event for an IMPLEMENTATION DEFINED reason
| 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| IMPLEMENTATION DEFINED | |||||||||||||||
IMPLEMENTATION DEFINED, bits [15:0]:
IMPLEMENTATION DEFINED.
Access Instructions
The PE might ignore a write to TRBSR_EL2 if any of the following apply:
-
TRBLIMITR_EL1.E is 1, and either FEAT_TRBE_EXT is not implemented or the Trace Buffer Unit is using Self-hosted mode.
-
TRBLIMITR_EL1.XE is 1, FEAT_TRBE_EXT is implemented, and the Trace Buffer Unit is using External mode.
When the Effective value of HCR_EL2.E2H is 1, without explicit synchronization, accesses from EL2 using the accessor name TRBSR_EL2 or TRBSR_EL1 are not guaranteed to be ordered with respect to accesses using the other accessor name.
Accesses to this register use the following encodings in the System register encoding space:
MRS <Xt>, TRBSR_EL2
(op0 = 0b11, op1 = 0b100, CRn = 0b1001, CRm = 0b1011, op2 = 0b011)
if !IsFeatureImplemented(FEAT_TRBE_EXC) then
Undefined();
elsif HaveEL(EL3) && PSTATE.EL == EL2 && EL3SDDUndefPriority() && CheckMDCR_EL3_NSTBTrap() then
Undefined();
elsif HaveEL(EL3) && PSTATE.EL == EL2 && EL3SDDUndefPriority() && MDCR_EL3().TRBEE == '00' 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
if HaveEL(EL3) && CheckMDCR_EL3_NSTBTrap() then
if EL3SDDUndef() then
Undefined();
else
AArch64_SystemAccessTrap(EL3, 0x18);
end;
elsif HaveEL(EL3) && MDCR_EL3().TRBEE == '00' then
if EL3SDDUndef() then
Undefined();
else
AArch64_SystemAccessTrap(EL3, 0x18);
end;
else
X{64}(t) = TRBSR_EL2();
end;
elsif PSTATE.EL == EL3 then
X{64}(t) = TRBSR_EL2();
end;
MSR TRBSR_EL2, <Xt>
(op0 = 0b11, op1 = 0b100, CRn = 0b1001, CRm = 0b1011, op2 = 0b011)
if !IsFeatureImplemented(FEAT_TRBE_EXC) then
Undefined();
elsif HaveEL(EL3) && PSTATE.EL == EL2 && EL3SDDUndefPriority() && CheckMDCR_EL3_NSTBTrap() then
Undefined();
elsif HaveEL(EL3) && PSTATE.EL == EL2 && EL3SDDUndefPriority() && MDCR_EL3().TRBEE == '00' 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
if HaveEL(EL3) && CheckMDCR_EL3_NSTBTrap() then
if EL3SDDUndef() then
Undefined();
else
AArch64_SystemAccessTrap(EL3, 0x18);
end;
elsif HaveEL(EL3) && MDCR_EL3().TRBEE == '00' then
if EL3SDDUndef() then
Undefined();
else
AArch64_SystemAccessTrap(EL3, 0x18);
end;
else
TRBSR_EL2() = X{64}(t);
end;
elsif PSTATE.EL == EL3 then
TRBSR_EL2() = X{64}(t);
end;
MRS <Xt>, TRBSR_EL1
(op0 = 0b11, op1 = 0b000, CRn = 0b1001, CRm = 0b1011, op2 = 0b011)
if !IsFeatureImplemented(FEAT_TRBE) then
Undefined();
elsif HaveEL(EL3) && !(EffectivelyAtEL0InHost() || EffectivelyAtEL0NotInHost() || PSTATE.EL == EL3) && EL3SDDUndefPriority() && CheckMDCR_EL3_NSTBTrap() then
Undefined();
elsif PSTATE.EL == EL0 then
Undefined();
elsif PSTATE.EL == EL1 then
if EL2Enabled() && IsFeatureImplemented(FEAT_FGT) && (!HaveEL(EL3) || SCR_EL3().FGTEn == '1') && HDFGRTR_EL2().TRBSR_EL1 == '1' then
AArch64_SystemAccessTrap(EL2, 0x18);
elsif EL2Enabled() && MDCR_EL2().E2TB IN {'x0'} then
AArch64_SystemAccessTrap(EL2, 0x18);
elsif HaveEL(EL3) && CheckMDCR_EL3_NSTBTrap() then
if EL3SDDUndef() then
Undefined();
else
AArch64_SystemAccessTrap(EL3, 0x18);
end;
elsif EffectiveHCR_EL2_NVx() IN {'111'} && (EffectiveTRFCR_EL2_EE() != '00' && TRFCR_EL1().EE != '00') then
X{64}(t) = NVMem(0x860);
elsif IsFeatureImplemented(FEAT_TRBE_EXT) && OSLSR_EL1().OSLK == '0' && HaltingAllowed() && EDSCR2().TTA == '1' then
Halt(DebugHalt_SoftwareAccess);
else
X{64}(t) = TRBSR_EL1();
end;
elsif PSTATE.EL == EL2 then
if HaveEL(EL3) && CheckMDCR_EL3_NSTBTrap() then
if EL3SDDUndef() then
Undefined();
else
AArch64_SystemAccessTrap(EL3, 0x18);
end;
elsif IsFeatureImplemented(FEAT_TRBE_EXT) && OSLSR_EL1().OSLK == '0' && HaltingAllowed() && EDSCR2().TTA == '1' then
Halt(DebugHalt_SoftwareAccess);
elsif EffectiveTRFCR_EL2_EE() != '00' && ELIsInHost(EL2) then
X{64}(t) = TRBSR_EL2();
else
X{64}(t) = TRBSR_EL1();
end;
elsif PSTATE.EL == EL3 then
if IsFeatureImplemented(FEAT_TRBE_EXT) && OSLSR_EL1().OSLK == '0' && HaltingAllowed() && EDSCR2().TTA == '1' then
Halt(DebugHalt_SoftwareAccess);
else
X{64}(t) = TRBSR_EL1();
end;
end;
MSR TRBSR_EL1, <Xt>
(op0 = 0b11, op1 = 0b000, CRn = 0b1001, CRm = 0b1011, op2 = 0b011)
if !IsFeatureImplemented(FEAT_TRBE) then
Undefined();
elsif HaveEL(EL3) && !(EffectivelyAtEL0InHost() || EffectivelyAtEL0NotInHost() || PSTATE.EL == EL3) && EL3SDDUndefPriority() && CheckMDCR_EL3_NSTBTrap() then
Undefined();
elsif PSTATE.EL == EL0 then
Undefined();
elsif PSTATE.EL == EL1 then
if EL2Enabled() && IsFeatureImplemented(FEAT_FGT) && (!HaveEL(EL3) || SCR_EL3().FGTEn == '1') && HDFGWTR_EL2().TRBSR_EL1 == '1' then
AArch64_SystemAccessTrap(EL2, 0x18);
elsif EL2Enabled() && MDCR_EL2().E2TB IN {'x0'} then
AArch64_SystemAccessTrap(EL2, 0x18);
elsif HaveEL(EL3) && CheckMDCR_EL3_NSTBTrap() then
if EL3SDDUndef() then
Undefined();
else
AArch64_SystemAccessTrap(EL3, 0x18);
end;
elsif EffectiveHCR_EL2_NVx() IN {'111'} && (EffectiveTRFCR_EL2_EE() != '00' && TRFCR_EL1().EE != '00') then
NVMem(0x860) = X{64}(t);
elsif IsFeatureImplemented(FEAT_TRBE_EXT) && OSLSR_EL1().OSLK == '0' && HaltingAllowed() && EDSCR2().TTA == '1' then
Halt(DebugHalt_SoftwareAccess);
else
TRBSR_EL1() = X{64}(t);
end;
elsif PSTATE.EL == EL2 then
if HaveEL(EL3) && CheckMDCR_EL3_NSTBTrap() then
if EL3SDDUndef() then
Undefined();
else
AArch64_SystemAccessTrap(EL3, 0x18);
end;
elsif IsFeatureImplemented(FEAT_TRBE_EXT) && OSLSR_EL1().OSLK == '0' && HaltingAllowed() && EDSCR2().TTA == '1' then
Halt(DebugHalt_SoftwareAccess);
elsif EffectiveTRFCR_EL2_EE() != '00' && ELIsInHost(EL2) then
TRBSR_EL2() = X{64}(t);
else
TRBSR_EL1() = X{64}(t);
end;
elsif PSTATE.EL == EL3 then
if IsFeatureImplemented(FEAT_TRBE_EXT) && OSLSR_EL1().OSLK == '0' && HaltingAllowed() && EDSCR2().TTA == '1' then
Halt(DebugHalt_SoftwareAccess);
else
TRBSR_EL1() = X{64}(t);
end;
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.