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 15 of 22

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

started by admin

admin admin admingod mode Posts 116
Rep 505
Joined Nov 2026
2d ago OP #94

Archived Arm source pages for the External debug and trace register pages. Part 15 of 22. This part covers GICR_VPROPBASER through GICV_PMR.

GICR_VPROPBASER

Virtual Redistributor Properties Base Address Register

In GICv4.0, specifies the base address of the memory that holds the virtual LPI Configuration table for the currently scheduled virtual machine.

In GICv4.1, specifies the base address of the memory that holds the vPE Configuration table.

Configuration

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

Attributes

GICR_VPROPBASER is a 64-bit register.

Field descriptions

When GICv4.1 is implemented:

6362616059585756555453525150494847464544434241403938373635343332
313029282726252423222120191817161514131211109876543210
ValidRES0Entry_SizeOuterCacheIndirectPage_SizeZPhysical_Address
Physical_AddressShareabilityInnerCacheSize

Valid, bit [63]:

This bit controls whether the vPE Configuration Table is valid.

ValidMeaning
0b0The vPE Configuration table is not valid.
0b1The vPE Configuration table is valid.

The reset behavior of this field is:

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

Bit [62]:

Reserved, RES0.

Entry_Size, bits [61:59]:

Specifies the number 64-bit doublewords per table entry, minus one.

This bit is read-only.

OuterCache, bits [58:56]:

Indicates the Outer Cacheability attributes of accesses to the 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 UNKNOWN value.

Indirect, bit [55]:

This field indicates whether GICR_VPROPBASER 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 to store data associated with each table entry.
0b1Two Level. The Size field indicates the number of pages that 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.

This field is RAZ/WI for GIC implementations that only support flat tables.

If the supported vPEID width indicated by GICD_TYPER2.VIL and GICD_TYPER2.VID, 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 UNKNOWN value.

Page_Size, bits [54:53]:

The following values indicate the size of page that the translation 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:

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

Z, bit [52]:

When GICR_VPROPBASER.Valid is written from 0 to 1, GICR_VPROPBASER.Z indicates whether the vPE Configuration table is known to contain all zeros.

ZMeaning
0b0The vPE Configuration table is not zero, and contains live data.
0b1The vPE Configuration table is zero.

Setting GICR_VPROPBASER.Z to 0 causes the IRI to reload configuration from memory

When GICR_VPROPBASER.Valid is written from 0 to 1, if GICR_VPROPBASER.Z==1 behavior is UNPREDICTABLE if the allocated memory does not contain all zeros.

This field is WO, and reads as 0.

Physical_Address, bits [51:12]:

Bits [51:12] of the physical address containing the vPE 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 UNKNOWN value.

Shareability, bits [11:10]:

Indicates the Shareability attributes of accesses to the vPE 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 UNKNOWN value.

InnerCache, bits [9:7]:

Indicates the Inner Cacheability attributes of accesses to the vPE 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 UNKNOWN value.

Size, bits [6:0]:

The number of pages of physical memory allocated to the table, minus one.

GICR_VPROPBASER.Page_Size specifies the size of each page.

The reset behavior of this field is:

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

When GICv4 is implemented:

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 virtual 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 vPE 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 vPE 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 virtual LPI INTID supported, minus one.

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 virtual 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_VPROPBASER

GICR_VPROPBASER can be accessed through the memory-mapped interfaces:

| Component | Frame | Offset | Instance | | GIC Redistributor | VLPI_base | 0x0070 | GICR_VPROPBASER |

Accesses to this register are RW.


GICR_WAKER

Redistributor Wake Register

Permits software to control the behavior of the WakeRequest power management signal corresponding to the Redistributor. Power management operations follow the rules in 'Power management' in in Arm® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069).

Configuration

A copy of this register is provided for each Redistributor.

Attributes

GICR_WAKER is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
IMPLEMENTATION DEFINEDRES0ChildrenAsleepProcessorSleepIMPLEMENTATION DEFINED

IMPLEMENTATION DEFINED, bit [31]:

IMPLEMENTATION DEFINED.

Bits [30:3]:

Reserved, RES0.

ChildrenAsleep, bit [2]:

Read-only. Indicates whether the connected PE is quiescent:

ChildrenAsleepMeaning
0b0An interface to the connected PE might be active.
0b1All interfaces to the connected PE are quiescent.

The reset behavior of this field is:

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

ProcessorSleep, bit [1]:

Indicates whether the Redistributor can assert the WakeRequest signal:

ProcessorSleepMeaning
0b0This PE is not in, and is not entering, a low power state.
0b1The PE is either in, or is in the process of entering, a low power state. All interrupts that arrive at the Redistributor: Assert a WakeRequest signal. Are held in the pending state at the Redistributor, and are not communicated to the CPU interface. When ProcessorSleep == 1, the Redistributor must ensure that any interrupts that are pending on the CPU interface are released.For an implementation that is using the GIC Stream Protocol Interface: A Quiesce command puts the interface between the Redistributor and the CPU interface in a quiescent state. For more information, see 'Quiesce (IRI)' in Arm® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069). A Release command releases any interrupts that are pending on the CPU interface. For more information, see 'Release (ICC)' in Arm® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069).

Before powering down a PE, software must set this bit to 1 and wait until ChildrenAsleep == 1. After powering up a PE, or following a failed powerdown, software must set this bit to 0 and wait until ChildrenAsleep == 0.

Changing ProcessorSleep from 1 to 0 when ChildrenAsleep is not 1 results in UNPREDICTABLE behavior.

Changing ProcessorSleep from 0 to 1 when the Enable for each interrupt group in the associated CPU interface is not 0 results in UNPREDICTABLE behavior.

The reset behavior of this field is:

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

IMPLEMENTATION DEFINED, bit [0]:

IMPLEMENTATION DEFINED.

Accessing GICR_WAKER

To ensure a Redistributor is quiescent, software must write to GICR_WAKER with ProcessorSleep == 1, then poll the register until ChildrenAsleep == 1.

Resetting the connected PE when GICR_WAKER.ProcessorSleep==0 or GICR_WAKER.ChildrenAsleep==0, can lead to UNPREDICTABLE behavior in the IRI.

Resetting the IRI when GICR_WAKER.ProcessorSleep==0 or GICR_WAKER.ChildrenAsleep==0 can lead to UNPREDICTABLE behavior in the connected PE.

GICR_WAKER can be accessed through the memory-mapped interfaces:

| Component | Frame | Offset | Instance | | GIC Redistributor | RD_base | 0x0014 | GICR_WAKER |

Accessible as follows:

  • When GICD_CTLR.DS == '1', accesses to this register are RW.
  • 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.

GICV_ABPR

Virtual Machine Aliased Binary Point Register

Defines the point at which the priority value fields split into two parts, the group priority field and the subpriority field. The group priority field determines Group 1 interrupt preemption.

This register corresponds to GICC_ABPR in the physical CPU interface.

GICH_LR<n>.Group determines whether a virtual interrupt is Group 0 or Group 1.

Configuration

This register is present only when FEAT_GICv3_LEGACY is implemented and EL2 is implemented. Otherwise, direct accesses to GICV_ABPR are RES0.

This register is available when the GIC implementation supports interrupt virtualization.

Attributes

GICV_ABPR is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
RES0Binary_Point

Bits [31:3]:

Reserved, RES0.

Binary_Point, bits [2:0]:

Controls how the 8-bit interrupt priority field is split into a group priority field, that determines interrupt preemption, and a subpriority field.

For information about how this field determines the interrupt priority bits assigned to the group priority field, see 'Priority grouping' 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 Warm reset, this field resets to '000'.

Additional information

The Binary_Point field of this register is aliased to GICH_VMCR.VBPR1.

Accessing GICV_ABPR

This register is used only when System register access is not enabled. When System register access is enabled:

  • For AArch32 implementations, ICC_BPR1 provides equivalent functionality.
  • For AArch64 implementations, ICC_BPR1_EL1 provides equivalent functionality. The value contained in this register is one greater than the actual applied binary point value, as described in 'Priority grouping' in Arm® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069).

This register is used for Group 1 interrupts when GICV_CTLR.CBPR == 0. GICV_BPR provides equivalent functionality for Group 0 interrupts, and for Group 1 interrupts when GICV_CTLR.CBPR == 1.

GICV_ABPR can be accessed through the memory-mapped interfaces:

ComponentOffsetInstance
GIC Virtual CPU interface0x001CGICV_ABPR

Accessible as follows:

  • When GICD_CTLR.DS == '0', accesses to this register are RW.
  • When an access is Secure, accesses to this register are RW.
  • When an access is Non-secure, accesses to this register are RW.

GICV_AEOIR

Virtual Machine Aliased End Of Interrupt Register

A write to this register performs a priority drop for the specified Group 1 virtual interrupt and, if GICV_CTLR.EOImode == 0, also deactivates the interrupt.

Configuration

This register is present only when FEAT_GICv3_LEGACY is implemented and EL2 is implemented. Otherwise, direct accesses to GICV_AEOIR are RES0.

This register is available when the GIC implementation supports interrupt virtualization.

Attributes

GICV_AEOIR is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
RES0INTID

Bits [31:25]:

Reserved, RES0.

INTID, bits [24:0]:

The INTID of the signaled interrupt.

INTIDs 1020-1023 are reserved and convey additional information such as spurious interrupts.

When affinity routing is not enabled:

  • Bits [23:13] are RES0.
  • For SGIs, bits [12:10] identify the CPU interface corresponding to the source PE. For all other interrupts these bits are RES0.

Additional information

A successful EOI request means that:

  • The highest priority bit in GICH_APR<n> is cleared, causing the running priority to drop.
  • If the appropriate GICV_CTLR.EOImode bit == 0, the interrupt is deactivated in the corresponding List register. If the INTID corresponds to a hardware interrupt, the interrupt is also deactivated in the Distributor. Only Group 1 interrupts can target the hypervisor, and therefore only Group 1 interrupts are deactivated in the Distributor.

A write to this register is UNPREDICTABLE if the INTID corresponds to a Group 0 interrupt. In addition, the following GICv2 UNPREDICTABLE cases require specific actions:

  • If highest active priority is Group 0 and the identified interrupt is in the List Registers and it matches the highest active priority. When EL2 is using System registers and ICH_VTR_EL2.SEIS is 1, an IMPLEMENTATION DEFINED SEI might be generated, otherwise GICv3 implementations must ignore such writes.
  • If the identified interrupt is in the List Registers, and the HW bit is 1, and the interrupt to be deactivated is an SGI (that is, the value of Physical_ID is between 0 and 15). GICv3 implementations must perform the deactivate operation. This means that a GICv3 implementation in legacy operation must ensure only a single SGI is active for a PE.
  • If the identified interrupt is in the List Registers, and the HW bit is 1, and the corresponding pINTID field value is between 1020 and 1023, indicating a special purpose INTID. GICv3 implementations must not perform a deactivate operation but must still change the state of the List register as appropriate. When EL2 is using System registers and ICH_VTR_EL2.SEIS is 1, an implementation might generate a system error.

Accessing GICV_AEOIR

This register is used only when System register access is not enabled. When System register access is enabled:

  • For AArch32 implementations, ICC_EOIR1 provides equivalent functionality.
  • For AArch64 implementations, ICC_EOIR1_EL1 provides equivalent functionality. This register is used for Group 1 interrupts only. GICV_EOIR provides equivalent functionality for Group 0 interrupts.

When affinity routing is enabled, it is a programming error to use memory-mapped registers to access the GIC.

GICV_AEOIR can be accessed through the memory-mapped interfaces:

ComponentOffsetInstance
GIC Virtual CPU interface0x0024GICV_AEOIR

Accessible as follows:

  • When GICD_CTLR.DS == '0', accesses to this register are WO.
  • When an access is Secure, accesses to this register are WO.
  • When an access is Non-secure, accesses to this register are WO.

GICV_AHPPIR

Virtual Machine Aliased Highest Priority Pending Interrupt Register

Provides the INTID of the highest priority pending Group 1 virtual interrupt in the List registers.

This register corresponds to the physical CPU interface register GICC_AHPPIR.

Configuration

This register is present only when FEAT_GICv3_LEGACY is implemented and EL2 is implemented. Otherwise, direct accesses to GICV_AHPPIR are RES0.

This register is available when the GIC implementation supports interrupt virtualization.

Attributes

GICV_AHPPIR is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
RES0INTID

Bits [31:25]:

Reserved, RES0.

INTID, bits [24:0]:

The INTID of the signaled interrupt.

INTIDs 1020-1023 are reserved and convey additional information such as spurious interrupts.

When affinity routing is not enabled:

  • Bits [23:13] are RES0.
  • For SGIs, bits [12:10] identify the CPU interface corresponding to the source PE. For all other interrupts these bits are RES0.

Additional information

A read of this register returns the spurious INTID 1023 if any of the following are true:

  • There are no pending interrupts of sufficiently high priority value to be signaled to the PE.
  • The highest priority pending interrupt is in Group 0.

Accessing GICV_AHPPIR

This register is used only when System register access is not enabled. When System register access is enabled:

  • For AArch32 implementations, ICC_HPPIR1 provides equivalent functionality.
  • For AArch64 implementations, ICC_HPPIR1_EL1 provides equivalent functionality. This register is used for Group 1 interrupts only. GICV_HPPIR provides equivalent functionality for Group 0 interrupts.

The register does not return the INTID of an interrupt that is active and pending.

When affinity routing is enabled, it is a programming error to use memory-mapped registers to access the GIC.

GICV_AHPPIR can be accessed through the memory-mapped interfaces:

ComponentOffsetInstance
GIC Virtual CPU interface0x0028GICV_AHPPIR

Accessible as follows:

  • When GICD_CTLR.DS == '0', accesses to this register are RO.
  • When an access is Secure, accesses to this register are RO.
  • When an access is Non-secure, accesses to this register are RO.

GICV_AIAR

Virtual Machine Aliased Interrupt Acknowledge Register

Provides the INTID of the signaled Group 1 virtual interrupt. A read of this register by the PE acts as an acknowledge for the interrupt.

This register corresponds to the physical CPU interface register GICC_AIAR.

Configuration

This register is present only when FEAT_GICv3_LEGACY is implemented and EL2 is implemented. Otherwise, direct accesses to GICV_AIAR are RES0.

This register is available when the GIC implementation supports interrupt virtualization.

Attributes

GICV_AIAR is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
RES0INTID

Bits [31:25]:

Reserved, RES0.

INTID, bits [24:0]:

The INTID of the signaled interrupt.

INTIDs 1020-1023 are reserved and convey additional information such as spurious interrupts.

When affinity routing is not enabled:

  • Bits [23:13] are RES0.
  • For SGIs, bits [12:10] identify the CPU interface corresponding to the source PE. For all other interrupts these bits are RES0.

Additional information

The operation of this register is similar to the operation of GICV_IAR. When a vPE reads this register, the corresponding GICH_LR<n>.Group field is checked to determine whether the interrupt is in Group 0 or Group 1:

  • If the interrupt is Group 0, the spurious INTID 1023 is returned and the interrupt is not acknowledged.
  • If the interrupt is Group 1, the INTID is returned. The List register entry is updated to active state, and the appropriate bit in GICH_APR<n> is set to 1. A read of this register returns the spurious INTID 1023 if any of the following are true:

When the virtual CPU interface is enabled and GICH_HCR.En == 1:

  • There are no pending interrupts of sufficiently high priority value to be signaled to the PE.
  • The highest priority pending interrupt is in Group 0.
  • Interrupt signaling by the virtual CPU interface is disabled.

Accessing GICV_AIAR

This register is used only when System register access is not enabled. When System register access is enabled:

  • For AArch32 implementations, ICC_IAR1 provides equivalent functionality.
  • For AArch64 implementations, ICC_IAR1_EL1 provides equivalent functionality. This register is used for Group 1 interrupts only. GICV_IAR provides equivalent functionality for Group 0 interrupts.

When affinity routing is enabled, it is a programming error to use memory-mapped registers to access the GIC.

GICV_AIAR can be accessed through the memory-mapped interfaces:

ComponentOffsetInstance
GIC Virtual CPU interface0x0020GICV_AIAR

Accessible as follows:

  • When GICD_CTLR.DS == '0', accesses to this register are RO.
  • When an access is Secure, accesses to this register are RO.
  • When an access is Non-secure, accesses to this register are RO.

GICV_APR<n>, n = 0, 3

Virtual Machine Active Priorities Registers

Provides information about interrupt active priorities.

These registers correspond to the physical CPU interface registers GICC_APR<n>.

Configuration

This register is present only when FEAT_GICv3_LEGACY is implemented and EL2 is implemented. Otherwise, direct accesses to GICV_APR<n> are RES0.

When System register access is disabled for EL2, these registers access GICH_APR<n>, and all active priorities for virtual machines are held in GICH_APR<n> regardless of interrupt group.

When System register access is enabled for EL2, these registers access ICH_AP1R<n>_EL2, and all active priorities for virtual machines are held in ICH_AP1R<n>_EL2 regardless of interrupt group.

Attributes

GICV_APR<n> is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
P31P30P29P28P27P26P25P24P23P22P21P20P19P18P17P16P15P14P13P12P11P10P9P8P7P6P5P4P3P2P1P0

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

Provides information about active priorities for the virtual machine.

See GICH_APR<n> and ICH_AP1R<n>_EL2 for the correspondence between priorities and bits.

Accessing GICV_APR<n>

If System register access is not enabled for EL2, these registers access GICH_APR<n>. If System register access is enabled for EL2, these registers access ICH_AP1R<n>_EL2. All active priority mapped guests are held in the accessed registers, regardless of interrupt group.

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

ComponentOffsetInstance
GIC Virtual CPU interface0x00D0 + (4 * n)GICV_APR<n>

Accessible as follows:

  • When GICD_CTLR.DS == '0', accesses to this register are RW.
  • When an access is Secure, accesses to this register are RW.
  • When an access is Non-secure, accesses to this register are RW.

GICV_BPR

Virtual Machine Binary Point Register

Defines the point at which the priority value fields split into two parts, the group priority field and the subpriority field. The group priority field determines Group 0 interrupt preemption.

This register corresponds to GICC_BPR in the physical CPU interface.

GICH_LR<n>.Group determines whether a virtual interrupt is Group 0 or Group 1.

Configuration

This register is present only when FEAT_GICv3_LEGACY is implemented and EL2 is implemented. Otherwise, direct accesses to GICV_BPR are RES0.

This register is available when the GIC implementation supports interrupt virtualization.

When GICV_CTLR.CBPR == 1, this register determines interrupt preemption for both Group 0 and Group 1 interrupts.

Attributes

GICV_BPR is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
RES0Binary_Point

Bits [31:3]:

Reserved, RES0.

Binary_Point, bits [2:0]:

Controls how the 8-bit interrupt priority field is split into a group priority field, that determines interrupt preemption, and a subpriority field.

For information about how this field determines the interrupt priority bits assigned to the group priority field, see 'ICC_BPR0_EL1 Binary Point for Group 1 interrupts when CBPR == 1, or for Group 0 interrupts' 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 Warm reset, this field resets to an architecturally UNKNOWN value.

Additional information

The Binary_Point field of this register is aliased to GICH_VMCR.VBPR0.

Accessing GICV_BPR

This register is used only when System register access is not enabled. When System register access is enabled:

  • For AArch32 implementations, ICC_BPR0 provides equivalent functionality.
  • For AArch64 implementations, ICC_BPR0_EL1 provides equivalent functionality.

GICV_BPR can be accessed through the memory-mapped interfaces:

ComponentOffsetInstance
GIC Virtual CPU interface0x0008GICV_BPR

Accessible as follows:

  • When GICD_CTLR.DS == '0', accesses to this register are RW.
  • When an access is Secure, accesses to this register are RW.
  • When an access is Non-secure, accesses to this register are RW.

GICV_CTLR

Virtual Machine Control Register

Controls the behavior of virtual interrupts.

This register corresponds to the physical CPU interface register GICC_CTLR.

Configuration

This register is present only when FEAT_GICv3_LEGACY is implemented and EL2 is implemented. Otherwise, direct accesses to GICV_CTLR are RES0.

This register is available when a GIC implementation supports interrupt virtualization.

Attributes

GICV_CTLR is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
RES0EOImodeRES0CBPRFIQEnAckCtlEnableGrp1EnableGrp0

Bits [31:10]:

Reserved, RES0.

EOImode, bit [9]:

Controls the behavior associated with the GICV_EOIR, GICV_AEOIR, and GICV_DIR registers:

EOImodeMeaning
0b0Writes to GICV_EOIR and GICV_AEOIR perform priority drop and deactivate interrupt operations simultaneously. Behavior on a write to GICV_DIR is unpredictable. When it has completed processing the interrupt, the virtual machine writes to GICV_EOIR or GICV_AEOIR to deactivate the interrupt. The write updates the List registers and causes the virtual CPU interface to signal the interrupt completion to the physical Distributor.
0b1Writes to GICV_EOIR and GICV_AEOIR perform priority drop operation only. Writes to GICV_DIR perform deactivate interrupt operation only. When it has completed processing the interrupt, the virtual machine writes to GICV_DIR to deactivate the interrupt. The write updates the List registers and causes the virtual CPU interface to signal the interrupt completion to the Distributor.

The reset behavior of this field is:

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

Bits [8:5]:

Reserved, RES0.

CBPR, bit [4]:

Controls whether GICV_BPR affects both Group 0 and Group 1 interrupts:

CBPRMeaning
0b0GICV_BPR affects Group 0 virtual interrupts only. GICV_ABPR affects Group 1 virtual interrupts only.
0b1GICV_BPR affects both Group 0 and Group 1 virtual interrupts.

For more information, see 'Priority grouping' 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 Warm reset, this field resets to an architecturally UNKNOWN value.

FIQEn, bit [3]:

FIQ Enable. Controls whether Group 0 virtual interrupts are presented as virtual FIQs:

FIQEnMeaning
0b0Group 0 virtual interrupts are presented as virtual IRQs.
0b1Group 0 virtual interrupts are presented as virtual FIQs.

The reset behavior of this field is:

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

AckCtl, bit [2]:

Arm deprecates use of this bit. Arm strongly recommends that software is written to operate with this bit always cleared to 0.

Acknowledge control. When the highest priority interrupt is Group 1, determines whether GICV_IAR causes the CPU interface to acknowledge the interrupt or returns the spurious identifier 1022, and whether GICV_HPPIR returns the interrupt ID or the special identifier 1022.

AckCtlMeaning
0b0If the highest priority pending interrupt is Group 1, a read of GICV_IAR or GICV_HPPIR returns an interrupt ID of 1022.
0b1If the highest priority pending interrupt is Group 1, a read of GICV_IAR or GICV_HPPIR returns the interrupt ID of the corresponding interrupt.

The reset behavior of this field is:

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

EnableGrp1, bit [1]:

Enables the signaling of Group 1 virtual interrupts by the virtual CPU interface to the virtual machine:

EnableGrp1Meaning
0b0Signaling of Group 1 interrupts is disabled.
0b1Signaling of Group 1 interrupts is enabled.

The reset behavior of this field is:

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

EnableGrp0, bit [0]:

Enables the signaling of Group 0 virtual interrupts by the virtual CPU interface to the virtual machine:

EnableGrp0Meaning
0b0Signaling of Group 0 interrupts is disabled.
0b1Signaling of Group 0 interrupts is enabled.

The reset behavior of this field is:

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

Accessing GICV_CTLR

This register is used only when System register access is not enabled. When System register access is enabled:

  • For AArch32 implementations, ICC_CTLR provides equivalent functionality.
  • For AArch64 implementations, ICC_CTLR_EL1 provides equivalent functionality.

GICV_CTLR can be accessed through the memory-mapped interfaces:

ComponentOffsetInstance
GIC Virtual CPU interface0x0000GICV_CTLR

Accessible as follows:

  • When GICD_CTLR.DS == '0', accesses to this register are RW.
  • When an access is Secure, accesses to this register are RW.
  • When an access is Non-secure, accesses to this register are RW.

GICV_DIR

Virtual Machine Deactivate Interrupt Register

Deactivates a specified virtual interrupt in the GICH_LR<n> List registers.

This register corresponds to the physical CPU interface register GICC_DIR.

Configuration

This register is present only when FEAT_GICv3_LEGACY is implemented and EL2 is implemented. Otherwise, direct accesses to GICV_DIR are RES0.

This register is available when the GIC implementation supports interrupt virtualization.

Attributes

GICV_DIR is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
RES0INTID

Bits [31:25]:

Reserved, RES0.

INTID, bits [24:0]:

The INTID of the signaled interrupt.

INTIDs 1020-1023 are reserved and convey additional information such as spurious interrupts.

When affinity routing is not enabled:

  • Bits [23:13] are RES0.
  • For SGIs, bits [12:10] identify the CPU interface corresponding to the source PE. For all other interrupts these bits are RES0.

Additional information

When the virtual machine writes to this register, the specified interrupt in the List registers is changed from active to inactive, or from active and pending to pending. If the specified interrupt is present in the List registers but is not in either the active or active and pending states, the effect is UNPREDICTABLE. If the specified interrupt is not present in the List registers, GICH_HCR.EOICount is incremented, potentially generating a maintenance interrupt.

If the specified interrupt is not present in the List registers, the virtual machine cannot recover the INTID. Therefore, the hypervisor must ensure that, when GICV_CTLR.EOImode == 1, no more than one active interrupt is transferred from the List registers into a software list. If more than one active interrupt that is not stored in the List registers exists, the hypervisor must handle accesses to GICV_DIR in software, typically by trapping these accesses.

If the corresponding GICH_LR<n>.HW == 1, indicating a hardware interrupt, then a deactivate request is sent to the physical Distributor, identifying the physical INTID from the corresponding field in the List register. This effect is identical to a Non-secure write to GICC_DIR from the PE having that physical INTID. This means that if the corresponding physical interrupt is marked as Group 0, the request is ignored.

Interrupt deactivation using this register is based on the provided INTID, with no requirement to deactivate interrupts in any particular order. A single register is therefore used to deactivate both Group 0 and Group 1 interrupts.

Accessing GICV_DIR

This register is used only when System register access is not enabled. When System register access is enabled:

  • For AArch32 implementations, ICC_DIR provides equivalent functionality.
  • For AArch64 implementations, ICC_DIR_EL1 provides equivalent functionality. Writes to this register are valid only when GICV_CTLR.EOImode == 1. Writes to this register are otherwise UNPREDICTABLE.

When affinity routing is enabled, it is a programming error to use memory-mapped registers to access the GIC.

GICV_DIR can be accessed through the memory-mapped interfaces:

ComponentOffsetInstance
GIC Virtual CPU interface0x1000GICV_DIR

Accessible as follows:

  • When GICD_CTLR.DS == '0', accesses to this register are WO.
  • When an access is Secure, accesses to this register are WO.
  • When an access is Non-secure, accesses to this register are WO.

GICV_EOIR

Virtual Machine End Of Interrupt Register

A write to this register performs a priority drop for the specified Group 0 virtual interrupt and, if GICV_CTLR.EOImode == 0, also deactivates the interrupt.

This register corresponds to the physical CPU interface register GICC_EOIR.

Configuration

This register is present only when FEAT_GICv3_LEGACY is implemented and EL2 is implemented. Otherwise, direct accesses to GICV_EOIR are RES0.

This register is available when the GIC implementation supports interrupt virtualization.

Attributes

GICV_EOIR is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
RES0INTID

Bits [31:25]:

Reserved, RES0.

INTID, bits [24:0]:

The INTID of the signaled interrupt.

INTIDs 1020-1023 are reserved and convey additional information such as spurious interrupts.

When affinity routing is not enabled:

  • Bits [23:13] are RES0.
  • For SGIs, bits [12:10] identify the CPU interface corresponding to the source PE. For all other interrupts these bits are RES0.

Additional information

The behavior of this register depends on the setting of GICV_CTLR.EOImode:

GICV_CTLR.EOImodeBehavior
0b0Both the priority drop and the deactivate interrupt effects occur
0b1Only the priority drop effect occurs.

A successful EOI request means that:

  • The highest priority bit in GICH_APR<n> is cleared, causing the running priority to drop.
  • If the appropriate GICV_CTLR.EOImode bit == 0, the interrupt is deactivated in the corresponding List register GICH_LR<n>. If GICH_LR<n>.HW == 1, indicating the INTID corresponds to a hardware interrupt, a deactivate request is also sent to the physical Distributor, identifying the physical INTID from the corresponding field in the List register. This effect is identical to a Non-secure write to GICC_DIR from the PE having that physical INTID. This means that if the corresponding physical interrupt is marked as Group 0, and GICD_CTLR.DS == 0, the deactivation request is ignored. See GICC_EOIR for more information. Only Group 1 interrupts can target the hypervisor, and therefore only Group 1 interrupts are deactivated in the Distributor.

Accessing GICV_EOIR

This register is used only when System register access is not enabled. When System register access is enabled:

  • For AArch32 implementations, ICC_EOIR0 provides equivalent functionality.
  • For AArch64 implementations, ICC_EOIR0_EL1 provides equivalent functionality. This register is used for Group 0 interrupts only. GICV_AEOIR provides equivalent functionality for Group 1 interrupts.

When affinity routing is enabled, it is a programming error to use memory-mapped registers to access the GIC.

GICV_EOIR can be accessed through the memory-mapped interfaces:

ComponentOffsetInstance
GIC Virtual CPU interface0x0010GICV_EOIR

Accessible as follows:

  • When GICD_CTLR.DS == '0', accesses to this register are WO.
  • When an access is Secure, accesses to this register are WO.
  • When an access is Non-secure, accesses to this register are WO.

GICV_HPPIR

Virtual Machine Highest Priority Pending Interrupt Register

Provides the INTID of the highest priority pending Group 0 virtual interrupt in the List registers.

This register corresponds to the physical CPU interface register GICC_HPPIR.

Configuration

This register is present only when FEAT_GICv3_LEGACY is implemented and EL2 is implemented. Otherwise, direct accesses to GICV_HPPIR are RES0.

This register is available when the GIC implementation supports interrupt virtualization.

Attributes

GICV_HPPIR is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
RES0INTID

Bits [31:25]:

Reserved, RES0.

INTID, bits [24:0]:

The INTID of the signaled interrupt.

INTIDs 1020-1023 are reserved and convey additional information such as spurious interrupts.

When affinity routing is not enabled:

  • Bits [23:13] are RES0.
  • For SGIs, bits [12:10] identify the CPU interface corresponding to the source PE. For all other interrupts these bits are RES0.

Additional information

Reads of the GICC_HPPIR that do not return a valid INTID return a spurious INTID, 1022 or 1023. See 'Special INTIDs' in Arm® Generic Interrupt Controller Architecture Specification, GIC architecture version 3.0 and version 4.0 (ARM IHI 0069).

| Highest priority pending interrupt Group | GICV_HPPIR read | GICV_CTLR.AckCtl | Returned INTID | | 1 | Non-secure | x | ID of Group 1 interrupt | | 1 | Secure | 0 | 1022 | | 1 | Secure | 1 | ID of Group 1 interrupt | | 0 | Non-secure | x | 1023 | | 0 | Secure | x | ID of Group 0 interrupt | | No pending interrupts | x | x | 1023 |

If the CPU interface supports only a single Security state, the entries that apply to Secure reads describe the behavior.

Accessing GICV_HPPIR

This register is used only when System register access is not enabled. When System register access is enabled:

  • For AArch32 implementations, ICC_HPPIR0 provides equivalent functionality.
  • For AArch64 implementations, ICC_HPPIR0_EL1 provides equivalent functionality. This register is used for Group 0 interrupts only. GICV_AHPPIR provides equivalent functionality for Group 1 interrupts.

When affinity routing is enabled, it is a programming error to use memory-mapped registers to access the GIC.

GICV_HPPIR can be accessed through the memory-mapped interfaces:

ComponentOffsetInstance
GIC Virtual CPU interface0x0018GICV_HPPIR

Accessible as follows:

  • When GICD_CTLR.DS == '0', accesses to this register are RO.
  • When an access is Secure, accesses to this register are RO.
  • When an access is Non-secure, accesses to this register are RO.

GICV_IAR

Virtual Machine Interrupt Acknowledge Register

Provides the INTID of the signaled Group 0 virtual interrupt. A read of this register by the PE acts as an acknowledge for the interrupt.

This register corresponds to the physical CPU interface register GICC_IAR.

Configuration

This register is present only when FEAT_GICv3_LEGACY is implemented and EL2 is implemented. Otherwise, direct accesses to GICV_IAR are RES0.

This register is available when the GIC implementation supports interrupt virtualization.

Attributes

GICV_IAR is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
RES0INTID

Bits [31:25]:

Reserved, RES0.

INTID, bits [24:0]:

The INTID of the signaled interrupt.

INTIDs 1020-1023 are reserved and convey additional information such as spurious interrupts.

When affinity routing is not enabled:

  • Bits [23:13] are RES0.
  • For SGIs, bits [12:10] identify the CPU interface corresponding to the source PE. For all other interrupts these bits are RES0.

Additional information

When the virtual machine writes to this register, the virtual CPU interface acknowledges the highest priority pending virtual interrupt and sets the state in the corresponding List register to active. The appropriate bit in the active priorities register GICH_APR<n> is set to 1.

If GICH_LR<n>.HW == 0, indicating that the interrupt is software-triggered, then bits [12:10] of GICH_LR<n> are returned in bits [12:10] of GICV_IAR. Otherwise bits [12:10] are RES0.

A read of this register returns the spurious INTID 1023 if either of the following is true:

  • There are no pending interrupts of sufficiently high priority value to be signaled to the PE with the virtual CPU interface enabled and GICH_HCR.En == 1.
  • Interrupt signaling by the virtual CPU interface is disabled. A read of this register returns the spurious INTID 1022 if the highest priority pending interrupt is Group 1 and GICV_CTLR.AckCtl == 0.

Accessing GICV_IAR

This register is used only when System register access is not enabled. When System register access is enabled:

  • For AArch32 implementations, ICC_IAR0 provides equivalent functionality.
  • For AArch64 implementations, ICC_IAR0_EL1 provides equivalent functionality. This register is used for Group 0 interrupts only. GICV_AIAR provides equivalent functionality for Group 1 interrupts.

When affinity routing is enabled, it is a programming error to use memory-mapped registers to access the GIC.

GICV_IAR can be accessed through the memory-mapped interfaces:

ComponentOffsetInstance
GIC Virtual CPU interface0x000CGICV_IAR

Accessible as follows:

  • When GICD_CTLR.DS == '0', accesses to this register are RO.
  • When an access is Secure, accesses to this register are RO.
  • When an access is Non-secure, accesses to this register are RO.

GICV_PMR

Virtual Machine Priority Mask Register

This register provides a virtual interrupt priority filter. Only virtual interrupts with a higher priority than the value in this register are signaled to the PE.

Higher interrupt priority corresponds to a lower value of the Priority field.

This register corresponds to the physical CPU interface register GICC_PMR.

Configuration

This register is present only when FEAT_GICv3_LEGACY is implemented and EL2 is implemented. Otherwise, direct accesses to GICV_PMR are RES0.

This register is available when the GIC implementation supports interrupt virtualization.

The Priority field of this register is aliased to GICH_VMCR.VMPR, to enable state to be switched easily between virtual machines during context-switching.

Attributes

GICV_PMR is a 32-bit register.

Field descriptions

313029282726252423222120191817161514131211109876543210
RES0Priority

Bits [31:8]:

Reserved, RES0.

Priority, bits [7:0]:

The priority mask level for the virtual CPU interface. If the priority of the interrupt is higher than the value indicated by this field, the interface signals the interrupt to the PE.

If the GIC implementation supports fewer than 256 priority levels some bits might be RAZ/WI, as follows:

  • For 128 supported levels, bit [0] = 0b0.
  • For 64 supported levels, bits [1:0] = 0b00.
  • For 32 supported levels, bits [2:0] = 0b000.
  • For 16 supported levels, bits [3:0] = 0b0000. For more information, see 'Interrupt prioritization' 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 Warm reset, this field resets to an architecturally UNKNOWN value.

Accessing GICV_PMR

This register is used only when System register access is not enabled. When System register access is enabled:

  • For AArch32 implementations, ICC_PMR provides equivalent functionality.
  • For AArch64 implementations, ICC_PMR_EL1 provides equivalent functionality.

GICV_PMR can be accessed through the memory-mapped interfaces:

ComponentOffsetInstance
GIC Virtual CPU interface0x0004GICV_PMR

Accessible as follows:

  • When GICD_CTLR.DS == '0', accesses to this register are RW.
  • When an access is Secure, accesses to this register are RW.
  • When an access is Non-secure, accesses to this register are RW.

Log in to reply.