Archived Arm source pages for the External debug and trace register pages. Part 16 of 22. This part covers GITS_BASER, n = 0 to 7 through TRBLIMITR_EL1.
GITS_BASER<n>, n = 0, 7
ITS Table Descriptors
Specifies the base address and size of the ITS tables.
Configuration
A copy of this register is provided for each ITS table.
Bits [63:32] and bits [31:0] are accessible independently.
A maximum of 8 GITS_BASER<n> registers can be provided. Unimplemented registers are RES0.
When GITS_CTLR.Enabled == 1 or GITS_CTLR.Quiescent == 0, writing this register is UNPREDICTABLE.
Attributes
GITS_BASER<n> 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 |
| Valid | Indirect | InnerCache | Type | OuterCache | Entry_Size | Physical_Address | |||||||||||||||||||||||||
| Physical_Address | Shareability | Page_Size | Size |
Valid, bit [63]:
Indicates whether software has allocated memory for the table:
| Valid | Meaning |
|---|---|
| 0b0 | No memory is allocated for the table. The ITS discards any writes to the interrupt translation page when either: GITS_BASER<n>.Type specifies any valid table entry type other than interrupt collections, that is, any value other than 0b100. GITS_BASER<n>.Type specifies an interrupt collection and GITS_TYPER.HCC == 0. |
| 0b1 | Memory is allocated to the table. |
The reset behavior of this field is:
- On a GIC reset, this field resets to '0'.
Indirect, bit [62]:
This field indicates whether an implemented register specifies a single, flat table or a two-level table where the first level contains a list of descriptors.
| Indirect | Meaning |
|---|---|
| 0b0 | Single Level. The Size field indicates the number of pages used by the ITS to store data associated with each table entry. |
| 0b1 | Two Level. The Size field indicates the number of pages which contain an array of 64-bit descriptors to pages that are used to store the data associated with each table entry. A little endian memory order model is used. |
For more information, see 'The ITS tables' in Arm® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069).
This field is RAZ/WI for GIC implementations that only support flat tables. If the maximum width of the scaling factor that is identified by GITS_BASER<n>.Type and the smallest page size that is supported result in a single level table that requires multiple pages, then implementing this bit as RAZ/WI is DEPRECATED.
The reset behavior of this field is:
- On a GIC reset, this field resets to an architecturally UNKNOWN value.
InnerCache, bits [61:59]:
Indicates the Inner Cacheability attributes of accesses to the table. The possible values of this field are:
| InnerCache | Meaning |
|---|---|
| 0b000 | Device-nGnRnE. |
| 0b001 | Normal Inner Non-cacheable. |
| 0b010 | Normal Inner Cacheable Read-allocate, Write-through. |
| 0b011 | Normal Inner Cacheable Read-allocate, Write-back. |
| 0b100 | Normal Inner Cacheable Write-allocate, Write-through. |
| 0b101 | Normal Inner Cacheable Write-allocate, Write-back. |
| 0b110 | Normal Inner Cacheable Read-allocate, Write-allocate, Write-through. |
| 0b111 | Normal Inner Cacheable Read-allocate, Write-allocate, Write-back. |
The reset behavior of this field is:
- On a GIC reset, this field resets to an architecturally UNKNOWN value.
Type, bits [58:56]:
Read only. Specifies the type of entity that requires entries in the corresponding table. The possible values of the field are:
| Type | Meaning |
|---|---|
| 0b000 | Unimplemented. This register does not correspond to an ITS table. |
| 0b001 | Devices. This register corresponds to an ITS table that scales with the width of the DeviceID. Only a single GITS_BASER<n> register reports this type. |
| 0b010 | vPEs. FEAT_GICv4 only. This register corresponds to an ITS table that scales with the number of vPEs in the system. The table requires (ENTRY_SIZE * N) bytes of memory, where N is the number of vPEs in the system. Only a single GITS_BASER<n> register reports this type. |
| 0b100 | Interrupt collections. This register corresponds to an ITS table that scales with the number of interrupt collections in the system. The table requires (ENTRY_SIZE * N) bytes of memory, where N is the number of interrupt collections. Not more than one GITS_BASER<n> register will report this type. |
Other values are reserved.
For FEAT_GICv4p1, the registers are allocated as follows:
GITS_BASER0.Type is 0b001 (Device).
GITS_BASER1.Type is either 0b100 (Collection Table) or 0b000 (Unimplemented).
GITS_BASER2.Type is either 0b010 (vPE) or 0b000 (Unimplemented).
GITS_BASER<n>.Type, where 'n' is in the range 3 to 7, is 0b000 (Unimplemented).
For FEAT_GICv3, FEAT_GICv3p1, and FEAT_GICv4, Arm recommends that the GITS_BASER<n> use the same allocations.
Other allocations of Type values are deprecated.
OuterCache, bits [55:53]:
Indicates the Outer Cacheability attributes of accesses to the table. The possible values of this field are:
| OuterCache | Meaning |
|---|---|
| 0b000 | Memory type defined in InnerCache field. For Normal memory, Outer Cacheability is the same as Inner Cacheability. |
| 0b001 | Normal Outer Non-cacheable. |
| 0b010 | Normal Outer Cacheable Read-allocate, Write-through. |
| 0b011 | Normal Outer Cacheable Read-allocate, Write-back. |
| 0b100 | Normal Outer Cacheable Write-allocate, Write-through. |
| 0b101 | Normal Outer Cacheable Write-allocate, Write-back. |
| 0b110 | Normal Outer Cacheable Read-allocate, Write-allocate, Write-through. |
| 0b111 | Normal Outer Cacheable Read-allocate, Write-allocate, Write-back. |
It is IMPLEMENTATION DEFINED whether this field has a fixed value or can be programmed by software. Implementing this field with a fixed value is deprecated.
The reset behavior of this field is:
- On a GIC reset, this field resets to an architecturally UNKNOWN value.
Entry_Size, bits [52:48]:
Read-only. Specifies the number of bytes per table entry, minus one.
Physical_Address, bits [47:12]:
Physical Address. When Page_Size is 4KB or 16KB:
-
Bits [51:48] of the base physical address are zero.
-
This field provides bits[47:12] of the base physical address of the table.
-
Bits[11:0] of the base physical address are zero. The address must be aligned to the size specified in the Page Size field. Otherwise the effect is CONSTRAINED UNPREDICTABLE, and can be one of the following:
- Bits[X:12], where X is derived from the page size, are treated as zero.
- The value of bits[X:12] are used when calculating the address of a table access. When Page_Size is 64KB:
-
Bits[47:16] of the register provide bits[47:16] of the base physical address of the table.
-
Bits[15:12] of the register provide bits[51:48] of the base physical address of the table.
-
Bits[15:0] of the base physical address are 0. In implementations that support fewer than 52 bits of physical address, any unimplemented upper bits might be RAZ/WI.
The reset behavior of this field is:
- On a GIC reset, this field resets to an architecturally UNKNOWN value.
Shareability, bits [11:10]:
Indicates the Shareability attributes of accesses to the table. The possible values of this field are:
| Shareability | Meaning |
|---|---|
| 0b00 | Non-shareable. |
| 0b01 | Inner Shareable. |
| 0b10 | Outer Shareable. |
| 0b11 | Reserved. Treated as 0b00. |
It is IMPLEMENTATION DEFINED whether this field has a fixed value or can be programmed by software. Implementing this field with a fixed value is deprecated.
The reset behavior of this field is:
- On a GIC reset, this field resets to an architecturally UNKNOWN value.
Page_Size, bits [9:8]:
The size of page that the table uses:
| Page_Size | Meaning |
|---|---|
| 0b00 | 4KB. |
| 0b01 | 16KB. |
| 0b10 | 64KB. |
| 0b11 | Reserved. Treated as 0b10. |
If the GIC implementation supports only a single, fixed page size, this field might be RO.
The reset behavior of this field is:
- On a GIC reset, this field resets to an architecturally UNKNOWN value.
Size, bits [7:0]:
The number of pages of physical memory allocated to the table, minus one. GITS_BASER<n>.Page_Size specifies the size of each page.
If GITS_BASER<n>.Type == 0, this field is RAZ/WI.
The reset behavior of this field is:
- On a GIC reset, this field resets to an architecturally UNKNOWN value.
Accessing GITS_BASER<n>
GITS_BASER<n> can be accessed through the memory-mapped interfaces:
| Component | Offset | Instance |
|---|---|---|
| GIC ITS control | 0x0100 + (8 * n) | GITS_BASER<n> |
Accesses to this register are RW.
GITS_CTLR
ITS Control Register
Controls the operation of an ITS.
Configuration
The ITS_Number (bits [7:4]) and bit [1] fields apply only in FEAT_GICv4 implementations, and are RES0 in FEAT_GICv3 implementations.
Attributes
GITS_CTLR is a 32-bit register.
Field descriptions
| 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Quiescent | RES0 | UMSIirq | ITS_Number | RES0 | ImDe | Enabled |
Quiescent, bit [31]:
Read-only. Indicates completion of all ITS operations when GITS_CTLR.Enabled == 0.
| Quiescent | Meaning |
|---|---|
| 0b0 | The ITS is not quiescent and cannot be powered down. |
| 0b1 | The ITS is quiescent and can be powered down. |
For the ITS to be considered inactive, there must be no transactions in progress. In addition, all operations required to ensure that mapping data is consistent with external memory must be complete.
In distributed GIC implementations, this bit is set to 1 only after the ITS forwards any operations that have not yet been completed to the Redistributors and receives confirmation that all such operations have reached the appropriate Redistributor.
In FEAT_GICv3, FEAT_GICv3p1, and FEAT_GICv4, when GITS_CTLR.Enabled == 1, the value of GITS_CTLR.Quiescent is UNKNOWN.
In FEAT_GICv4p1, when GITS_CTLR.Enabled == 1, the value of GITS_CTLR.Quiescent reads as 1 until the write to Enabled has taken effect and then reads as 0.
The reset behavior of this field is:
- On a GIC reset, this field resets to '1'.
Bits [30:9]:
Reserved, RES0.
UMSIirq, bit [8]:
Unmapped MSI reporting interrupt enable.
| UMSIirq | Meaning |
|---|---|
| 0b0 | The ITS does not assert an interrupt signal when GITS_STATUSR.UMSI is 1. |
| 0b1 | The ITS asserts an interrupt signal when GITS_STATUSR.UMSI is 1. |
If GITS_TYPER.UMSIirq is 0, this field is RES0.
The reset behavior of this field is:
- On a Warm reset, this field resets to '0'.
ITS_Number, bits [7:4]:
In FEAT_GICv3 implementations this field is RES0.
In FEAT_GICv4 implementations with more than one ITS instance, this field indicates the ITS number for use with 'VMOVP GICv4.0' in Arm® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069).
When GITS_TYPER.VMOVP is 1, this field may be implemented as RES0.
If this field is programmable, changing this field when GITS_CTLR.Quiescent == 0 or GITS_CTLR.Enabled == 1 is UNPREDICTABLE.
It is IMPLEMENTATION DEFINED whether this field is programmable or RO.
The reset behavior of this field is:
- On a GIC reset, this field resets to an architecturally UNKNOWN value.
Bits [3:2]:
Reserved, RES0.
ImDe, bit [1]:
In GICv3 implementations, this bit is RES0.
In GICv4 implementations, this bit is IMPLEMENTATION DEFINED.
The reset behavior of this field is:
- On a GIC reset, this field resets to '0'.
Enabled, bit [0]:
Controls whether the ITS is enabled:
| Enabled | Meaning |
|---|---|
| 0b0 | The ITS is not enabled. Writes to GITS_TRANSLATER are ignored and no further command queue entries are processed. |
| 0b1 | The ITS is enabled. Writes to GITS_TRANSLATER result in interrupt translations and the command queue is processed. |
If a write to this register changes this field from 1 to 0, the ITS must ensure that both:
- Any caches containing mapping data are made consistent with external memory.
- GITS_CTLR.Quiescent == 0 until all caches are consistent with external memory. Changing GITS_CTLR.Enabled from 0 to 1 when GITS_CTLR.Quiescent is 0 results in UNPREDICTABLE behavior.
The reset behavior of this field is:
- On a GIC reset, this field resets to '0'.
Accessing GITS_CTLR
GITS_CTLR can be accessed through the memory-mapped interfaces:
| Component | Offset | Instance |
|---|---|---|
| GIC ITS control | 0x0000 | GITS_CTLR |
Accesses to this register are RW.
GITS_STATUSR
ITS Error Reporting Status Register
Provides software with a mechanism to detect:
- Accesses to reserved locations.
- Writes to read-only locations.
- Reads of write-only locations.
- Unmapped MSIs.
Configuration
There are no configuration notes.
Attributes
GITS_STATUSR is a 32-bit register.
Field descriptions
| 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 | Syndrome | Overflow | UMSI | WROD | RWOD | WRD | RRD |
Bits [31:10]:
Reserved, RES0.
Syndrome, bits [9:6]:
Syndrome for the MSI that set GITS_STATUSR.UMSI to 1.
| Syndrome | Meaning |
|---|---|
| 0b0000 | Unknown reason. |
| 0b0010 | DeviceID out of range. |
| 0b0011 | DeviceID unmapped. |
| 0b0100 | EventID out of range. |
| 0b0101 | EventID unmapped. |
| 0b0111 | Collection unmapped. |
| 0b1001 | vPEID unmapped. |
An implementation might not support reporting all syndromes, and might report 0b0000 for any cause.
This field is UNKNOWN when GITS_STATUSR.UMSI is 0.
Overflow, bit [5]:
Reports whether an unmapped MSI has been received while GITS_STATUSR.UMSI is 1.
| Overflow | Meaning |
|---|---|
| 0b0 | No unmapped MSIs have been received since GITS_STATUSR.UMSI set to 1. |
| 0b1 | At least one unmapped MSIs have been received since GITS_STATUSR.UMSI set to 1. |
If GITS_TYPER.UMSI is 0, this field is RES0.
Access to this field is W1C.
UMSI, bit [4]:
Reports whether an unmapped MSI has been received
An unmapped MSI is defined as an MSI arriving at GITS_TRANSLATER for which there is insufficient mapping information for it to be forwarded to a Redistributor.
It is IMPLEMENTATION DEFINED whether an INT command can be reported as an unmapped MSI.
| UMSI | Meaning |
|---|---|
| 0b0 | No unmapped MSIs have been received. |
| 0b1 | Unmapped MSI received. |
If GITS_TYPER.UMSI is 0, this field is RES0.
Access to this field is W1C.
WROD, bit [3]:
Write to an RO location.
| WROD | Meaning |
|---|---|
| 0b0 | Normal operation. |
| 0b1 | A write to an RO location has been detected. |
When a violation is detected, software must write 1 to this register to reset it.
Access to this field is W1C.
RWOD, bit [2]:
Read of a WO location.
| RWOD | Meaning |
|---|---|
| 0b0 | Normal operation. |
| 0b1 | A read of a WO location has been detected. |
When a violation is detected, software must write 1 to this register to reset it.
Access to this field is W1C.
WRD, bit [1]:
Write to a reserved location.
| WRD | Meaning |
|---|---|
| 0b0 | Normal operation. |
| 0b1 | A write to a reserved location has been detected. |
When a violation is detected, software must write 1 to this register to reset it.
Access to this field is W1C.
RRD, bit [0]:
Read of a reserved location.
| RRD | Meaning |
|---|---|
| 0b0 | Normal operation. |
| 0b1 | A read of a reserved location has been detected. |
When a violation is detected, software must write 1 to this register to reset it.
Access to this field is W1C.
Accessing GITS_STATUSR
This is an optional register. If the register is not implemented, the location is RAZ/WI.
GITS_STATUSR can be accessed through the memory-mapped interfaces:
| Component | Offset | Instance |
|---|---|---|
| GIC ITS control | 0x0040 | GITS_STATUSR |
Accesses to this register are RW.
GITS_TRANSLATER
ITS Translation Register
Written by a requesting Device to signal an interrupt for translation by the ITS.
Configuration
This register is at the same offset as GICD_SETSPI_NSR in the Distributor, and is at the same offset as GICR_SETLPIR in the Redistributor.
Attributes
GITS_TRANSLATER is a 32-bit register.
Field descriptions
| 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| EventID |
EventID, bits [31:0]:
An identifier corresponding to the interrupt to be translated.
The size of the EventID is DeviceID specific, and set when the DeviceID is mapped to an ITT (using MAPD).
The number of EventID bits implemented is reported by GITS_TYPER.ID_bits. If a write specifies nonzero identifiers bits outside this range behavior is a CONSTRAINED UNPREDICTABLE choice between:
- Nonzero identifier bits outside the supported range are ignored.
- The write is ignored.
Additional information
The DeviceID presented to an ITS is used to index a device table. The device table maps the DeviceID to an interrupt translation table for that device.
Accessing GITS_TRANSLATER
16-bit access to bits [15:0] of this register must be supported. When this register is written by a 16-bit transaction, bits [31:16] are written as zero.
Implementations must ensure that:
-
A unique DeviceID is provided for each requesting device, and the DeviceID is presented to the ITS when a write to this register occurs in a manner that cannot be spoofed by any agent capable of performing writes.
-
The DeviceID presented corresponds to the DeviceID field in the ITS commands. Writes to this register are ignored if any of the following are true:
-
GITS_CTLR.Enabled == 0.
-
The presented DeviceID is not mapped to an Interrupt Translation Table.
-
The DeviceID is larger than the supported size.
-
The DeviceID is mapped to an Interrupt Translation Table, but the EventID is outside the range specified by MAPD.
-
The EventID is mapped to an Interrupt Translation Table and the EventID is within the range specified by MAPD, but the EventID is unmapped. Translation requests that result from writes to this register are subject to certain ordering rules. For more information, see 'Ordering of translations with the output to ITS commands' in Arm® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069).
GITS_TRANSLATER can be accessed through the memory-mapped interfaces:
| Component | Offset | Instance |
|---|---|---|
| GIC ITS translation | 0x0040 | GITS_TRANSLATER |
Accesses to this register are WO.
GITS_TYPER
ITS Type Register
Specifies the features that an ITS supports.
Configuration
There are no configuration notes.
Attributes
GITS_TYPER 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 | INV | UMSIirq | UMSI | nID | SVPET | VMAPP | VSGI | MPAM | VMOVP | CIL | CIDbits | ||||||||||||||||||||
| HCC | RES0 | PTA | SEIS | Devbits | ID_bits | ITT_entry_size | IMPLEMENTATION DEFINED | CCT | Virtual | Physical |
Bits [63:47]:
Reserved, RES0.
INV, bit [46]:
ITS cache invalidation behavior on disable.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| INV | Meaning |
|---|---|
| 0b0 | It is IMPLEMENTATION DEFINED whether ITS caches are invalidated on clearing GITS_CTLR.Enabled and GITS_BASER<n>.Valid. |
| 0b1 | ITS caches are invalidated on clearing GITS_CTLR.Enabled and GITS_BASER<n>.Valid. |
If GITS_TYPER.INV is 1, after the following sequence:
- GITS_CTLR.Enabled written to 0.
- A read of GITS_CTLR.Quiescent returns 1.
- GITS_BASER<n>.Valid written to 0. There is no cached information from the ITS memory structure pointed to by GITS_BASER<n>.
Access to this field is RO.
UMSIirq, bit [45]:
Indicates support for generating an interrupt on receiving unmapped MSI.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| UMSIirq | Meaning |
|---|---|
| 0b0 | Interrupt on unmapped MSI not supported. |
| 0b1 | Interrupt on unmapped MSI is supported. |
If GITS_TYPER.UMSI is 0, this field is RES0.
Access to this field is RO.
UMSI, bit [44]:
Indicates support for reporting receipt of unmapped MSIs.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| UMSI | Meaning |
|---|---|
| 0b0 | Reporting of unmapped MSIs is not supported. |
| 0b1 | Reporting of unmapped MSIs is supported. |
Access to this field is RO.
nID, bit [43] when GICv4.1 is implemented:
nID
The value of this field is an IMPLEMENTATION DEFINED choice of:
| nID | Meaning |
|---|---|
| 0b0 | Individual doorbell interrupt supported. |
| 0b1 | Individual doorbell interrupt not supported. |
Access to this field is RO.
Otherwise:
Reserved, RES0.
SVPET, bits [42:41] when GICv4.1 is implemented:
SVPET
The value of this field is an IMPLEMENTATION DEFINED choice of:
| SVPET | Meaning |
|---|---|
| 0b00 | vPE Table is not shared with Redistributors. |
| 0b01 | vPE Table is shared with the groups of Redistributors indicated by GITS_MPIDR.Aff3. |
| 0b10 | vPE Table is shared with the groups of Redistributors indicated by GITS_MPIDR fields Aff3 and Aff2. |
| 0b11 | vPE Table is shared with the groups of Redistributors indicated by GITS_MPIDR fields Aff3, Aff2 and Aff1. |
Access to this field is RO.
Otherwise:
Reserved, RES0.
VMAPP, bit [40] when GICv4.1 is implemented:
VMAPP
The value of this field is an IMPLEMENTATION DEFINED choice of:
| VMAPP | Meaning |
|---|---|
| 0b0 | FEAT_GICv4 VMAPP command layout. |
| 0b1 | FEAT_GICv4p1 VMAPP command layout. |
Access to this field is RO.
Otherwise:
Reserved, RES0.
VSGI, bit [39] when GICv4.1 is implemented:
VSGI
The value of this field is an IMPLEMENTATION DEFINED choice of:
| VSGI | Meaning |
|---|---|
| 0b0 | Direct injection of SGIs is not supported. |
| 0b1 | Direct injection of SGIs is supported. |
Access to this field is RO.
Otherwise:
Reserved, RES0.
MPAM, bit [38] when GICv3.1 is implemented:
MPAM
The value of this field is an IMPLEMENTATION DEFINED choice of:
| MPAM | Meaning |
|---|---|
| 0b0 | MPAM is not supported. |
| 0b1 | MPAM is supported. |
Access to this field is RO.
Otherwise:
Reserved, RES0.
VMOVP, bit [37] when GICv4 is implemented:
Indicates the form of the VMOVP command.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| VMOVP | Meaning |
|---|---|
| 0b0 | When moving a vPE, software must issue a VMOVP on all ITSs that have mappings for that vPE. The ITSList and Sequence Number fields in the VMOVP command must ensure synchronization, otherwise behavior is UNPREDICTABLE. |
| 0b1 | When moving a vPE, software must only issue a VMOVP on one of the ITSs that has a mapping for that vPE. The ITSList and Sequence Number fields in the VMOVP command are RES0. |
Access to this field is RO.
Otherwise:
Reserved, RES0.
CIL, bit [36]:
Collection ID Limit.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| CIL | Meaning |
|---|---|
| 0b0 | ITS supports 16-bit Collection ID, GITS_TYPER.CIDbits is RES0. |
| 0b1 | GITS_TYPER.CIDbits indicates supported Collection ID size |
In implementations that do not support Collections in external memory, this bit is RES0 and the number of Collections supported is reported by GITS_TYPER.HCC.
Access to this field is RO.
CIDbits, bits [35:32]:
Number of Collection ID bits.
- The number of bits of Collection ID minus one.
- When GITS_TYPER.CIL == 0, this field is RES0. This field has an IMPLEMENTATION DEFINED value.
Access to this field is RO.
HCC, bits [31:24]:
Hardware Collection Count. The number of interrupt collections supported by the ITS without provisioning of external memory.
Collections held in hardware are unmapped at reset.
This field has an IMPLEMENTATION DEFINED value.
Access to this field is RO.
Bits [23:20]:
Reserved, RES0.
PTA, bit [19]:
Physical Target Addresses. Indicates the format of the target address:
The value of this field is an IMPLEMENTATION DEFINED choice of:
| PTA | Meaning |
|---|---|
| 0b0 | The target address corresponds to the PE number specified by GICR_TYPER.Processor_Number. |
| 0b1 | The target address corresponds to the base physical address of the required Redistributor. |
For more information, see 'RDbase' in Arm® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069).
Access to this field is RO.
SEIS, bit [18]:
SEI support. Indicates whether the ITS supports generation of SEIs:
The value of this field is an IMPLEMENTATION DEFINED choice of:
| SEIS | Meaning |
|---|---|
| 0b0 | The ITS does not support local generation of SEIs. |
| 0b1 | The ITS supports local generation of SEIs. |
Access to this field is RO.
Devbits, bits [17:13]:
The number of DeviceID bits implemented, minus one.
This field has an IMPLEMENTATION DEFINED value.
Access to this field is RO.
ID_bits, bits [12:8]:
The number of EventID bits implemented, minus one.
This field has an IMPLEMENTATION DEFINED value.
Access to this field is RO.
ITT_entry_size, bits [7:4]:
Read-only. Indicates the number of bytes per translation table entry, minus one.
For more information about the ITS command 'MAPD', see MAPD.
This field has an IMPLEMENTATION DEFINED value.
Access to this field is RO.
IMPLEMENTATION DEFINED, bit [3]:
IMPLEMENTATION DEFINED.
CCT, bit [2]:
Cumulative Collection Tables.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| CCT | Meaning |
|---|---|
| 0b0 | The total number of supported collections is determined by the number of collections held in memory only. |
| 0b1 | The total number of supported collections is determined by number of collections that are held in memory and the number indicated by GITS_TYPER.HCC. |
If GITS_TYPER.HCC == 0, or if memory backed collections are not supported (all GITS_BASER<n>.Type != 100), this bit is RES0.
Access to this field is RO.
Virtual, bit [1] when GICv4 is implemented:
Indicates whether the ITS supports virtual LPIs and direct injection of virtual LPIs:
The value of this field is an IMPLEMENTATION DEFINED choice of:
| Virtual | Meaning |
|---|---|
| 0b0 | The ITS does not support virtual LPIs or direct injection of virtual LPIs. |
| 0b1 | The ITS supports virtual LPIs and direct injection of virtual LPIs. |
Access to this field is RO.
Otherwise:
Reserved, RES0.
Physical, bit [0]:
Indicates whether the ITS supports physical LPIs:
The value of this field is an IMPLEMENTATION DEFINED choice of:
| Physical | Meaning |
|---|---|
| 0b0 | The ITS does not support physical LPIs. |
| 0b1 | The ITS supports physical LPIs. |
This field is RES1, indicating that the ITS supports physical LPIs.
Access to this field is RO.
Accessing GITS_TYPER
GITS_TYPER can be accessed through the memory-mapped interfaces:
| Component | Offset | Instance |
|---|---|---|
| GIC ITS control | 0x0008 | GITS_TYPER |
Accesses to this register are RO.
MIDR_EL1
Main ID Register
Provides identification information for the PE, including an implementer code for the device and a device ID number.
Configuration
External register MIDR_EL1 bits [31:0] are architecturally mapped to AArch64 System register MIDR_EL1[31:0].
External register MIDR_EL1 bits [31:0] are architecturally mapped to AArch32 System register MIDR[31:0].
The power domain of MIDR_EL1 is IMPLEMENTATION DEFINED.
Attributes
MIDR_EL1 is a 32-bit register.
Field descriptions
| 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Implementer | Variant | Architecture | PartNum | Revision |
Implementer, bits [31:24]:
The Implementer code. This field must hold an implementer code that has been assigned by Arm.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| Implementer | Meaning |
|---|---|
| 0x00 | Reserved for software use. |
| 0x41 | Arm Limited. |
| 0x42 | Broadcom Corporation. |
| 0x43 | Cavium Inc. |
| 0x44 | Digital Equipment Corporation. |
| 0x46 | Fujitsu Ltd. |
| 0x49 | Infineon Technologies AG. |
| 0x4D | Motorola or Freescale Semiconductor Inc. |
| 0x4E | NVIDIA Corporation. |
| 0x50 | Applied Micro Circuits Corporation. |
| 0x51 | Qualcomm Inc. |
| 0x56 | Marvell International Ltd. |
| 0x69 | Intel Corporation. |
| 0xC0 | Ampere Computing. |
Arm can assign codes that are not published in this manual. All values not assigned by Arm are reserved and must not be used.
Access to this field is RO.
Variant, bits [23:20]:
Variant number. Typically, this field is used to distinguish between different product variants, or major revisions of a product.
This field has an IMPLEMENTATION DEFINED value.
Access to this field is RO.
Architecture, bits [19:16]:
Architecture version.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| Architecture | Meaning |
|---|---|
| 0b0001 | Armv4. |
| 0b0010 | Armv4T. |
| 0b0011 | Armv5 (obsolete). |
| 0b0100 | Armv5T. |
| 0b0101 | Armv5TE. |
| 0b0110 | Armv5TEJ. |
| 0b0111 | Armv6. |
| 0b1111 | Architectural features are individually identified in the ID_* registers. |
All other values are reserved.
Access to this field is RO.
PartNum, bits [15:4]:
Primary Part Number for the device.
On processors implemented by Arm, if the top four bits of the primary part number are 0x0 or 0x7, the variant and architecture are encoded differently.
This field has an IMPLEMENTATION DEFINED value.
Access to this field is RO.
Revision, bits [3:0]:
Revision number for the device.
This field has an IMPLEMENTATION DEFINED value.
Access to this field is RO.
Accessing MIDR_EL1
MIDR_EL1 can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| Debug | 0xD00 | MIDR_EL1 |
Accessible as follows:
- When DoubleLockStatus() or !IsCorePowered(), accesses to this register are IMPDEF.
- Otherwise, accesses to this register are RO.
OSLAR_EL1
OS Lock Access Register
Used to lock or unlock the OS Lock.
Configuration
External register OSLAR_EL1 bits [31:0] are architecturally mapped to AArch64 System register OSLAR_EL1[31:0].
OSLAR_EL1 is in the Core power domain.
The OS Lock can also be locked or unlocked using DBGOSLAR.
If FEAT_Debugv8p2 is not implemented, it is IMPLEMENTATION DEFINED whether external debug accesses to OSLAR_EL1 are ignored and return an error when AllowExternalDebugAccess() returns FALSE for the access.
If FEAT_Debugv8p2 is implemented, external debug accesses to OSLAR_EL1 are ignored and return an error when AllowExternalDebugAccess() returns FALSE for the access.
Attributes
OSLAR_EL1 is a 32-bit register.
Field descriptions
| 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 | OSLK |
Bits [31:1]:
Reserved, RES0.
OSLK, bit [0]:
On writes to OSLAR_EL1, bit[0] is copied to the OS Lock.
Use EDPRSR.OSLK to check the current status of the lock.
Accessing OSLAR_EL1
OSLAR_EL1 can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| Debug | 0x300 | OSLAR_EL1 |
Accessible as follows:
- When DoubleLockStatus(), or !IsCorePowered(), or (!AllowExternalDebugAccess(addrdesc) and FEAT_Debugv8p2 is implemented), accesses to this register generate an error response.
- When AllowExternalDebugAccess(addrdesc) and SoftwareLockStatus(addrdesc), accesses to this register are WI.
- When AllowExternalDebugAccess(addrdesc) and !SoftwareLockStatus(addrdesc), accesses to this register are WO.
- Otherwise, accesses to this register are IMPDEF.
TRBBASER_EL1
Trace Buffer Base Address Register
Defines the base address for the trace buffer.
Configuration
External register TRBBASER_EL1 bits [63:0] are architecturally mapped to AArch64 System register TRBBASER_EL1[63:0] when FEAT_TRBE_EXT is implemented.
TRBBASER_EL1 is in the Core power domain.
This register is present only when FEAT_TRBE_EXT is implemented. Otherwise, direct accesses to TRBBASER_EL1 are RES0.
Attributes
TRBBASER_EL1 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 |
| BASE | |||||||||||||||||||||||||||||||
| BASE | RES0 |
BASE, bits [63:12]:
Trace Buffer Base pointer address. (TRBBASER_EL1.BASE << 12) is the address of the first byte in the trace buffer. Bits [11:0] of the Base pointer address are always zero. If the smallest implemented translation granule is not 4KB, then TRBBASER_EL1[N-1:12] are RES0, where N is the IMPLEMENTATION DEFINED value Log2(smallest implemented translation granule).
The reset behavior of this field is:
- On a Cold reset, this field resets to an architecturally UNKNOWN value.
Bits [11:0]:
Reserved, RES0.
Accessing TRBBASER_EL1
The PE might ignore a write to TRBBASER_EL1 if any of the following apply:
- TRBLIMITR_EL1.E is 1 and the Trace Buffer Unit is using Self-hosted mode.
- TRBLIMITR_EL1.XE is 1 and the Trace Buffer Unit is using External mode.
TRBBASER_EL1 can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| TRBE | 0x000 | TRBBASER_EL1 |
Accessible as follows:
- When DoubleLockStatus(), or !IsCorePowered(), or OSLockStatus(), or !AllowExternalTraceBufferAccess(addrdesc), accesses to this register generate an error response.
- Otherwise, accesses to this register are RW.
TRBCR
Trace Buffer Control Register
Provides trace buffer controls for an external debugger.
Configuration
TRBCR is in the Core power domain.
This register is present only when FEAT_TRBE_EXT is implemented. Otherwise, direct accesses to TRBCR are RES0.
Attributes
TRBCR 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 | |||||||||||||||||||||||||||||||
| RES0 | ManStop |
Bits [63:1]:
Reserved, RES0.
ManStop, bit [0]:
Flush and Stop collection. A write of 1 to this field causes a trace buffer flush, and on completion of the flush, Collection is stopped and the Trace Buffer Unit writes all trace data it has Accepted from the trace unit to memory, adding padding data if necessary.
Access to this field is WO/RAZ.
Accessing TRBCR
TRBCR can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| TRBE | 0x038 | TRBCR |
Accessible as follows:
- When DoubleLockStatus(), or !IsCorePowered(), or OSLockStatus(), or !AllowExternalTraceBufferAccess(addrdesc), accesses to this register generate an error response.
- Otherwise, accesses to this register are RW.
TRBDEVID1
Device Configuration Register 1
Provides discovery information for the component.
For additional information, see the CoreSight Architecture Specification.
Configuration
TRBDEVID1 is in the Core power domain.
This register is present only when FEAT_TRBE_EXT is implemented. Otherwise, direct accesses to TRBDEVID1 are RES0.
Attributes
TRBDEVID1 is a 32-bit register.
Field descriptions
MPAMv2 variant when FEAT_MPAMv2 is implemented:
| 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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| PMG_MAX | PARTID_MAX |
PMG_MAX, bits [31:16] (MPAMv2 variant) when FEAT_TRBE_MPAM is implemented:
Largest permitted PMG value. The TRBMPAM_EL1.PMG field must implement at least enough bits to represent TRBDEVID1.PMG_MAX.
This field has an IMPLEMENTATION DEFINED value.
Access to this field is RO.
Otherwise:
Reserved, RES0.
PARTID_MAX, bits [15:0] when FEAT_TRBE_MPAM is implemented:
Largest permitted PARTID value. The TRBMPAM_EL1.PARTID field must implement at least enough bits to represent TRBDEVID1.PARTID_MAX.
This field has an IMPLEMENTATION DEFINED value.
Access to this field is RO.
Otherwise:
Reserved, RES0.
MPAMv0or1px variant otherwise:
| 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 | PMG_MAX | PARTID_MAX |
Bits [31:24]:
Reserved, RES0.
PMG_MAX, bits [23:16] (MPAMv0or1px variant) when FEAT_TRBE_MPAM is implemented:
Largest permitted PMG value. The TRBMPAM_EL1.PMG field must implement at least enough bits to represent TRBDEVID1.PMG_MAX.
This field has an IMPLEMENTATION DEFINED value.
Access to this field is RO.
Otherwise:
Reserved, RES0.
PARTID_MAX, bits [15:0] when FEAT_TRBE_MPAM is implemented:
Largest permitted PARTID value. The TRBMPAM_EL1.PARTID field must implement at least enough bits to represent TRBDEVID1.PARTID_MAX.
This field has an IMPLEMENTATION DEFINED value.
Access to this field is RO.
Otherwise:
Reserved, RES0.
Accessing TRBDEVID1
TRBDEVID1 can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| TRBE | 0xFC4 | TRBDEVID1 |
Accessible as follows:
- When DoubleLockStatus() or !IsCorePowered(), accesses to this register generate an error response.
- Otherwise, accesses to this register are RO.
TRBIDR_EL1
Trace Buffer ID Register
Describes constraints on using the Trace Buffer Unit to an external debugger.
Configuration
External register TRBIDR_EL1 bits [63:0] are architecturally mapped to AArch64 System register TRBIDR_EL1[63:0] when FEAT_TRBE_EXT is implemented.
TRBIDR_EL1 is in the Core power domain.
This register is present only when FEAT_TRBE_EXT is implemented. Otherwise, direct accesses to TRBIDR_EL1 are RES0.
Attributes
TRBIDR_EL1 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 | MaxBuffSize | ||||||||||||||||||||||||||||||
| RES0 | MPAM2 | MPAM | EA | AddrMode | F | P | Align |
Bits [63:48]:
Reserved, RES0.
MaxBuffSize, bits [47:32]:
Maximum supported trace buffer size. Reserved for software use.
The only permitted value is 0x0000, indicating there is no limit to the maximum buffer size.
Reads as 0x0000.
Access to this field is RO.
Bits [31:20]:
Reserved, RES0.
MPAM2, bits [19:16] when FEAT_TRBE_EXT is implemented:
FEAT_MPAMv2 extensions. Indicates Memory Partitioning and Monitoring (MPAM) support using FEAT_MPAMv2 in the Trace Buffer Unit when using External mode.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| MPAM2 | Meaning |
|---|---|
| 0b0000 | FEAT_MPAMv2 is not implemented by the PE. |
| 0b0001 | FEAT_MPAMv2 is implemented by the Trace Buffer Unit, using Default physical PARTID and PMG values in External mode. |
| 0b0010 | Trace Buffer MPAM extensions implemented, using FEAT_MPAMv2. |
When FEAT_MPAMv2 is not implemented by the PE, the only permitted value is 0b0000.
When FEAT_MPAMv2 is implemented by the PE, the value 0b0000 is not permitted.
FEAT_TRBE_MPAM implements the functionality identified by the value 0b0010.
Access to this field is RO.
Otherwise:
Reserved, RES0.
MPAM, bits [15:12] when FEAT_TRBE_EXT is implemented:
FEAT_MPAMv0p1 or FEAT_MPAMv1p0 extensions. Indicates Memory Partitioning and Monitoring (MPAM) support using FEAT_MPAMv0p1 or FEAT_MPAMv1p0 in the Trace Buffer Unit when using External mode.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| MPAM | Meaning |
|---|---|
| 0b0000 | FEAT_MPAMv0p1 and FEAT_MPAMv1p0 are not implemented by the PE. |
| 0b0001 | FEAT_MPAMv0p1 or FEAT_MPAMv1p0 is implemented by the Trace Buffer Unit, using Default physical PARTID and PMG values in External mode. |
| 0b0010 | Trace Buffer MPAM extensions implemented, using FEAT_MPAMv0p1 or FEAT_MPAMv1p0. |
When FEAT_MPAMv0p1 and FEAT_MPAMv1p0 are not implemented by the PE, the only permitted value is 0b0000.
When either FEAT_MPAMv0p1 or FEAT_MPAMv1p0 is implemented by the PE, the value 0b0000 is not permitted.
FEAT_TRBE_MPAM implements the functionality identified by the value 0b0010.
Access to this field is RO.
Otherwise:
Reserved, RES0.
EA, bits [11:8]:
External Abort handling. Describes how the PE manages External aborts on writes made by the Trace Buffer Unit to the trace buffer.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| EA | Meaning |
|---|---|
| 0b0000 | Not described. |
| 0b0001 | The PE ignores External aborts on writes made by the Trace Buffer Unit. |
| 0b0010 | An External abort on a write made by the Trace Buffer Unit generates an asynchronous SError exception at the PE. |
All other values are reserved.
From Armv9.3, the value 0b0000 is not permitted.
The behavior described by this field does not apply for External aborts on a translation table walk, translation table update, or GPT walk made by the Trace Buffer Unit that are reported as MMU faults using TRBSR_ELx. For more information, see 'External aborts'.
Access to this field is RO.
AddrMode, bits [7:6]:
This field reads as an UNKNOWN value.
F, bit [5]:
Flag updates. Describes how address translations performed by the Trace Buffer Unit manage the Access flag and dirty state.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| F | Meaning |
|---|---|
| 0b0 | Hardware management of the Access flag and dirty state for accesses made by the Trace Buffer Unit is always disabled for all translation stages. |
| 0b1 | Hardware management of the Access flag and dirty state for accesses made by the Trace Buffer Unit is controlled in the same way as explicit memory accesses in the trace buffer owning translation regime. |
If hardware management of the Access flag is disabled for a stage of translation, an access to a Page or Block with the Access flag bit not set in the descriptor will generate an Access Flag fault.
If hardware management of the dirty state is disabled for a stage of translation, an access to a Page or Block will ignore the Dirty Bit Modifier in the descriptor and might generate a Permission fault, depending on the values of the access permission bits in the descriptor.
From Armv9.3, the value 0 is not permitted.
Access to this field is RO.
P, bit [4]:
This field reads as an UNKNOWN value.
Align, bits [3:0]:
Defines the minimum alignment constraint for writes to TRBPTR_EL1 and TRBTRG_EL1.
The value of this field is an IMPLEMENTATION DEFINED choice of:
| Align | Meaning |
|---|---|
| 0b0000 | Byte. |
| 0b0001 | Halfword. |
| 0b0010 | Word. |
| 0b0011 | Doubleword. |
| 0b0100 | 16 bytes. |
| 0b0101 | 32 bytes. |
| 0b0110 | 64 bytes. |
| 0b0111 | 128 bytes. |
| 0b1000 | 256 bytes. |
| 0b1001 | 512 bytes. |
| 0b1010 | 1KB. |
| 0b1011 | 2KB. |
All other values are reserved.
Access to this field is RO.
Accessing TRBIDR_EL1
TRBIDR_EL1 can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| TRBE | 0x030 | TRBIDR_EL1 |
Accessible as follows:
- When DoubleLockStatus(), or !IsCorePowered(), or OSLockStatus(), or !AllowExternalTraceBufferAccess(addrdesc), accesses to this register generate an error response.
- Otherwise, accesses to this register are RO.
TRBLIMITR_EL1
Trace Buffer Limit Address Register
Defines the top address for the trace buffer, and controls the trace buffer modes and enable.
Configuration
External register TRBLIMITR_EL1 bits [63:0] are architecturally mapped to AArch64 System register TRBLIMITR_EL1[63:0] when FEAT_TRBE_EXT is implemented.
TRBLIMITR_EL1 is in the Core power domain.
This register is present only when FEAT_TRBE_EXT is implemented. Otherwise, direct accesses to TRBLIMITR_EL1 are RES0.
Attributes
TRBLIMITR_EL1 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 |
| LIMIT | |||||||||||||||||||||||||||||||
| LIMIT | RES0 | XE | nVM | TM | FM | E |
LIMIT, bits [63:12]:
Trace buffer Limit pointer address. (TRBLIMITR_EL1.LIMIT << 12) is the address of the last byte in the trace buffer plus one. Bits [11:0] of the Limit pointer address are always zero. If the smallest implemented translation granule is not 4KB, then TRBLIMITR_EL1[N-1:12] are RES0, where N is the IMPLEMENTATION DEFINED value Log2(smallest implemented translation granule).
The reset behavior of this field is:
- On a Cold reset, this field resets to an architecturally UNKNOWN value.
Bits [11:7]:
Reserved, RES0.
XE, bit [6]:
Trace Buffer Unit External mode enable. Controls whether the Trace Buffer Unit is enabled when SelfHostedTraceEnabled() == FALSE.
| XE | Meaning |
|---|---|
| 0b0 | Trace Buffer Unit is not enabled by this control. |
| 0b1 | If SelfHostedTraceEnabled() is FALSE, the Trace Buffer Unit is enabled. |
If SelfHostedTraceEnabled() == TRUE, then TRBLIMITR_EL1.E controls whether the Trace Buffer Unit is enabled.
All output is discarded by the Trace Buffer Unit when the Trace Buffer Unit is disabled.
The reset behavior of this field is:
- On a Cold reset, this field resets to '0'.
nVM, bit [5]:
Address mode.
| nVM | Meaning |
|---|---|
| 0b0 | The trace buffer pointers are virtual addresses. |
| 0b1 | The trace buffer pointers are: Physical address in the owning security state if the owning translation regime has no stage 2 translation. Intermediate physical addresses in the owning security state if the owning translation regime has stage 2 translations. |
If SelfHostedTraceEnabled() == FALSE, then the PE ignores the value of this field and the trace buffer pointers are always physical addresses.
The reset behavior of this field is:
-
On a Cold reset, this field resets to an architecturally UNKNOWN value. Accessing this field has the following behavior:
-
When !SelfHostedTraceEnabled(), access to this field is RES1 .
-
Otherwise, access to this field is RW.
TM, bits [4:3]:
Trigger mode.
| TM | Meaning |
|---|---|
| 0b00 | Stop on trigger. Flush trace, then stop collection and set TRBSR_EL1.IRQ to 1 on Trigger Event. |
| 0b01 | IRQ on trigger. Continue collection and set TRBSR_EL1.IRQ to 1 on Trigger Event. |
| 0b11 | Ignore trigger. Continue collection and leave TRBSR_EL1.IRQ unchanged on Trigger Event. |
All other values are reserved.
The reset behavior of this field is:
- On a Cold reset, this field resets to an architecturally UNKNOWN value.
FM, bits [2:1]:
Trace buffer mode.
| FM | Meaning |
|---|---|
| 0b00 | Fill mode. Stop collection and set TRBSR_EL1.IRQ to 1 on current write pointer wrap. |
| 0b01 | Wrap mode. Continue collection and set TRBSR_EL1.IRQ to 1 on current write pointer wrap. |
| 0b11 | Circular Buffer mode. Continue collection and leave TRBSR_EL1.IRQ unchanged on current write pointer wrap. |
All other values are reserved.
The reset behavior of this field is:
- On a Cold reset, this field resets to an architecturally UNKNOWN value.
E, bit [0]:
Trace Buffer Unit enable. Controls whether the Trace Buffer Unit is enabled when SelfHostedTraceEnabled() == TRUE.
| E | Meaning |
|---|---|
| 0b0 | Trace Buffer Unit is not enabled by this control. |
| 0b1 | If SelfHostedTraceEnabled() is TRUE, the Trace Buffer Unit is enabled. |
If FEAT_TRBE_EXT is implemented and SelfHostedTraceEnabled() == FALSE, then TRBLIMITR_EL1.XE controls whether the Trace Buffer Unit is enabled.
If FEAT_TRBE_EXT is not implemented, then the Trace Buffer Unit is disabled when SelfHostedTraceEnabled() == FALSE.
All output is discarded by the Trace Buffer Unit when the Trace Buffer Unit is disabled.
The reset behavior of this field is:
- On a Warm reset, this field resets to '0'.
Accessing TRBLIMITR_EL1
The PE might ignore a write to TRBLIMITR_EL1, other than a write that modifies TRBLIMITR_EL1.E or TRBLIMITR_EL1.XE as appropriate, if any of the following apply:
- TRBLIMITR_EL1.E is 1 and the Trace Buffer Unit is using Self-hosted mode.
- TRBLIMITR_EL1.XE is 1 and the Trace Buffer Unit is using External mode.
TRBLIMITR_EL1 can be accessed through the external debug interface:
| Component | Offset | Instance |
|---|---|---|
| TRBE | 0x010 | TRBLIMITR_EL1 |
Accessible as follows:
- When DoubleLockStatus(), or !IsCorePowered(), or OSLockStatus(), or !AllowExternalTraceBufferAccess(addrdesc), accesses to this register generate an error response.
- Otherwise, accesses to this register are RW.