[Writeup] External debug and trace register pages: part 16 of 22 ================================================================ Section: Silicon & Architectures Started: 2026-11-28 17:39 UTC by admin Replies: 0, last post 2026-11-28 17:39 UTC Page: 1 of 1 Web: https://romdump.net/t/75 ------------------------------------------------------------------------------ #95 admin, 2026-11-28 17:39 UTC [OP] (edited) Source: https://romdump.net/raw/95

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

6362616059585756555453525150494847464544434241403938373635343332
313029282726252423222120191817161514131211109876543210
ValidIndirectInnerCacheTypeOuterCacheEntry_SizePhysical_Address
Physical_AddressShareabilityPage_SizeSize

Valid, bit [63]:

Indicates whether software has allocated memory for the table:

ValidMeaning
0b0No 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.
0b1Memory is allocated to the table.

The reset behavior of this field is:

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.

IndirectMeaning
0b0Single Level. The Size field indicates the number of pages used by the ITS to store data associated with each table entry.
0b1Two 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:

InnerCache, bits [61:59]:

Indicates the Inner Cacheability attributes of accesses to the table. The possible values of this field are:

InnerCacheMeaning
0b000Device-nGnRnE.
0b001Normal Inner Non-cacheable.
0b010Normal Inner Cacheable Read-allocate, Write-through.
0b011Normal Inner Cacheable Read-allocate, Write-back.
0b100Normal Inner Cacheable Write-allocate, Write-through.
0b101Normal Inner Cacheable Write-allocate, Write-back.
0b110Normal Inner Cacheable Read-allocate, Write-allocate, Write-through.
0b111Normal Inner Cacheable Read-allocate, Write-allocate, Write-back.

The reset behavior of this field is:

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:

TypeMeaning
0b000Unimplemented. This register does not correspond to an ITS table.
0b001Devices. 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.
0b010vPEs. 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.
0b100Interrupt 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:

OuterCacheMeaning
0b000Memory type defined in InnerCache field. For Normal memory, Outer Cacheability is the same as Inner Cacheability.
0b001Normal Outer Non-cacheable.
0b010Normal Outer Cacheable Read-allocate, Write-through.
0b011Normal Outer Cacheable Read-allocate, Write-back.
0b100Normal Outer Cacheable Write-allocate, Write-through.
0b101Normal Outer Cacheable Write-allocate, Write-back.
0b110Normal Outer Cacheable Read-allocate, Write-allocate, Write-through.
0b111Normal 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:

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:

The reset behavior of this field is:

Shareability, bits [11:10]:

Indicates the Shareability attributes of accesses to the table. The possible values of this field are:

ShareabilityMeaning
0b00Non-shareable.
0b01Inner Shareable.
0b10Outer Shareable.
0b11Reserved. 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:

Page_Size, bits [9:8]:

The size of page that the table uses:

Page_SizeMeaning
0b004KB.
0b0116KB.
0b1064KB.
0b11Reserved. 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:

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:

Accessing GITS_BASER<n>

GITS_BASER<n> can be accessed through the memory-mapped interfaces:

ComponentOffsetInstance
GIC ITS control0x0100 + (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

313029282726252423222120191817161514131211109876543210
QuiescentRES0UMSIirqITS_NumberRES0ImDeEnabled

Quiescent, bit [31]:

Read-only. Indicates completion of all ITS operations when GITS_CTLR.Enabled == 0.

QuiescentMeaning
0b0The ITS is not quiescent and cannot be powered down.
0b1The 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:

Bits [30:9]:

Reserved, RES0.

UMSIirq, bit [8]:

Unmapped MSI reporting interrupt enable.

UMSIirqMeaning
0b0The ITS does not assert an interrupt signal when GITS_STATUSR.UMSI is 1.
0b1The 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:

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:

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:

Enabled, bit [0]:

Controls whether the ITS is enabled:

EnabledMeaning
0b0The ITS is not enabled. Writes to GITS_TRANSLATER are ignored and no further command queue entries are processed.
0b1The 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:

The reset behavior of this field is:

Accessing GITS_CTLR

GITS_CTLR can be accessed through the memory-mapped interfaces:

ComponentOffsetInstance
GIC ITS control0x0000GITS_CTLR

Accesses to this register are RW.


GITS_STATUSR

ITS Error Reporting Status Register

Provides software with a mechanism to detect:

Configuration

There are no configuration notes.

Attributes

GITS_STATUSR is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
RES0SyndromeOverflowUMSIWRODRWODWRDRRD

Bits [31:10]:

Reserved, RES0.

Syndrome, bits [9:6]:

Syndrome for the MSI that set GITS_STATUSR.UMSI to 1.

SyndromeMeaning
0b0000Unknown reason.
0b0010DeviceID out of range.
0b0011DeviceID unmapped.
0b0100EventID out of range.
0b0101EventID unmapped.
0b0111Collection unmapped.
0b1001vPEID 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.

OverflowMeaning
0b0No unmapped MSIs have been received since GITS_STATUSR.UMSI set to 1.
0b1At 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.

UMSIMeaning
0b0No unmapped MSIs have been received.
0b1Unmapped 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.

WRODMeaning
0b0Normal operation.
0b1A 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.

RWODMeaning
0b0Normal operation.
0b1A 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.

WRDMeaning
0b0Normal operation.
0b1A 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.

RRDMeaning
0b0Normal operation.
0b1A 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:

ComponentOffsetInstance
GIC ITS control0x0040GITS_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

313029282726252423222120191817161514131211109876543210
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:

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:

GITS_TRANSLATER can be accessed through the memory-mapped interfaces:

ComponentOffsetInstance
GIC ITS translation0x0040GITS_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

6362616059585756555453525150494847464544434241403938373635343332
313029282726252423222120191817161514131211109876543210
RES0INVUMSIirqUMSInIDSVPETVMAPPVSGIMPAMVMOVPCILCIDbits
HCCRES0PTASEISDevbitsID_bitsITT_entry_sizeIMPLEMENTATION DEFINEDCCTVirtualPhysical

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:

INVMeaning
0b0It is IMPLEMENTATION DEFINED whether ITS caches are invalidated on clearing GITS_CTLR.Enabled and GITS_BASER<n>.Valid.
0b1ITS caches are invalidated on clearing GITS_CTLR.Enabled and GITS_BASER<n>.Valid.

If GITS_TYPER.INV is 1, after the following sequence:

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:

UMSIirqMeaning
0b0Interrupt on unmapped MSI not supported.
0b1Interrupt 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:

UMSIMeaning
0b0Reporting of unmapped MSIs is not supported.
0b1Reporting 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:

nIDMeaning
0b0Individual doorbell interrupt supported.
0b1Individual 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:

SVPETMeaning
0b00vPE Table is not shared with Redistributors.
0b01vPE Table is shared with the groups of Redistributors indicated by GITS_MPIDR.Aff3.
0b10vPE Table is shared with the groups of Redistributors indicated by GITS_MPIDR fields Aff3 and Aff2.
0b11vPE 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:

VMAPPMeaning
0b0FEAT_GICv4 VMAPP command layout.
0b1FEAT_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:

VSGIMeaning
0b0Direct injection of SGIs is not supported.
0b1Direct 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:

MPAMMeaning
0b0MPAM is not supported.
0b1MPAM 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:

VMOVPMeaning
0b0When 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.
0b1When 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:

CILMeaning
0b0ITS supports 16-bit Collection ID, GITS_TYPER.CIDbits is RES0.
0b1GITS_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.

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:

PTAMeaning
0b0The target address corresponds to the PE number specified by GICR_TYPER.Processor_Number.
0b1The 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:

SEISMeaning
0b0The ITS does not support local generation of SEIs.
0b1The 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:

CCTMeaning
0b0The total number of supported collections is determined by the number of collections held in memory only.
0b1The 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:

VirtualMeaning
0b0The ITS does not support virtual LPIs or direct injection of virtual LPIs.
0b1The 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:

PhysicalMeaning
0b0The ITS does not support physical LPIs.
0b1The 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:

ComponentOffsetInstance
GIC ITS control0x0008GITS_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

313029282726252423222120191817161514131211109876543210
ImplementerVariantArchitecturePartNumRevision

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:

ImplementerMeaning
0x00Reserved for software use.
0x41Arm Limited.
0x42Broadcom Corporation.
0x43Cavium Inc.
0x44Digital Equipment Corporation.
0x46Fujitsu Ltd.
0x49Infineon Technologies AG.
0x4DMotorola or Freescale Semiconductor Inc.
0x4ENVIDIA Corporation.
0x50Applied Micro Circuits Corporation.
0x51Qualcomm Inc.
0x56Marvell International Ltd.
0x69Intel Corporation.
0xC0Ampere 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:

ArchitectureMeaning
0b0001Armv4.
0b0010Armv4T.
0b0011Armv5 (obsolete).
0b0100Armv5T.
0b0101Armv5TE.
0b0110Armv5TEJ.
0b0111Armv6.
0b1111Architectural 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:

ComponentOffsetInstance
Debug0xD00MIDR_EL1

Accessible as follows:


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

313029282726252423222120191817161514131211109876543210
RES0OSLK

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:

ComponentOffsetInstance
Debug0x300OSLAR_EL1

Accessible as follows:


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

6362616059585756555453525150494847464544434241403938373635343332
313029282726252423222120191817161514131211109876543210
BASE
BASERES0

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:

Bits [11:0]:

Reserved, RES0.

Accessing TRBBASER_EL1

The PE might ignore a write to TRBBASER_EL1 if any of the following apply:

TRBBASER_EL1 can be accessed through the external debug interface:

ComponentOffsetInstance
TRBE0x000TRBBASER_EL1

Accessible as follows:


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

6362616059585756555453525150494847464544434241403938373635343332
313029282726252423222120191817161514131211109876543210
RES0
RES0ManStop

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:

ComponentOffsetInstance
TRBE0x038TRBCR

Accessible as follows:


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:

313029282726252423222120191817161514131211109876543210
PMG_MAXPARTID_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:

313029282726252423222120191817161514131211109876543210
RES0PMG_MAXPARTID_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:

ComponentOffsetInstance
TRBE0xFC4TRBDEVID1

Accessible as follows:


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

6362616059585756555453525150494847464544434241403938373635343332
313029282726252423222120191817161514131211109876543210
RES0MaxBuffSize
RES0MPAM2MPAMEAAddrModeFPAlign

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:

MPAM2Meaning
0b0000FEAT_MPAMv2 is not implemented by the PE.
0b0001FEAT_MPAMv2 is implemented by the Trace Buffer Unit, using Default physical PARTID and PMG values in External mode.
0b0010Trace 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:

MPAMMeaning
0b0000FEAT_MPAMv0p1 and FEAT_MPAMv1p0 are not implemented by the PE.
0b0001FEAT_MPAMv0p1 or FEAT_MPAMv1p0 is implemented by the Trace Buffer Unit, using Default physical PARTID and PMG values in External mode.
0b0010Trace 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:

EAMeaning
0b0000Not described.
0b0001The PE ignores External aborts on writes made by the Trace Buffer Unit.
0b0010An 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:

FMeaning
0b0Hardware management of the Access flag and dirty state for accesses made by the Trace Buffer Unit is always disabled for all translation stages.
0b1Hardware 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:

AlignMeaning
0b0000Byte.
0b0001Halfword.
0b0010Word.
0b0011Doubleword.
0b010016 bytes.
0b010132 bytes.
0b011064 bytes.
0b0111128 bytes.
0b1000256 bytes.
0b1001512 bytes.
0b10101KB.
0b10112KB.

All other values are reserved.

Access to this field is RO.

Accessing TRBIDR_EL1

TRBIDR_EL1 can be accessed through the external debug interface:

ComponentOffsetInstance
TRBE0x030TRBIDR_EL1

Accessible as follows:


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

6362616059585756555453525150494847464544434241403938373635343332
313029282726252423222120191817161514131211109876543210
LIMIT
LIMITRES0XEnVMTMFME

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:

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.

XEMeaning
0b0Trace Buffer Unit is not enabled by this control.
0b1If 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:

nVM, bit [5]:

Address mode.

nVMMeaning
0b0The trace buffer pointers are virtual addresses.
0b1The 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:

TM, bits [4:3]:

Trigger mode.

TMMeaning
0b00Stop on trigger. Flush trace, then stop collection and set TRBSR_EL1.IRQ to 1 on Trigger Event.
0b01IRQ on trigger. Continue collection and set TRBSR_EL1.IRQ to 1 on Trigger Event.
0b11Ignore trigger. Continue collection and leave TRBSR_EL1.IRQ unchanged on Trigger Event.

All other values are reserved.

The reset behavior of this field is:

FM, bits [2:1]:

Trace buffer mode.

FMMeaning
0b00Fill mode. Stop collection and set TRBSR_EL1.IRQ to 1 on current write pointer wrap.
0b01Wrap mode. Continue collection and set TRBSR_EL1.IRQ to 1 on current write pointer wrap.
0b11Circular 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:

E, bit [0]:

Trace Buffer Unit enable. Controls whether the Trace Buffer Unit is enabled when SelfHostedTraceEnabled() == TRUE.

EMeaning
0b0Trace Buffer Unit is not enabled by this control.
0b1If 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:

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 can be accessed through the external debug interface:

ComponentOffsetInstance
TRBE0x010TRBLIMITR_EL1

Accessible as follows:

------------------------------------------------------------------------------ Page 1 of 1. End of thread.