This forum was built by humans, for humans. AI was used exclusively for security auditing. The forum officially launched on November 24, 2026. Read more

romdump.net
romdump.net › Forum › Silicon & Architectures › External debug and trace register pages: part 14 of 22

Writeup External debug and trace register pages: part 14 of 22

started by admin

admin admin admingod mode Posts 116
Rep 505
Joined Nov 2026
2d ago (edited) OP #93

Archived Arm source pages for the External debug and trace register pages. Part 14 of 22. This part covers GICR_IPRIORITYR, n = 0 to 7 through GICR_VPENDBASER.

GICR_IPRIORITYR<n>, n = 0, 7

Interrupt Priority Registers

Holds the priority of the corresponding interrupt for each SGI and PPI supported by the GIC.

Configuration

A copy of these registers is provided for each Redistributor.

These registers are configured as follows:

  • GICR_IPRIORITYR0-GICR_IPRIORITYR3 store the priority of SGIs.
  • GICR_IPRIORITYR4-GICR_IPRIORITYR7 store the priority of PPIs.

Attributes

GICR_IPRIORITYR<n> is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
Priority_offset_3BPriority_offset_2BPriority_offset_1BPriority_offset_0B

Priority_offset_3B, bits [31:24]:

Interrupt priority value from an IMPLEMENTATION DEFINED range, at byte offset 3. Lower priority values correspond to greater priority of the interrupt. For an INTID configured as non-maskable, this field is RES0.

The reset behavior of this field is:

  • On a GIC reset, this field resets to an architecturally UNKNOWN value.

Priority_offset_2B, bits [23:16]:

Interrupt priority value from an IMPLEMENTATION DEFINED range, at byte offset 2. Lower priority values correspond to greater priority of the interrupt. For an INTID configured as non-maskable, this field is RES0.

The reset behavior of this field is:

  • On a GIC reset, this field resets to an architecturally UNKNOWN value.

Priority_offset_1B, bits [15:8]:

Interrupt priority value from an IMPLEMENTATION DEFINED range, at byte offset 1. Lower priority values correspond to greater priority of the interrupt. For an INTID configured as non-maskable, this field is RES0.

The reset behavior of this field is:

  • On a GIC reset, this field resets to an architecturally UNKNOWN value.

Priority_offset_0B, bits [7:0]:

Interrupt priority value from an IMPLEMENTATION DEFINED range, at byte offset 0. Lower priority values correspond to greater priority of the interrupt. For an INTID configured as non-maskable, this field is RES0.

The reset behavior of this field is:

  • On a GIC reset, this field resets to an architecturally UNKNOWN value.

Accessing GICR_IPRIORITYR<n>

These registers are used when affinity routing is enabled for the Security state of the interrupt. When affinity routing is not enabled the bits corresponding to the interrupt are RAZ/WI and GICD_IPRIORITYR<n> provides equivalent functionality.

These registers are used for SGIs and PPIs only. Equivalent functionality for SPIs is provided by GICD_IPRIORITYR<n>.

These registers are byte-accessible.

When GICD_CTLR.DS == 0:

A field that corresponds to a Group 0 or Secure Group 1 interrupt is RAZ/WI to Non-secure accesses.

A Non-secure access to a field that corresponds to a Non-secure Group 1 interrupt behaves as described in 'Software accesses of interrupt priority' in Arm® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069).

Implementations must ensure that an interrupt that is pending at the time of the write uses either the old value or the new value and must ensure that the interrupt is neither lost nor handled more than one time. The effect of the change must be visible in finite time.

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

| Component | Frame | Offset | Instance | | GIC Redistributor | SGI_base | 0x0400 + (4 * n) | GICR_IPRIORITYR<n> |

Accesses to this register are RW.


GICR_ISACTIVER0

Interrupt Set-Active Register 0

Activates the corresponding SGI or PPI. These registers are used when saving and restoring GIC state.

Configuration

A copy of this register is provided for each Redistributor.

Attributes

GICR_ISACTIVER0 is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
Set_active_bit31Set_active_bit30Set_active_bit29Set_active_bit28Set_active_bit27Set_active_bit26Set_active_bit25Set_active_bit24Set_active_bit23Set_active_bit22Set_active_bit21Set_active_bit20Set_active_bit19Set_active_bit18Set_active_bit17Set_active_bit16Set_active_bit15Set_active_bit14Set_active_bit13Set_active_bit12Set_active_bit11Set_active_bit10Set_active_bit9Set_active_bit8Set_active_bit7Set_active_bit6Set_active_bit5Set_active_bit4Set_active_bit3Set_active_bit2Set_active_bit1Set_active_bit0

Set_active_bit<x>, bit [x], for x = 31 to 0:

Adds the active state to interrupt number x. Reads and writes have the following behavior:

Set_active_bit<x>Meaning
0b0If read, indicates that the corresponding interrupt is not active, and is not active and pending. If written, has no effect.
0b1If read, indicates that the corresponding interrupt is active, or is active and pending. If written, activates the corresponding interrupt, if the interrupt is not already active. If the interrupt is already active, the write has no effect. After a write of 1 to this bit, a subsequent read of this bit returns 1.

The reset behavior of this field is:

  • On a GIC reset, this field resets to the expression 0x00000000.

Accessing GICR_ISACTIVER0

When affinity routing is not enabled for the Security state of an interrupt in GICR_ISACTIVER0, the corresponding bit is RAZ/WI and equivalent functionality is provided by GICD_ISACTIVER<n> with n=0.

This register only applies to SGIs (bits [15:0]) and PPIs (bits [31:16]). For SPIs, this functionality is provided by GICD_ISACTIVER<n>.

When GICD_CTLR.DS == 0, bits corresponding to Secure SGIs and PPIs are RAZ/WI to Non-secure accesses.

The effect of a write must be visible in finite time. Reading back the written value from either the Set-Active or Clear-Active registers guarantees that a deactivate from a CPU interface Ordered-after the read, will observe the effects of the write on the Active state of the interrupt.

GICR_ISACTIVER0 can be accessed through the memory-mapped interfaces:

| Component | Frame | Offset | Instance | | GIC Redistributor | SGI_base | 0x0300 | GICR_ISACTIVER0 |

Accesses to this register are RW.


GICR_NSACR

Non-secure Access Control Register

Enables Secure software to permit Non-secure software to create SGIs targeting the PE connected to this Redistributor by writing to ICC_SGI1R_EL1, ICC_ASGI1R_EL1 or ICC_SGI0R_EL1.

For more information, see 'Forwarding an SGI to a target PE' in Arm® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069).

Configuration

For a description on when a write to ICC_SGI0R_EL1, ICC_SGI1R_EL1 or ICC_ASGI1R_EL1 is permitted to generate an interrupt, see 'Use of control registers for SGI forwarding' in Arm® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069).

Attributes

GICR_NSACR is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
NS_access15NS_access14NS_access13NS_access12NS_access11NS_access10NS_access9NS_access8NS_access7NS_access6NS_access5NS_access4NS_access3NS_access2NS_access1NS_access0

NS_access<x>, bits [2x+1:2x], for x = 15 to 0:

Configures the level of Non-secure access permitted when the SGI is in Secure Group 0 or Secure Group 1, as defined from GICR_IGROUPR0 and GICR_IGRPMODR0. A field is provided for each SGI. The possible values of each 2-bit field are:

NS_access<x>Meaning
0b00Non-secure writes are not permitted to generate Secure Group 0 SGIs or Secure Group 1 SGIs.
0b01Non-secure writes are permitted to generate a Secure Group 0 SGI.
0b10As 0b01, but additionally Non-secure writes to are permitted to generate a Secure Group 1 SGI.
0b11Reserved. If the field is programmed to the reserved value, then the hardware will treat the field as if it has been programmed to an IMPLEMENTATION DEFINED choice of the valid values. However, to maintain the principle that as the value increases additional accesses are permitted Arm strongly recommends that implementations treat this value as 0b10. It is IMPLEMENTATION DEFINED whether the value read back is the value programmed or the valid value chosen.

The reset behavior of this field is:

  • On a GIC reset, this field resets to an architecturally UNKNOWN value.

Accessing GICR_NSACR

This register is used when affinity routing is enabled. When affinity routing is not enabled for the Security state of the interrupt, GICD_NSACR<n> with n=0 provides equivalent functionality.

This register does not support PPIs.

GICR_NSACR can be accessed through the memory-mapped interfaces:

| Component | Frame | Offset | Instance | | GIC Redistributor | SGI_base | 0x0E00 | GICR_NSACR |

Accessible as follows:

  • When GICD_CTLR.DS == '1', accesses to this register are RAZ/WI.
  • When GICD_CTLR.DS == '0' and an access is Secure, accesses to this register are RW.
  • When GICD_CTLR.DS == '0' and an access is Non-secure, accesses to this register are RAZ/WI.
  • When GICD_CTLR.DS == '0', FEAT_RME is implemented, and an access is Root, accesses to this register are RW.
  • When GICD_CTLR.DS == '0', FEAT_RME is implemented, and an access is Realm, accesses to this register are RAZ/WI.

GICR_PENDBASER

Redistributor LPI Pending Table Base Address Register

Specifies the base address of the LPI Pending table, and the Shareability and Cacheability of accesses to the LPI Pending table.

Configuration

A copy of this register is provided for each Redistributor.

Attributes

GICR_PENDBASER is a 64-bit register.

Field descriptions

6362616059585756555453525150494847464544434241403938373635343332
313029282726252423222120191817161514131211109876543210
RES0PTZRES0OuterCacheRES0Physical_Address
Physical_AddressRES0ShareabilityInnerCacheRES0

Bit [63]:

Reserved, RES0.

PTZ, bit [62]:

Pending Table Zero. Indicates to the Redistributor whether the LPI Pending table is zero when GICR_CTLR.EnableLPIs == 1.

This field is WO, and reads as 0.

PTZMeaning
0b0The LPI Pending table is not zero, and contains live data.
0b1The LPI Pending table is zero. Software must ensure the LPI Pending table is zero before this value is written.

Bits [61:59]:

Reserved, RES0.

OuterCache, bits [58:56]:

Indicates the Outer Cacheability attributes of accesses to the LPI Pending table.

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:

  • On a GIC reset, this field resets to an architecturally UNKNOWN value.

Bits [55:52]:

Reserved, RES0.

Physical_Address, bits [51:16]:

Bits [51:16] of the physical address containing the LPI Pending table.

In implementations supporting fewer than 52 bits of physical address, unimplemented upper bits are RES0.

The reset behavior of this field is:

  • On a GIC reset, this field resets to an architecturally UNKNOWN value.

Bits [15:12]:

Reserved, RES0.

Shareability, bits [11:10]:

Indicates the Shareability attributes of accesses to the LPI Pending table.

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:

  • On a GIC reset, this field resets to an architecturally UNKNOWN value.

InnerCache, bits [9:7]:

Indicates the Inner Cacheability attributes of accesses to the LPI Pending table.

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:

  • On a GIC reset, this field resets to an architecturally UNKNOWN value.

Bits [6:0]:

Reserved, RES0.

Accessing GICR_PENDBASER

Having the GICR_PENDBASER OuterCache, Shareability or InnerCache fields programmed to different values on different Redistributors with GICR_CTLR.EnableLPIs == 1 in the system is UNPREDICTABLE.

Changing GICR_PENDBASER with GICR_CTLR.EnableLPIs == 1 is UNPREDICTABLE.

GICR_PENDBASER can be accessed through the memory-mapped interfaces:

| Component | Frame | Offset | Instance | | GIC Redistributor | RD_base | 0x0078 | GICR_PENDBASER |

Accesses to this register are RW.


GICR_PROPBASER

Redistributor Properties Base Address Register

Specifies the base address of the LPI Configuration table, and the Shareability and Cacheability of accesses to the LPI Configuration table.

Configuration

A copy of this register is provided for each Redistributor.

An implementation might make this register RO, for example to correspond to an LPI Configuration table in read-only memory.

Attributes

GICR_PROPBASER is a 64-bit register.

Field descriptions

6362616059585756555453525150494847464544434241403938373635343332
313029282726252423222120191817161514131211109876543210
RES0OuterCacheRES0Physical_Address
Physical_AddressShareabilityInnerCacheRES0IDbits

Bits [63:59]:

Reserved, RES0.

OuterCache, bits [58:56]:

Indicates the Outer Cacheability attributes of accesses to the LPI Configuration table.

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:

  • On a GIC reset, this field resets to an architecturally UNKNOWN value.

Bits [55:52]:

Reserved, RES0.

Physical_Address, bits [51:12]:

Bits [51:12] of the physical address containing the LPI Configuration table.

In implementations supporting fewer than 52 bits of physical address, unimplemented upper bits are RES0.

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 LPI Configuration table.

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:

  • On a GIC reset, this field resets to an architecturally UNKNOWN value.

InnerCache, bits [9:7]:

Indicates the Inner Cacheability attributes of accesses to the LPI Configuration table.

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:

  • On a GIC reset, this field resets to an architecturally UNKNOWN value.

Bits [6:5]:

Reserved, RES0.

IDbits, bits [4:0]:

The number of bits of LPI INTID supported, minus one, by the LPI Configuration table starting at Physical_Address.

If the value of this field is larger than the value of GICD_TYPER.IDbits, the GICD_TYPER.IDbits value applies.

If the value of this field is less than 0b1101, indicating that the largest INTID is less than 8192 (the smallest LPI interrupt ID), the GIC will behave as if all physical LPIs are out of range.

The reset behavior of this field is:

  • On a GIC reset, this field resets to an architecturally UNKNOWN value.

Accessing GICR_PROPBASER

It is IMPLEMENTATION DEFINED whether GICR_PROPBASER can be set to different values on different Redistributors. GICR_TYPER.CommonLPIAff identifies the Redistributors that must have GICR_PROPBASER set to the same values whenever GICR_CTLR.EnableLPIs == 1.

Setting different values in different copies of GICR_PROPBASER on Redistributors that are required to use a common LPI Configuration table when GICR_CTLR.EnableLPIs == 1 leads to UNPREDICTABLE behavior.

Other restrictions apply when a Redistributor caches information from GICR_PROPBASER. For more information, see 'LPI Configuration tables' in Arm® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069).

GICR_PROPBASER can be accessed through the memory-mapped interfaces:

| Component | Frame | Offset | Instance | | GIC Redistributor | RD_base | 0x0070 | GICR_PROPBASER |

Accesses to this register are RW.


GICR_SETLPIR

Set LPI Pending Register

Generates an LPI by setting the pending state of the specified LPI.

Configuration

A copy of this register is provided for each Redistributor.

Attributes

GICR_SETLPIR is a 64-bit register.

Field descriptions

When GICR_TYPER.DirectLPI == '1':

6362616059585756555453525150494847464544434241403938373635343332
313029282726252423222120191817161514131211109876543210
RES0
pINTID

Bits [63:32]:

Reserved, RES0.

pINTID, bits [31:0]:

The INTID of the physical LPI to be generated.

The size of this field is IMPLEMENTATION DEFINED, and is specified by the GICD_TYPER.IDbits field. Unimplemented bits are RES0.

When GICR_TYPER.DirectLPI == '0':

6362616059585756555453525150494847464544434241403938373635343332
313029282726252423222120191817161514131211109876543210
IMPLEMENTATION DEFINED
IMPLEMENTATION DEFINED

IMPLEMENTATION DEFINED, bits [63:0]:

IMPLEMENTATION DEFINED.

Accessing GICR_SETLPIR

When written with a 32-bit write the data is zero-extended to 64 bits.

This register is mandatory in an implementation that supports LPIs and does not include an ITS. The functionality is IMPLEMENTATION DEFINED in an implementation that does include an ITS.

Writes to this register have no effect if either:

  • The pINTID field corresponds to an LPI that is already pending.
  • The pINTID field corresponds to an unimplemented LPI.
  • GICR_CTLR.EnableLPIs == 0.

GICR_SETLPIR can be accessed through the memory-mapped interfaces:

| Component | Frame | Offset | Instance | | GIC Redistributor | RD_base | 0x0040 | GICR_SETLPIR |

Accesses to this register are WO.


GICR_SYNCR

Redistributor Synchronize Register

Indicates completion of register based invalidate operations.

Configuration

A copy of this register is provided for each Redistributor.

Attributes

GICR_SYNCR is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
RES0Busy

Bits [31:1]:

Reserved, RES0.

Busy, bit [0]:

Indicates completion of invalidation operations

BusyMeaning
0b0No operations are in progress.
0b1A write is in progress to one or more of the following registers: GICR_INVLPIR. GICR_INVALLR. GICv3, GICR_CLRLPIR.

This field tracks operations initiated on the same Redistributor.

Accessing GICR_SYNCR

When this register is accessed, it is optional that an implementation might wait until all operations are complete before returning a value, in which case GICR_SYNCR.Busy is always 0.

This register is mandatory when any of the following are true:

  • GICR_TYPER.Direct is 1.
  • GICR_CTLR.IR is 1.
  • GICv4.1 is implemented. Otherwise, the functionality is IMPLEMENTATION DEFINED.

GICR_SYNCR can be accessed through the memory-mapped interfaces:

| Component | Frame | Offset | Instance | | GIC Redistributor | RD_base | 0x00C0 | GICR_SYNCR |

Accesses to this register are RO.


GICR_TYPER

Redistributor Type Register

Provides information about the configuration of this Redistributor.

Configuration

A copy of this register is provided for each Redistributor.

Attributes

GICR_TYPER is a 64-bit register.

Field descriptions

6362616059585756555453525150494847464544434241403938373635343332
313029282726252423222120191817161514131211109876543210
Aff3Aff2Aff1Aff0
PPInumVSGICommonLPIAffProcessor_NumberRVPEIDMPAMDPGSLastDirectLPIDirtyVLPISPLPIS

Aff3, bits [63:56]:

The Affinity level 3 value for the Redistributor.

This field has an IMPLEMENTATION DEFINED value.

Access to this field is RO.

Aff2, bits [55:48]:

The Affinity level 2 value for the Redistributor.

This field has an IMPLEMENTATION DEFINED value.

Access to this field is RO.

Aff1, bits [47:40]:

The Affinity level 1 value for the Redistributor.

This field has an IMPLEMENTATION DEFINED value.

Access to this field is RO.

Aff0, bits [39:32]:

The Affinity level 0 value for the Redistributor.

This field has an IMPLEMENTATION DEFINED value.

Access to this field is RO.

PPInum, bits [31:27] when GICv3.1 is implemented:

The value derived from this field specifies the maximum PPI INTID that a GIC implementation can support. An implementation might not implement all PPIs up to this maximum.

The value of this field is an IMPLEMENTATION DEFINED choice of:

PPInumMeaning
0b00000Maximum PPI INTID is 31.
0b00001Maximum PPI INTID is 1087.
0b00010Maximum PPI INTID is 1119.

All other values are reserved.

Access to this field is RO.

Otherwise:

Reserved, RES0.

VSGI, bit [26] when GICv4.1 is implemented:

Indicates whether vSGIs are supported.

The value of this field is an IMPLEMENTATION DEFINED choice of:

VSGIMeaning
0b0Direct injection of SGIs not supported.
0b1Direct injection of SGIs supported.

Access to this field is RO.

Otherwise:

Reserved, RES0.

CommonLPIAff, bits [25:24]:

Indicates the scope of the CommonLPIAff group.

The value of this field is an IMPLEMENTATION DEFINED choice of:

CommonLPIAffMeaning
0b00All Redistributors are members of the same CommonLPIAff group.
0b01All Redistributors with the same Aff3 value are members of the same CommonLPIAff group.
0b10All Redistributors with the same Aff3.Aff2 value are members of the same CommonLPIAff group.
0b11All Redistributors with the same Aff3.Aff2.Aff1 value are members of the same CommonLPIAff group.

Redistributors in the same CommonLPIAff group must use the same copy of the LPI Configuration table, and if GICv4.1 is implemented the same copy of the vPE Configuration table.

Access to this field is RO.

Processor_Number, bits [23:8]:

A unique identifier for the PE. When GITS_TYPER.PTA == 0, an ITS uses this field to identify the interrupt target.

When affinity routing is disabled for a Security state, this field indicates which GICD_ITARGETSR<n> corresponds to this Redistributor.

This field has an IMPLEMENTATION DEFINED value.

Access to this field is RO.

RVPEID, bit [7] when GICv4.1 is implemented:

Indicates how the resident vPE is specified.

The value of this field is an IMPLEMENTATION DEFINED choice of:

RVPEIDMeaning
0b0GICR_VPENDBASER records the address of the vPE's Virtual Pending Table.
0b1GICR_VPENDBASER records vPEID.

Access to this field is RO.

Otherwise:

Reserved, RES0.

MPAM, bit [6] when GICv3.1 is implemented:

MPAM

The value of this field is an IMPLEMENTATION DEFINED choice of:

MPAMMeaning
0b0MPAM not supported.
0b1MPAM supported.

Access to this field is RO.

Otherwise:

Reserved, RES0.

DPGS, bit [5]:

Sets support for GICR_CTLR.DPG* bits.

The value of this field is an IMPLEMENTATION DEFINED choice of:

DPGSMeaning
0b0GICR_CTLR.DPG* bits are not supported.
0b1GICR_CTLR.DPG* bits are supported.

Access to this field is RO.

Last, bit [4]:

Indicates whether this Redistributor is the highest-numbered Redistributor in a series of contiguous Redistributor pages.

The value of this field is an IMPLEMENTATION DEFINED choice of:

LastMeaning
0b0This Redistributor is not the highest-numbered Redistributor in a series of contiguous Redistributor pages.
0b1This Redistributor is the highest-numbered Redistributor in a series of contiguous Redistributor pages.

Access to this field is RO.

DirectLPI, bit [3]:

Indicates whether this Redistributor supports direct injection of LPIs.

The value of this field is an IMPLEMENTATION DEFINED choice of:

DirectLPIMeaning
0b0This Redistributor does not support direct injection of LPIs. The GICR_SETLPIR, GICR_CLRLPIR, GICR_INVLPIR, GICR_INVALLR, and GICR_SYNCR registers are either not implemented, or have an IMPLEMENTATION DEFINED purpose.
0b1This Redistributor supports direct injection of LPIs. The GICR_SETLPIR, GICR_CLRLPIR, GICR_INVLPIR, GICR_INVALLR, and GICR_SYNCR registers are implemented.

Access to this field is RO.

Dirty, bit [2]:

Controls the functionality of GICR_VPENDBASER.Dirty.

The value of this field is an IMPLEMENTATION DEFINED choice of:

DirtyMeaning
0b0GICR_VPENDBASER.Dirty is UNKNOWN when GICR_VPENDBASER.Valid == 1.
0b1GICR_VPENDBASER.Dirty indicates when the Virtual Pending Table has been parsed when GICR_VPENDBASER.Valid is written from 0 to 1.

When GICR_TYPER.VLPIS == 0, this field is RES0.

In GICv4p1 implementations this field is RES1.

Access to this field is RO.

VLPIS, bit [1] when GICv4 is implemented:

Indicates whether the GIC implementation supports the direct injection of virtual LPIs.

VLPISMeaning
0b1The implementation supports direct injection of virtual LPIs.

Access to this field is RO.

Otherwise:

Indicates whether the GIC implementation supports direct injection of virtual LPIs.

VLPISMeaning
0b0The implementation does not support direct injection of virtual LPIs.

Access to this field is RO.

PLPIS, bit [0]:

Indicates whether the GIC implementation supports physical LPIs.

The value of this field is an IMPLEMENTATION DEFINED choice of:

PLPISMeaning
0b0The implementation does not support physical LPIs.
0b1The implementation supports physical LPIs.

Access to this field is RO.

Accessing GICR_TYPER

GICR_TYPER can be accessed through the memory-mapped interfaces:

| Component | Frame | Offset | Instance | | GIC Redistributor | RD_base | 0x0008 | GICR_TYPER |

Accesses to this register are RO.


GICR_VPENDBASER

Virtual Redistributor LPI Pending Table Base Address Register

Specifies the base address of the memory that holds the virtual LPI Pending table for the currently scheduled virtual machine.

Configuration

This register is present only when GICv4 is implemented or GICv4.1 is implemented. Otherwise, direct accesses to GICR_VPENDBASER are RES0.

Attributes

GICR_VPENDBASER is a 64-bit register.

Field descriptions

When GICv4.1 is implemented:

6362616059585756555453525150494847464544434241403938373635343332
313029282726252423222120191817161514131211109876543210
ValidDoorbellPendingLastDirtyVGrp0EnVGrp1EnRES0
RES0vPEID

Valid, bit [63]:

This bit controls whether a vPE is scheduled:

ValidMeaning
0b0The virtual LPI Pending table is not valid. No vPE is scheduled.
0b1The virtual LPI Pending table is valid. A vPE is scheduled.

Setting GICR_VPENDBASER.Valid == 1 when the associated CPU interface does not implement FEAT_GICv4 is UNPREDICTABLE.

Software can determine whether a PE supports FEAT_GICv3 or FEAT_GICv4 by reading ID_AA64PFR0_EL1.

Writing a new value to any bit of GICR_VPENDBASER, other than GICR_VPENDBASER.Valid, when GICR_VPENDBASER.Valid==1 is UNPREDICTABLE.

Setting GICR_VPENDBASER.Valid to 1 is UNPREDICTABLE if GICR_VPROPBASER.Valid == 0.

The reset behavior of this field is:

  • On a GIC reset, this field resets to '0'.

Doorbell, bit [62]:

When GICR_VPENDBASER.Valid is written from 1 to 0, this bit controls whether a default doorbell interrupt is requested for the descheduled vPE.

DoorbellMeaning
0b0No default doorbell requested.
0b1Default doorbell requested.

When GICR_VPENDBASER.Valid is written from 1 to 0, if there are outstanding enabled pending interrupts, then this bit is treated as 0.

When GICR_VPENDBASER.Valid is written from 1 to 0, if GICR_VPENDBASER.PendingLast is written as 1, then this bit is treated as 0.

When GICR_VPENDBASER.Valid == 1, reads return an UNKNOWN value.

The reset behavior of this field is:

  • On a GIC reset, this field resets to an UNKNOWN value.

PendingLast, bit [61]:

Indicates whether there are pending and enabled interrupts for the last scheduled vPE.

This value is set by the implementation when GICR_VPENDBASER.Valid is written from 1 to 0 and is otherwise UNKNOWN.

PendingLastMeaning
0b0There are no pending and enabled interrupts for the last scheduled vPE.
0b1There is at least one pending and enabled interrupt for the last scheduled vPE.

When the GICR_VPENDBASER.Valid bit is written from 0 to 1, this bit is RES1.

When GICR_VPENDBASER.Valid is written from 1 to 0, if GICR_VPENDBASER.PendingLast is written as 1, then this bit is set to an UNKNOWN value.

The reset behavior of this field is:

  • On a GIC reset, this field resets to an UNKNOWN value.

Dirty, bit [60] when GICR_VPENDBASER.Valid == '1':

Read-only. Reports whether the Virtual Pending table has been parsed.

DirtyMeaning
0b0Parsing of the Virtual Pending Table is complete.
0b1Parsing of the Virtual Pending Table has not completed.

Writing 0 to GICR_VPENDBASER.Valid is UNPREDICTABLE while GICR_VPENDBASER.Dirty == 1.

The reset behavior of this field is:

  • On a GIC reset, this field resets to '0'.

Otherwise:

Read-only. Indicates whether a descheduling operation is in progress.

DirtyMeaning
0b0No descheduling operation in progress.
0b1Descheduling operation in progress.

Writing 1 to GICR_VPENDBASER.Valid is UNPREDICTABLE while GICR_VPENDBASER.Dirty == 1.

The reset behavior of this field is:

  • On a GIC reset, this field resets to '0'.

VGrp0En, bit [59]:

Enable virtual Group 0 interrupts.

VGrp0EnMeaning
0b0Forwarding of virtual Group 0 interrupts disabled.
0b1Forwarding of virtual Group 0 interrupts enabled.

Writing a new value to VGrp0En while GICR_VPENDBASER.Valid==1 is CONSTRAINED UNPREDICTABLE:

The update is ignored.

The update is ignored for all purposes other than a direct read of the register.

The virtual group enable is updated.

The reset behavior of this field is:

  • On a GIC reset, this field resets to an UNKNOWN value.

VGrp1En, bit [58]:

Enable virtual Group 1 interrupts.

VGrp1EnMeaning
0b0Forwarding of virtual Group 1 interrupts disabled.
0b1Forwarding of virtual Group 1 interrupts enabled.

Writing a new value to VGrp1En while GICR_VPENDBASER.Valid==1 is CONSTRAINED UNPREDICTABLE:

The update is ignored.

The update is ignored for all purposes other than a direct read of the register.

The virtual group enable is updated.

The reset behavior of this field is:

  • On a GIC reset, this field resets to an UNKNOWN value.

Bits [57:16]:

Reserved, RES0.

vPEID, bits [15:0]:

When GICR_VPENDBASER.Valid == 1, ID of scheduled vPE.

When GICR_VPENDBASER.Valid == 1, if GICR_VPENDBASER.vPEID is set to a value greater than the configured vPEID width, the behavior of this field is CONSTRAINED UNPREDICTABLE:

GICR_VPENDBASER.vPEID is treated as having an UNKNOWN valid value for all purposes other than a direct read of the register.

GICR_VPENDBASER.Valid is treated as being set to 0 for all purposes other than a direct read of the register.

Writing a new value to vPEID while GICR_VPENDBASER.Valid == 1 is CONSTRAINED UNPREDICTABLE:

The update is ignored.

The update is ignored for all purposes other than a direct read of the register.

The new value is used.

The size of this field is IMPLEMENTATION DEFINED, and is specified by the GICD_TYPER2.VIL and GICD_TYPER2.VID fields, unimplemented bits are RES0.

When GICv4 is implemented:

6362616059585756555453525150494847464544434241403938373635343332
313029282726252423222120191817161514131211109876543210
ValidIDAIPendingLastDirtyRES0OuterCacheRES0Physical_Address
Physical_AddressRES0ShareabilityInnerCacheRES0

Valid, bit [63]:

This bit controls whether the virtual LPI Pending table is valid.

ValidMeaning
0b0The virtual LPI Pending table is not valid. No vPE is scheduled.
0b1The virtual LPI Pending table is valid. A vPE is scheduled.

Setting GICR_VPENDBASER.Valid == 1 when the associated CPU interface does not implement FEAT_GICv4 is UNPREDICTABLE.

Software can determine whether a PE supports FEAT_GICv3 or FEAT_GICv4 by reading ID_AA64PFR0_EL1.

Writing a new value to any bit of GICR_VPENDBASER, other than GICR_VPENDBASER.Valid, when GICR_VPENDBASER.Valid==1 is UNPREDICTABLE.

The reset behavior of this field is:

  • On a GIC reset, this field resets to '0'.

IDAI, bit [62]:

Implementation Defined Area Invalid. Indicates whether the IMPLEMENTATION DEFINED area in the virtual LPI Pending table is valid.

IDAIMeaning
0b0The IMPLEMENTATION DEFINED area is valid.
0b1The IMPLEMENTATION DEFINED area is invalid and all pending interrupt information is held in the architecturally defined part of the virtual LPI Pending table.

For more information, see 'LPI Pending tables' and 'Virtual LPI Configuration tables and virtual LPI Pending tables' in Arm® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069).

The reset behavior of this field is:

  • On a GIC reset, this field resets to an architecturally UNKNOWN value.

PendingLast, bit [61]:

Indicates whether there are pending and enabled interrupts for the last scheduled vPE.

This value is set by the implementation when GICR_VPENDBASER.Valid has been written from 1 to 0 and is otherwise UNKNOWN.

PendingLastMeaning
0b0There are no pending and enabled interrupts for the last scheduled vPE.
0b1There is at least one pending interrupt for the last scheduled vPE. It is IMPLEMENTATION DEFINED whether this bit is set when the only pending interrupts for the last scheduled vPE are not enabled. Arm deprecates setting PendingLast to 1 when the only pending interrupts for the last scheduled virtual machine are not enabled.

When the GICR_VPENDBASER.Valid bit is written from 0 to 1, this bit is RES1.

The reset behavior of this field is:

  • On a GIC reset, this field resets to '0'.

Dirty, bit [60] when GICR_VPENDBASER.Valid == '0':

Indicates whether a descheduling operation is in progress.

This field is read-only.

DirtyMeaning
0b0No descheduling operation in progress.
0b1Descheduling operation in progress.

Writing 1 to GICR_VPENDBASER.Valid is UNPREDICTABLE while GICR_VPENDBASER.Dirty==1.

The reset behavior of this field is:

  • On a GIC reset, this field resets to '0'.

when GICR_VPENDBASER.Valid == '1' and GICR_TYPER.Dirty == '1':

This field is read-only. Reports whether the Virtual Pending table has been parsed.

DirtyMeaning
0b0Parsing of the Virtual Pending Table has completed.
0b1Parsing of the Virtual Pending Table has not completed.

Writing 1 to GICR_VPENDBASER.Valid is UNPREDICTABLE while GICR_VPENDBASER.Dirty == 1.

The reset behavior of this field is:

  • On a GIC reset, this field resets to '0'.

Otherwise:

This field is read-only. This fields is UNKNOWN.

The reset behavior of this field is:

  • On a GIC reset, this field resets to '0'.

Bit [59]:

Reserved, RES0.

OuterCache, bits [58:56]:

Indicates the Outer Cacheability attributes of accesses to virtual LPI Pending tables of vPEs targeting this Redistributor.

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 Cacheability, Outer Cacheability and Shareability fields are used for accesses to the virtual LPI Pending table of resident and non-resident vPEs.

If the OuterCacheability attribute of the virtual LPI Pending tables that are associated with vPEs targeting the same Redistributor are different, behavior is UNPREDICTABLE.

The reset behavior of this field is:

  • On a GIC reset, this field resets to an architecturally UNKNOWN value.

Bits [55:52]:

Reserved, RES0.

Physical_Address, bits [51:16]:

Bits [51:16] of the physical address containing the virtual LPI Pending table.

In implementations supporting fewer than 52 bits of physical address, unimplemented upper bits are RES0.

The reset behavior of this field is:

  • On a GIC reset, this field resets to an architecturally UNKNOWN value.

Bits [15:12]:

Reserved, RES0.

Shareability, bits [11:10]:

Indicates the Shareability attributes of accesses to the virtual LPI Pending table.

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 Cacheability, Outer Cacheability and Shareability fields are used for accesses to the virtual LPI Pending table of resident and non-resident vPEs.

If the Shareability attribute of the virtual LPI Pending tables that are associated with vPEs targeting the same Redistributor are different, behavior is UNPREDICTABLE.

The reset behavior of this field is:

  • On a GIC reset, this field resets to an architecturally UNKNOWN value.

InnerCache, bits [9:7]:

Indicates the Inner Cacheability attributes of accesses to the virtual LPI Pending table.

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 Cacheability, Outer Cacheability and Shareability fields are used for accesses to the virtual LPI Pending table of resident and non-resident vPEs.

If the Inner Cacheability attribute of the virtual LPI Pending tables that are associated with vPEs targeting the same Redistributor are different, behavior is UNPREDICTABLE.

The reset behavior of this field is:

  • On a GIC reset, this field resets to an architecturally UNKNOWN value.

Bits [6:0]:

Reserved, RES0.

Accessing GICR_VPENDBASER

The effect of a write to this register is not guaranteed to be visible throughout the affinity hierarchy, as indicated by GICR_CTLR.RWP == 0.

GICR_VPENDBASER can be accessed through the memory-mapped interfaces:

| Component | Frame | Offset | Instance | | GIC Redistributor | VLPI_base | 0x0078 | GICR_VPENDBASER |

Accesses to this register are RW.

Log in to reply.