[Writeup] External debug and trace register pages: part 22 of 22 ================================================================ Section: Silicon & Architectures Started: 2026-11-28 17:40 UTC by admin Replies: 0, last post 2026-11-28 17:40 UTC Page: 1 of 1 Web: https://romdump.net/t/81 ------------------------------------------------------------------------------ #101 admin, 2026-11-28 17:40 UTC [OP] (edited) Source: https://romdump.net/raw/101
Archived Arm source pages for the External debug and trace register pages.
Part 22 of 22. This part covers TRCVIPCSSCTLR through TRCVMIDCVR
Trace ViewInst Start/Stop PE Comparator Control Register
Use this to select, or read, which PE Comparator Inputs can control the ViewInst start/stop function.
External register TRCVIPCSSCTLR bits [31:0] are architecturally mapped to AArch64 System register TRCVIPCSSCTLR[31:0].
This register is present only when FEAT_ETE is implemented, FEAT_TRC_EXT is implemented, and UInt(TRCIDR4.NUMPC) > 0. Otherwise, direct accesses to TRCVIPCSSCTLR are RES0.
TRCVIPCSSCTLR 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| RES0 | STOP[7] | STOP[6] | STOP[5] | STOP[4] | STOP[3] | STOP[2] | STOP[1] | STOP[0] | RES0 | START[7] | START[6] | START[5] | START[4] | START[3] | START[2] | START[1] | START[0] |
Reserved, RES0.
Selects whether PE Comparator Input <m> is in use with the ViewInst start/stop function for the purpose of stopping trace.
| STOP[<m>] | Meaning |
|---|---|
| 0b0 | The PE Comparator Input <m> is not selected as a stop resource. |
| 0b1 | The PE Comparator Input <m> is selected as a stop resource. |
The reset behavior of this field is:
On a Trace unit reset, this field resets to an architecturally UNKNOWN value. Accessing this field has the following behavior:
When m >= UInt(TRCIDR4.NUMPC), access to this field is RES0 .
Otherwise, access to this field is RW.
Reserved, RES0.
Selects whether PE Comparator Input <m> is in use with the ViewInst start/stop function for the purpose of starting trace.
| START[<m>] | Meaning |
|---|---|
| 0b0 | The PE Comparator Input <m> is not selected as a start resource. |
| 0b1 | The PE Comparator Input <m> is selected as a start resource. |
The reset behavior of this field is:
On a Trace unit reset, this field resets to an architecturally UNKNOWN value. Accessing this field has the following behavior:
When m >= UInt(TRCIDR4.NUMPC), access to this field is RES0 .
Otherwise, access to this field is RW.
Must be programmed if TRCIDR4.NUMPC != 0b0000.
If the trace unit is not in the Idle state it is CONSTRAINED UNPREDICTABLE whether writes to this register are ignored.
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x08C | TRCVIPCSSCTLR |
Accessible as follows:
Trace ViewInst Start/Stop Control Register
Use this to select, or read, the Single Address Comparators for the ViewInst start/stop function.
External register TRCVISSCTLR bits [31:0] are architecturally mapped to AArch64 System register TRCVISSCTLR[31:0].
This register is present only when FEAT_ETE is implemented, FEAT_TRC_EXT is implemented, and UInt(TRCIDR4.NUMACPAIRS) > 0. Otherwise, direct accesses to TRCVISSCTLR are RES0.
TRCVISSCTLR 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| STOP[15] | STOP[14] | STOP[13] | STOP[12] | STOP[11] | STOP[10] | STOP[9] | STOP[8] | STOP[7] | STOP[6] | STOP[5] | STOP[4] | STOP[3] | STOP[2] | STOP[1] | STOP[0] | START[15] | START[14] | START[13] | START[12] | START[11] | START[10] | START[9] | START[8] | START[7] | START[6] | START[5] | START[4] | START[3] | START[2] | START[1] | START[0] |
Selects whether Single Address Comparator <m> is used with the ViewInst start/stop function for the purpose of stopping trace.
| STOP[<m>] | Meaning |
|---|---|
| 0b0 | The Single Address Comparator <m> is not selected as a stop resource. |
| 0b1 | The Single Address Comparator <m> is selected as a stop resource. |
The reset behavior of this field is:
On a Trace unit reset, this field resets to an architecturally UNKNOWN value. Accessing this field has the following behavior:
When m >= UInt(TRCIDR4.NUMACPAIRS) * 2, access to this field is RES0 .
Otherwise, access to this field is RW.
Selects whether Single Address Comparator <m> is used with the ViewInst start/stop function for the purpose of starting trace.
| START[<m>] | Meaning |
|---|---|
| 0b0 | The Single Address Comparator <m> is not selected as a start resource. |
| 0b1 | The Single Address Comparator <m> is selected as a start resource. |
The reset behavior of this field is:
On a Trace unit reset, this field resets to an architecturally UNKNOWN value. Accessing this field has the following behavior:
When m >= UInt(TRCIDR4.NUMACPAIRS) * 2, access to this field is RES0 .
Otherwise, access to this field is RW.
Must be programmed if TRCIDR4.NUMACPAIRS > 0b0000.
For any 2 comparators selected for the ViewInst start/stop function, the comparator containing the lower address must be a lower numbered comparator.
If the trace unit is not in the Idle state it is CONSTRAINED UNPREDICTABLE whether writes to this register are ignored.
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x088 | TRCVISSCTLR |
Accessible as follows:
Trace Virtual Context Identifier Comparator Control Register 0
Virtual Context Identifier Comparator mask values for the TRCVMIDCVR<n> registers, where n=0-3.
External register TRCVMIDCCTLR0 bits [31:0] are architecturally mapped to AArch64 System register TRCVMIDCCTLR0[31:0].
This register is present only when FEAT_ETE is implemented, FEAT_TRC_EXT is implemented, UInt(TRCIDR4.NUMVMIDC) > 0x0, and UInt(TRCIDR2.VMIDSIZE) > 0. Otherwise, direct accesses to TRCVMIDCCTLR0 are RES0.
TRCVMIDCCTLR0 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| COMP3[7] | COMP3[6] | COMP3[5] | COMP3[4] | COMP3[3] | COMP3[2] | COMP3[1] | COMP3[0] | COMP2[7] | COMP2[6] | COMP2[5] | COMP2[4] | COMP2[3] | COMP2[2] | COMP2[1] | COMP2[0] | COMP1[7] | COMP1[6] | COMP1[5] | COMP1[4] | COMP1[3] | COMP1[2] | COMP1[1] | COMP1[0] | COMP0[7] | COMP0[6] | COMP0[5] | COMP0[4] | COMP0[3] | COMP0[2] | COMP0[1] | COMP0[0] |
TRCVMIDCVR3 mask control. Specifies the mask value that the trace unit applies to TRCVMIDCVR3. Each bit in this field corresponds to a byte in TRCVMIDCVR3.
| COMP3[<m>] | Meaning |
|---|---|
| 0b0 | The trace unit includes TRCVMIDCVR3[(m×8+7):(m×8)] when it performs the Virtual context identifier comparison. |
| 0b1 | The trace unit ignores TRCVMIDCVR3[(m×8+7):(m×8)] when it performs the Virtual context identifier comparison. |
The reset behavior of this field is:
On a Trace unit reset, this field resets to an architecturally UNKNOWN value. Accessing this field has the following behavior:
When m >= UInt(TRCIDR2.VMIDSIZE), access to this field is RES0 .
Otherwise, access to this field is RW.
Reserved, RES0.
TRCVMIDCVR2 mask control. Specifies the mask value that the trace unit applies to TRCVMIDCVR2. Each bit in this field corresponds to a byte in TRCVMIDCVR2.
| COMP2[<m>] | Meaning |
|---|---|
| 0b0 | The trace unit includes TRCVMIDCVR2[(m×8+7):(m×8)] when it performs the Virtual context identifier comparison. |
| 0b1 | The trace unit ignores TRCVMIDCVR2[(m×8+7):(m×8)] when it performs the Virtual context identifier comparison. |
The reset behavior of this field is:
On a Trace unit reset, this field resets to an architecturally UNKNOWN value. Accessing this field has the following behavior:
When m >= UInt(TRCIDR2.VMIDSIZE), access to this field is RES0 .
Otherwise, access to this field is RW.
Reserved, RES0.
TRCVMIDCVR1 mask control. Specifies the mask value that the trace unit applies to TRCVMIDCVR1. Each bit in this field corresponds to a byte in TRCVMIDCVR1.
| COMP1[<m>] | Meaning |
|---|---|
| 0b0 | The trace unit includes TRCVMIDCVR1[(m×8+7):(m×8)] when it performs the Virtual context identifier comparison. |
| 0b1 | The trace unit ignores TRCVMIDCVR1[(m×8+7):(m×8)] when it performs the Virtual context identifier comparison. |
The reset behavior of this field is:
On a Trace unit reset, this field resets to an architecturally UNKNOWN value. Accessing this field has the following behavior:
When m >= UInt(TRCIDR2.VMIDSIZE), access to this field is RES0 .
Otherwise, access to this field is RW.
Reserved, RES0.
TRCVMIDCVR0 mask control. Specifies the mask value that the trace unit applies to TRCVMIDCVR0. Each bit in this field corresponds to a byte in TRCVMIDCVR0.
| COMP0[<m>] | Meaning |
|---|---|
| 0b0 | The trace unit includes TRCVMIDCVR0[(m×8+7):(m×8)] when it performs the Virtual context identifier comparison. |
| 0b1 | The trace unit ignores TRCVMIDCVR0[(m×8+7):(m×8)] when it performs the Virtual context identifier comparison. |
The reset behavior of this field is:
On a Trace unit reset, this field resets to an architecturally UNKNOWN value. Accessing this field has the following behavior:
When m >= UInt(TRCIDR2.VMIDSIZE), access to this field is RES0 .
Otherwise, access to this field is RW.
Reserved, RES0.
If software uses the TRCVMIDCVR<n> registers, where n=0-3, then it must program this register.
If software sets a mask bit to 1 then it must program the relevant byte in TRCVMIDCVR<n> to 0x00.
If any bit is 1 and the relevant byte in TRCVMIDCVR<n> is not 0x00, the behavior of the Virtual Context Identifier Comparator is CONSTRAINED UNPREDICTABLE. In this scenario the comparator might match unexpectedly or might not match.
If the trace unit is not in the Idle state it is CONSTRAINED UNPREDICTABLE whether writes to this register are ignored.
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x688 | TRCVMIDCCTLR0 |
Accessible as follows:
Trace Virtual Context Identifier Comparator Control Register 1
Virtual Context Identifier Comparator mask values for the TRCVMIDCVR<n> registers, where n=4-7.
External register TRCVMIDCCTLR1 bits [31:0] are architecturally mapped to AArch64 System register TRCVMIDCCTLR1[31:0].
This register is present only when FEAT_ETE is implemented, FEAT_TRC_EXT is implemented, UInt(TRCIDR4.NUMVMIDC) > 0x4, and UInt(TRCIDR2.VMIDSIZE) > 0. Otherwise, direct accesses to TRCVMIDCCTLR1 are RES0.
TRCVMIDCCTLR1 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| COMP7[7] | COMP7[6] | COMP7[5] | COMP7[4] | COMP7[3] | COMP7[2] | COMP7[1] | COMP7[0] | COMP6[7] | COMP6[6] | COMP6[5] | COMP6[4] | COMP6[3] | COMP6[2] | COMP6[1] | COMP6[0] | COMP5[7] | COMP5[6] | COMP5[5] | COMP5[4] | COMP5[3] | COMP5[2] | COMP5[1] | COMP5[0] | COMP4[7] | COMP4[6] | COMP4[5] | COMP4[4] | COMP4[3] | COMP4[2] | COMP4[1] | COMP4[0] |
TRCVMIDCVR7 mask control. Specifies the mask value that the trace unit applies to TRCVMIDCVR7. Each bit in this field corresponds to a byte in TRCVMIDCVR7.
| COMP7[<m>] | Meaning |
|---|---|
| 0b0 | The trace unit includes TRCVMIDCVR7[(m×8+7):(m×8)] when it performs the Virtual context identifier comparison. |
| 0b1 | The trace unit ignores TRCVMIDCVR7[(m×8+7):(m×8)] when it performs the Virtual context identifier comparison. |
The reset behavior of this field is:
On a Trace unit reset, this field resets to an architecturally UNKNOWN value. Accessing this field has the following behavior:
When m >= UInt(TRCIDR2.VMIDSIZE), access to this field is RES0 .
Otherwise, access to this field is RW.
Reserved, RES0.
TRCVMIDCVR6 mask control. Specifies the mask value that the trace unit applies to TRCVMIDCVR6. Each bit in this field corresponds to a byte in TRCVMIDCVR6.
| COMP6[<m>] | Meaning |
|---|---|
| 0b0 | The trace unit includes TRCVMIDCVR6[(m×8+7):(m×8)] when it performs the Virtual context identifier comparison. |
| 0b1 | The trace unit ignores TRCVMIDCVR6[(m×8+7):(m×8)] when it performs the Virtual context identifier comparison. |
The reset behavior of this field is:
On a Trace unit reset, this field resets to an architecturally UNKNOWN value. Accessing this field has the following behavior:
When m >= UInt(TRCIDR2.VMIDSIZE), access to this field is RES0 .
Otherwise, access to this field is RW.
Reserved, RES0.
TRCVMIDCVR5 mask control. Specifies the mask value that the trace unit applies to TRCVMIDCVR5. Each bit in this field corresponds to a byte in TRCVMIDCVR5.
| COMP5[<m>] | Meaning |
|---|---|
| 0b0 | The trace unit includes TRCVMIDCVR5[(m×8+7):(m×8)] when it performs the Virtual context identifier comparison. |
| 0b1 | The trace unit ignores TRCVMIDCVR5[(m×8+7):(m×8)] when it performs the Virtual context identifier comparison. |
The reset behavior of this field is:
On a Trace unit reset, this field resets to an architecturally UNKNOWN value. Accessing this field has the following behavior:
When m >= UInt(TRCIDR2.VMIDSIZE), access to this field is RES0 .
Otherwise, access to this field is RW.
Reserved, RES0.
TRCVMIDCVR4 mask control. Specifies the mask value that the trace unit applies to TRCVMIDCVR4. Each bit in this field corresponds to a byte in TRCVMIDCVR4.
| COMP4[<m>] | Meaning |
|---|---|
| 0b0 | The trace unit includes TRCVMIDCVR4[(m×8+7):(m×8)] when it performs the Virtual context identifier comparison. |
| 0b1 | The trace unit ignores TRCVMIDCVR4[(m×8+7):(m×8)] when it performs the Virtual context identifier comparison. |
The reset behavior of this field is:
On a Trace unit reset, this field resets to an architecturally UNKNOWN value. Accessing this field has the following behavior:
When m >= UInt(TRCIDR2.VMIDSIZE), access to this field is RES0 .
Otherwise, access to this field is RW.
Reserved, RES0.
If software uses the TRCVMIDCVR<n> registers, where n=4-7, then it must program this register.
If software sets a mask bit to 1 then it must program the relevant byte in TRCVMIDCVR<n> to 0x00.
If any bit is 1 and the relevant byte in TRCVMIDCVR<n> is not 0x00, the behavior of the Virtual Context Identifier Comparator is CONSTRAINED UNPREDICTABLE. In this scenario the comparator might match unexpectedly or might not match.
If the trace unit is not in the Idle state it is CONSTRAINED UNPREDICTABLE whether writes to this register are ignored.
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x68C | TRCVMIDCCTLR1 |
Accessible as follows:
Trace Virtual Context Identifier Comparator Value Register <n>
Contains the Virtual Context Identifier Comparator value.
External register TRCVMIDCVR<n> bits [63:0] are architecturally mapped to AArch64 System register TRCVMIDCVR<n>[63:0].
This register is present only when FEAT_ETE is implemented and FEAT_TRC_EXT is implemented. Otherwise, direct accesses to TRCVMIDCVR<n> are RES0.
TRCVMIDCVR<n> 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 |
| VALUE | |||||||||||||||||||||||||||||||
| VALUE |
Virtual context identifier value. The width of this field is indicated by TRCIDR2.VMIDSIZE. Unimplemented bits are RES0. After a PE Reset, the trace unit assumes that the Virtual context identifier is zero until the PE updates the Virtual context identifier .
The reset behavior of this field is:
Must be programmed if any of the following are true:
| Component | Offset | Instance |
|---|---|---|
| ETE | 0x640 + (8 * n) | TRCVMIDCVR<n> |
Accessible as follows: