28. Global interrupt controller (GIC)

28.1 GIC introduction

The following Arm specifications provide additional details on the GIC:

28.2 GIC main features

The integrated GIC collates and arbitrates from a large number of interrupt sources. It provides:

28.3 GIC functional description

The GIC is a single functional unit located in the Cortex-A35. It consists of a shared distributor block, and several CPU interfaces. Each Cortex-A35 processor core embeds:

The GIC registers are memory-mapped, and the base address is visible into the configuration base address (CBAR) for each processor core in the cluster.

Memory regions used for these registers must be marked as device, or strongly-ordered in the translation tables.

Memory regions marked as normal memory cannot access any of the GIC registers: access caches or external memory as required.

Figure 157. GIC block diagram

Figure 157. GIC block diagram

Diagram depicts the Global Interrupt Controller (GIC) architecture:

Figure 157. GIC block diagram

28.4 GIC interrupt sources

All interrupt sources are identified by a unique ID. The Cortex-A35 processor interrupt sources are detailed below.

28.4.1 Software generated interrupts (SGI)

The SGIs are generated by writing to the software generated interrupt register (GICD_SGIR). Each processor interface can generate a maximum of 16 SGIs (ID0-ID15). An SGI has edge-triggered properties. The software triggering of the interrupt is equivalent to the edge transition of the interrupt signal on a peripheral input.

Note: Arm recommends to use SGI ID0-ID7 for non-secure interrupts, and SGI ID8-ID15 for secure interrupts.

28.4.2 Private peripheral interrupts (PPI)

A PPI is an interrupt generated by a peripheral that is specific to a single processor. There are six PPIs for each CPU interface:

28.4.3 Shared peripheral interrupts (SPI)

The SPIs are triggered by events generated on associated interrupt input lines. The GIC supports up to 384 SPIs corresponding to the external IRQS signal.

The SPIs start at ID32, and can be configured to be edge-triggered or active-high-level sensitive.

28.4.4 Interrupt priority formats

The Cortex-A35 implements a 5-bit version of the interrupt priority field for 32 interrupt priority levels.

28.5 GIC distributor (GICD)

The GICD centralizes all interrupt sources, determines the priority of each interrupt, and, for each CPU interface, forwards the interrupt with the highest priority to the interface for priority masking and preemption handling.

The GICD provides a programming interface for the following actions:

The GICD_IPRIORITYRx, GICD_ITARGETSRx, GICD_CPENDSGIRx, and GICD_SPENDSGIRx registers are byte-accessible and halfword-accessible.

All other registers are word-accessible.

28.5.1 GICD control register (GICD_CTLR)

Address offset: 0x000

Reset value: 0x0000 0000

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.ENABL
EGRP1
ENABL
EGRP0
rwrw

Bits 31:2 Reserved, must be kept at reset value.

Bit 1 ENABLEGRP1: Enable group 1 interrupts

Global enable for forwarding pending group 1 interrupts from the GICD to the CPU interfaces

Bit 0 ENABLEGRP0: Enable group 0 interrupts

Global enable for forwarding pending group 0 interrupts from the GICD to the CPU interfaces

28.5.2 GICD control non-secure access register (GICD_CTLRNS)

Address offset: 0x000

Reset value: 0x0000 0000

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.ENABL
E
rw

Bits 31:1 Reserved, must be kept at reset value.

Bit 0 ENABLE:

Global enable for forwarding pending group 1 interrupts from the GICD to the CPU interfaces

28.5.3 GICD interrupt controller type register (GICD_TYPER)

Address offset: 0x004

Reset value: 0x0000 FC0C

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
LSPI[4:0]SECURITYEXTNRes.Res.CPUNUMBER[2:0]ITLINESNUMBER[4:0]
rrrrrrrrrrrrrr

Bits 31:16 Reserved, must be kept at reset value.

Bits 15:11 LSPI[4:0]: Lockable shared peripheral interrupt

This bitfield returns the number of LSPIs that the interrupt controller contains.
(0b1111 = 31 LSPIs, IDs 32-62).

Bit 10 SECURITYEXTN: Security extension

This bit indicates whether the GIC implements the security extensions. This bit always returns a value of 1, indicating that the security extensions are implemented.

Bits 9:8 Reserved, must be kept at reset value.

Bits 7:5 CPUNUMBER[2:0]: Number of processor interfaces

This bitfield indicates the number of implemented processor interfaces in the GIC.
(0b000 = 1 processor interface)

Bits 4:0 ITLINESNUMBER[4:0]: Number of interrupt lines

This bitfield indicates the number of interrupts that the GIC supports.
(0b01100= up to 416 interrupts, up to 384 SPI interrupts)

28.5.4 GICD implementer identification register (GICD_IIDR)

Address offset: 0x008

Reset value: 0x0202 143B

31302928272625242322212019181716
PRODUCTID[7:0]Res.Res.Res.Res.VARIANT[3:0]
rrrrrrrrrrrr
1514131211109876543210
REVISION[3:0]IMPLEMENTER[11:0]
rrrrrrrrrrrrrrrr

Bits 31:24 PRODUCTID[7:0]: GIC product ID

Bits 23:20 Reserved, must be kept at reset value.

Bits 19:16 VARIANT[3:0]: GIC major revision number

Bits 15:12 REVISION[3:0]: GIC minor revision number

Bits 11:0 IMPLEMENTER[11:0]: GIC implementer (0x43B Arm implementation)

28.5.5 GICD interrupt group register x (GICD_IGROUPRx)

Address offset: 0x080+0x4*x, (x = 0 to 12)

Reset value: 0x0000 0000

For interrupts, ID = x*32 to ID = x*32+31.

31302928272625242322212019181716
IGROUPRx[31:16]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
IGROUPRx[15:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:0 IGROUPRx[31:0]: Group x of interrupts

28.5.6 GICD interrupt set-enable register (GICD_ISENABLER0)

Address offset: 0x100

Reset value: 0b0000 00XX XXXX XXXX 1111 1111 1111 1111

For interrupts, ID = 0 to IFD = 31.

31302928272625242322212019181716
ISENABLER0[31:16]
rsrsrsrsrsrsrsrsrsrsrsrsrsrsrsrs
1514131211109876543210
ISENABLER0[15:0]
rsrsrsrsrsrsrsrsrsrsrsrsrsrsrsrs

Bits 31:0 ISENABLER0[31:0]: Interrupt set-enable 0

28.5.7 GICD interrupt set-enable register x (GICD_ISENABLERx)

Address offset: 0x104+0x4*(x-1), (x = 1 to 12)

Reset value: 0x0000 0000

For interrupts, ID = x*32 to ID = x*32+31.

31302928272625242322212019181716
ISENABLERx[31:16]
rsrsrsrsrsrsrsrsrsrsrsrsrsrsrsrs
1514131211109876543210
ISENABLERx[15:0]
rsrsrsrsrsrsrsrsrsrsrsrsrsrsrsrs

Bits 31:0 ISENABLERx[31:0]: Interrupt set-enable x

28.5.8 GICD interrupt clear-enable register (GICD_ICENABLER0)

Address offset: 0x180

Reset value: 0b0000 00XX XXXX XXXX 1111 1111 1111 1111

For interrupts, ID = 0 to ID = 31.

31302928272625242322212019181716
ICENABLER0[31:16]
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1
1514131211109876543210
ICENABLER0[15:0]
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

Bits 31:0 ICENABLER0[31:0]: Interrupt clear-enable 0

28.5.9 GICD interrupt clear-enable register x (GICD_ICENABLERx)

Address offset: 0x184 + 0x4 * (x - 1), (x = 1 to 12)

Reset value: 0x0000 0000

For interrupts, ID = x * 32 to ID = x * 32 + 31.

31302928272625242322212019181716
ICENABLERx[31:16]
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1
1514131211109876543210
ICENABLERx[15:0]
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

Bits 31:0 ICENABLERx[31:0]: Interrupt clear-enable x

28.5.10 GICD interrupt set-pending register x (GICD_ISPENDRx)

Address offset: 0x200 + 0x4 * x, (x = 0 to 12)

Reset value: 0x0000 0000

For interrupts, ID = x * 32 to ID = x * 32 + 31.

31302928272625242322212019181716
ISPENDRx[31:16]
rsrsrsrsrsrsrsrsrsrsrsrsrsrsrsrs
1514131211109876543210
ISPENDRx[15:0]
rsrsrsrsrsrsrsrsrsrsrsrsrsrsrsrs

Bits 31:0 ISPENDRx[31:0]: Interrupt set-pending x

28.5.11 GICD interrupt clear-pending register x (GICD_ICPENDRx)

Address offset: 0x280+0x4*x, (x = 0 to 12)

Reset value: 0x0000 0000

For interrupts, ID = x*32 to ID = x*32+31.

31302928272625242322212019181716
ICPENDRx[31:16]
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1
1514131211109876543210
ICPENDRx[15:0]
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

Bits 31:0 ICPENDRx[31:0]: Interrupt clear-pending x

28.5.12 GICD interrupt set-active register x (GICD_ISACTIVERx)

Address offset: 0x300+0x4*x, (x = 0 to 12)

Reset value: 0x0000 0000

For interrupts, ID = x*32 to ID = x*32+31

31302928272625242322212019181716
ISACTIVERx[31:16]
rsrsrsrsrsrsrsrsrsrsrsrsrsrsrsrs
1514131211109876543210
ISACTIVERx[15:0]
rsrsrsrsrsrsrsrsrsrsrsrsrsrsrsrs

Bits 31:0 ISACTIVERx[31:0]: Interrupt set-active x

28.5.13 GICD interrupt clear-active register x (GICD_ICACTIVERx)

Address offset: 0x380+0x4*x, (x = 0 to 12)

Reset value: 0x0000 0000

For interrupts, ID = x*32 to ID = x*32+31.

31302928272625242322212019181716
ICACTIVERx[31:16]
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1
1514131211109876543210
ICACTIVERx[15:0]
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1

Bits 31:0 ICACTIVERx[31:0]: Interrupt clear-active x

28.5.14 GICD interrupt priority register x (GICD_IPRIORITYRx)

Address offset: 0x400 + 0x4 * x, (x = 0 to 103)

Reset value: 0x0000 0000

31302928272625242322212019181716
PRIORITY3[4:0]Res.Res.Res.PRIORITY2[4:0]Res.Res.Res.
rwrwrwrwrwrwrwrwrwrw
1514131211109876543210
PRIORITY1[4:0]Res.Res.Res.PRIORITY0[4:0]Res.Res.Res.
rwrwrwrwrwrwrwrwrwrw

Bits 31:27 PRIORITY3[4:0]: Priority for interrupt ID = x * 4 + 3

Bits 26:24 Reserved, must be kept at reset value.

Bits 23:19 PRIORITY2[4:0]: Priority for interrupt ID = x * 4 + 2

Bits 18:16 Reserved, must be kept at reset value.

Bits 15:11 PRIORITY1[4:0]: Priority for interrupt ID = x * 4 + 1

Bits 10:8 Reserved, must be kept at reset value.

Bits 7:3 PRIORITY0[4:0]: Priority for interrupt ID = x * 4

Bits 2:0 Reserved, must be kept at reset value.

28.5.15 GICD interrupt processor target register x (GICD_ITARGETSRx)

Address offset: 0x800 + 0x4 * x, (x = 0 to 7)

Reset value: 0xXXXX XXXX

For existing SGIs and PPIs, a read of CPU targets field returns the number of the processor performing the read.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.CPU_TARGETS3[1:0]Res.Res.Res.Res.Res.Res.CPU_TARGETS2[1:0]
rrrr
1514131211109876543210
Res.Res.Res.Res.Res.Res.CPU_TARGETS1[1:0]Res.Res.Res.Res.Res.Res.CPU_TARGETS0[1:0]
rrrr

Bits 31:26 Reserved, must be kept at reset value.

Bits 25:24 CPU_TARGETS3[1:0]: CPU target for interrupt ID = x * 4 + 3

Bits 23:18 Reserved, must be kept at reset value.

Bits 17:16 CPU_TARGETS2[1:0]: CPU target for interrupt ID = x * 4 + 2

Bits 15:10 Reserved, must be kept at reset value.

Bits 9:8 CPU_TARGETS1[1:0]: CPU target for interrupt ID = x * 4 + 1

Bits 7:2 Reserved, must be kept at reset value.

Bits 1:0 CPU_TARGETS0[1:0]: CPU target for interrupt ID = x*4

28.5.16 GICD interrupt processor target register x (GICD_ITARGETSRx)

Address offset: 0x820+0x4*(x-8), (x = 8 to 103)

Reset value: 0x0000 0000

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.CPU_TARGETS3[1:0]Res.Res.Res.Res.Res.Res.CPU_TARGETS2[1:0]
rwrwrwrw
1514131211109876543210
Res.Res.Res.Res.Res.Res.CPU_TARGETS1[1:0]Res.Res.Res.Res.Res.Res.CPU_TARGETS0[1:0]
rwrwrwrw

Bits 31:26 Reserved, must be kept at reset value.

Bits 25:24 CPU_TARGETS3[1:0]: CPU target for interrupt ID = x*4+3

Bits 23:18 Reserved, must be kept at reset value.

Bits 17:16 CPU_TARGETS2[1:0]: CPU target for interrupt ID = x*4+2

Bits 15:10 Reserved, must be kept at reset value.

Bits 9:8 CPU_TARGETS1[1:0]: CPU target for interrupt ID = x*4+1

Bits 7:2 Reserved, must be kept at reset value.

Bits 1:0 CPU_TARGETS0[1:0]: CPU target for interrupt ID = x*4

28.5.17 GICD interrupt configuration register (GICD_ICFGR0)

Address offset: 0xC00

Reset value: 0xAAAA AAAA

31302928272625242322212019181716
INT_CONFIG15[1:0]INT_CONFIG14[1:0]INT_CONFIG13[1:0]INT_CONFIG12[1:0]INT_CONFIG11[1:0]INT_CONFIG10[1:0]INT_CONFIG9[1:0]INT_CONFIG8[1:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
INT_CONFIG7[1:0]INT_CONFIG6[1:0]INT_CONFIG5[1:0]INT_CONFIG4[1:0]INT_CONFIG3[1:0]INT_CONFIG2[1:0]INT_CONFIG1[1:0]INT_CONFIG0[1:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:0 INT_CONFIGy[1:0]: Interrupt config for interrupt ID = y (y = 15 to 0)

28.5.18 GICD interrupt configuration register (GICD_ICFGR1)

Address offset: 0xC04

Reset value: 0b0101 0101 0101 01XX XXXX XXXX XXXX XXXX

31302928272625242322212019181716
INT_CONFIG15[1:0]INT_CONFIG14[1:0]INT_CONFIG13[1:0]INT_CONFIG12[1:0]INT_CONFIG11[1:0]INT_CONFIG10[1:0]INT_CONFIG9[1:0]INT_CONFIG8[1:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
INT_CONFIG7[1:0]INT_CONFIG6[1:0]INT_CONFIG5[1:0]INT_CONFIG4[1:0]INT_CONFIG3[1:0]INT_CONFIG2[1:0]INT_CONFIG1[1:0]INT_CONFIG0[1:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:0 INT_CONFIGy[1:0]: Interrupt config for interrupt ID = y + 16 (y = 15 to 0)

28.5.19 GICD interrupt configuration register x (GICD_ICFGRx)

Address offset: 0xC08 + 0x4 * (x - 2), (x = 2 to 25)

Reset value: 0x5555 5555

31302928272625242322212019181716
INT_CONFIG15[1:0]INT_CONFIG14[1:0]INT_CONFIG13[1:0]INT_CONFIG12[1:0]INT_CONFIG11[1:0]INT_CONFIG10[1:0]INT_CONFIG9[1:0]INT_CONFIG8[1:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
INT_CONFIG7[1:0]INT_CONFIG6[1:0]INT_CONFIG5[1:0]INT_CONFIG4[1:0]INT_CONFIG3[1:0]INT_CONFIG2[1:0]INT_CONFIG1[1:0]INT_CONFIG0[1:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:0 INT_CONFIGy[1:0]: Interrupt config for interrupt ID = x * 16 + y (y = 15 to 0)

28.5.20 GICD private peripheral interrupt status register (GICD_PPISR)

Address offset: 0xD00

Reset value: 0x0000 0000

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
PPI3PPI2PPI1PPI0PPI4PPI5PPI6Res.Res.Res.Res.Res.Res.Res.Res.Res.
rrrrrrr

Bits 31:16 Reserved, must be kept at reset value.

Bit 15 PPI3: nIRQ (not used)

Bit 14 PPI2: Secure physical timer event

Bit 13 PPI1: Secure physical timer event

Bit 12 PPI0: nFIQ (not used)

Bit 11 PPI4: Virtual timer event

Bit 10 PPI5: Hypervisor timer event

Bit 9 PPI6: Virtual maintenance interrupt

Bits 8:0 Reserved, must be kept at reset value.

28.5.21 GICD shared peripheral interrupt register x (GICD_SPIRx)

Address offset: 0xD04 + 0x4 * x, (x = 0 to 11)

Reset value: 0x0000 0000

For interrupts, ID = SPI number + 32, from SPI = x * 32 + 31 to SPI = x * 32.

31302928272625242322212019181716
SPIRx[31:16]
rrrrrrrrrrrrrrrr
1514131211109876543210
SPIRx[15:0]
rrrrrrrrrrrrrrrr

Bits 31:0 SPIRx[31:0]: Shared peripheral x interrupt

28.5.22 GICD software generated interrupt register (GICD_SGIR)

Address offset: 0xF00

Reset value: 0xXXXX XXXX

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.TARGETLISTFILTER[1:0]Res.Res.Res.Res.Res.Res.CPUTARGETLIST[1:0]
wwww
1514131211109876543210
NSATTRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SGIINTID[3:0]
wwwww

Bits 31:26 Reserved, must be kept at reset value.

Bits 25:24 TARGETLISTFILTER[1:0]: Target list filter

This bitfield determines how the distributor must process the requested SGI.

0: Forward the interrupt to the CPU interfaces specified in the CPUTARGETLIST bitfield.

1: Forward the interrupt to all CPU interfaces except the processor which requested the interrupt.

2: Forward the interrupt only to the CPU interface of the processor which requested the interrupt.

3: Reserved

Bits 23:18 Reserved, must be kept at reset value.

Bits 17:16 CPUTARGETLIST[1:0]: CPU target list

When TARGETLISTFILTER = 0b00, this CPUTARGETLIST bitfield defines the CPU interfaces to which the GICD must forward the interrupt. Each bit refers to the corresponding CPU interface. If this bitfield is 0 when TARGETLISTFILTER = 0b00, the GICD does not forward the interrupt to any CPU interface.

Bit 15 NSATT: Non-secure attribute

this bit specifies the required security value of the SGI.

0: Forward the SGI specified in the SGIINTID bitfield to a specified CPU interface, only if the SGI is configured as group 0 on this interface.

1: Forward the SGI specified in the SGIINTID bitfield to a specified CPU interface, only if the SGI is configured as group 1 on this interface.

Note: This bit is writable only by a secure access. Any non-secure write to this register generates an SGI, only if the specified SGI is programmed as group 1.

Bits 14:4 Reserved, must be kept at reset value.

Bits 3:0 SGIINTID[3:0]: SGI interrupt ID

The value of this bitfield is the interrupt ID of the SGI to forward to the specified CPU interfaces, in the range 0-15 (for example: a value of 0b0011 specifies interrupt ID 3).

28.5.23 GICD SGI clear-pending register x (GICD_CPENDSGIRx)

Address offset: 0xF10 + 0x4 * x, (x = 0 to 3)

Reset value: 0x0000 0000

For SGI = x * 4 to SGI = x * 4 + 3.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.SGI_CLEAR_PEND3[1:0]Res.Res.Res.Res.Res.Res.SGI_CLEAR_PEND2[1:0]
rwrwrwrw
1514131211109876543210
Res.Res.Res.Res.Res.Res.SGI_CLEAR_PEND1[1:0]Res.Res.Res.Res.Res.Res.SGI_CLEAR_PEND0[1:0]
rwrwrwrw

Bits 31:26 Reserved, must be kept at reset value.

Bits 25:24 SGI_CLEAR_PENDING3[1:0]: Clear-pending state for SGI = x * 4 + 3

Writing a 1 clears the pending state of the SGI for the corresponding source processor, and no longer targets the processor performing the write.

Writing a 0 has no effect.

Reading a bit identifies whether the SGI is pending, from the corresponding source processor, on the reading processor.

Bits 23:18 Reserved, must be kept at reset value.

Bits 17:16 SGI_CLEAR_PENDING2[1:0]: Clear-pending state for SGI = x * 4 + 2

Writing a 1 clears the pending state of the SGI for the corresponding source processor, and no longer targets the processor performing the write.

Writing a 0 has no effect.

Reading a bit identifies whether the SGI is pending, from the corresponding source processor, on the reading processor.

Bits 15:10 Reserved, must be kept at reset value.

ST logo
ST logo

Bits 9:8 SGI_CLEAR_PENDING1[1:0]: Clear-pending state for SGI = x*4+1

Writing a 1 clears the pending state of the SGI for the corresponding source processor, and no longer targets the processor performing the write.

Writing a 0 has no effect.

Reading a bit identifies whether the SGI is pending, from the corresponding source processor, on the reading processor.

Bits 7:2 Reserved, must be kept at reset value.

Bits 1:0 SGI_CLEAR_PENDING0[1:0]: Clear-pending state for SGI = x*4

Writing a 1 clears the pending state of the SGI for the corresponding source processor, and no longer targets the processor performing the write.

Writing a 0 has no effect.

Reading a bit identifies whether the SGI is pending, from the corresponding source processor, on the reading processor.

28.5.24 GICD SGI set-pending register x (GICD_SPENDSGIRx)

Address offset: 0xF20+0x4*x, (x = 0 to 3)

Reset value: 0x0000 0000

For SGI = x*4 to SGI = x*4+3.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.SGI_SET_PEND
ING3[1:0]
Res.Res.Res.Res.Res.Res.SGI_SET_PEND
ING2[1:0]
rwrwrwrw
1514131211109876543210
Res.Res.Res.Res.Res.Res.SGI_SET_PEND
ING1[1:0]
Res.Res.Res.Res.Res.Res.SGI_SET_PEND
ING0[1:0]
rwrwrwrw

Bits 31:26 Reserved, must be kept at reset value.

Bits 25:24 SGI_SET_PENDING3[1:0]: Set-pending state for SGI = x*4+3

Writing a 1 sets the pending state of the SGI for the corresponding source processor. Writing a 0 has no effect.

Reading a bit identifies whether the SGI is pending, from the corresponding source processor, on the reading processor.

Bits 23:18 Reserved, must be kept at reset value.

Bits 17:16 SGI_SET_PENDING2[1:0]: Set-pending state for SGI = x*4+2

Writing a 1 sets the pending state of the SGI for the corresponding source processor. Writing a 0 has no effect.

Reading a bit identifies whether the SGI is pending, from the corresponding source processor, on the reading processor.

Bits 15:10 Reserved, must be kept at reset value.

Bits 9:8 SGI_SET_PENDING1[1:0]: Set-pending state for SGI = x*4+1

Writing a 1 sets the pending state of the SGI for the corresponding source processor. Writing a 0 has no effect.

Reading a bit identifies whether the SGI is pending, from the corresponding source processor, on the reading processor.

Bits 7:2 Reserved, must be kept at reset value.

Bits 1:0 SGI_SET_PENDING0[1:0]: Set-pending state for SGI = x * 4

Writing a 1 sets the pending state of the SGI for the corresponding source processor.

Writing a 0 has no effect.

Reading a bit identifies whether the SGI is pending, from the corresponding source processor, on the reading processor.

28.5.25 GICD peripheral ID4 register (GICD_PIDR4)

Address offset: 0xFD0

Reset value: 0x0000 0004

31302928272625242322212019181716
PIDR4[31:16]
rrrrrrrrrrrrrrrr
1514131211109876543210
PIDR4[15:0]
rrrrrrrrrrrrrrrr

Bits 31:0 PIDR4[31:0]: Peripheral ID4

28.5.26 GICD peripheral ID5 to ID7 register x (GICD_PIDRx)

Address offset: 0xFD4 + 0x4* (x - 5), (x = 5 to 7)

Reset value: 0x0000 0000

31302928272625242322212019181716
PIDRx[31:16]
rrrrrrrrrrrrrrrr
1514131211109876543210
PIDRx[15:0]
rrrrrrrrrrrrrrrr

Bits 31:0 PIDRx[31:0]: Peripheral ID x

28.5.27 GICD peripheral ID0 register (GICD_PIDR0)

Address offset: 0xFE0

Reset value: 0x0000 0090

31302928272625242322212019181716
PIDR0[31:16]
rrrrrrrrrrrrrrrr
1514131211109876543210
PIDR0[15:0]
rrrrrrrrrrrrrrrr

Bits 31:0 PIDR0[31:0]: Peripheral ID0

28.5.28 GICD peripheral ID1 register (GICD_PIDR1)

Address offset: 0xFE4

Reset value: 0x0000 00B4

31302928272625242322212019181716
PIDR1[31:16]
rrrrrrrrrrrrrrrr
1514131211109876543210
PIDR1[15:0]
rrrrrrrrrrrrrrrr
Bits 31:0 PIDR1[31:0] : Peripheral ID1

28.5.29 GICD peripheral ID2 register (GICD_PIDR2)

Address offset: 0xFE8

Reset value: 0x0000 002B

31302928272625242322212019181716
PIDR2[31:16]
rrrrrrrrrrrrrrrr
1514131211109876543210
PIDR2[15:0]
rrrrrrrrrrrrrrrr
Bits 31:0 PIDR2[31:0] : Peripheral ID2

28.5.30 GICD peripheral ID3 register (GICD_PIDR3)

Address offset: 0xFEC

Reset value: 0x0000 0000

31302928272625242322212019181716
PIDR3[31:16]
rrrrrrrrrrrrrrrr
1514131211109876543210
PIDR3[15:0]
rrrrrrrrrrrrrrrr
Bits 31:0 PIDR3[31:0] : Peripheral ID3

28.5.31 GICD component ID0 register (GICD_CIDR0)

Address offset: 0xFF0

Reset value: 0x0000 000D

31302928272625242322212019181716
CIDR0[31:16]
rrrrrrrrrrrrrrrr
1514131211109876543210
CIDR0[15:0]
rrrrrrrrrrrrrrrr

Bits 31:0 CIDR0[31:0]: Component ID0

28.5.32 GICD component ID1 register (GICD_CIDR1)

Address offset: 0xFF4

Reset value: 0x0000 00F0

31302928272625242322212019181716
CIDR1[31:16]
rrrrrrrrrrrrrrrr
1514131211109876543210
CIDR1[15:0]
rrrrrrrrrrrrrrrr

Bits 31:0 CIDR1[31:0]: Component ID1

28.5.33 GICD component ID2 register (GICD_CIDR2)

Address offset: 0xFF8

Reset value: 0x0000 0005

31302928272625242322212019181716
CIDR2[31:16]
rrrrrrrrrrrrrrrr
1514131211109876543210
CIDR2[15:0]
rrrrrrrrrrrrrrrr

Bits 31:0 CIDR2[31:0]: Component ID2

28.5.34 GICD component ID3 register (GICD_CIDR3)

Address offset: 0xFFC

Reset value: 0x0000 00B1

31302928272625242322212019181716
CIDR3[31:16]
rrrrrrrrrrrrrrrr
1514131211109876543210
CIDR3[15:0]
rrrrrrrrrrrrrrrr

Bits 31:0 CIDR3[31:0]: Component ID3

28.5.35 GICD register map

Table 189. GICD register map and reset values

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x000GICD_CTLRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.ENABLEGRP1ENABLEGRP0
Reset value00
0x000GICD_CTLRNSRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.ENABLE0
Reset value0
0x004GICD_TYPERRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.LSPI[4:0]SECURITYEXTNRes.Res.CPUNUMBER[2:0]ITLINES NUMBER[4:0]
Reset value11111100001100
0x008GICD_IIDRPRODUCTID[7:0]Res.Res.Res.Res.VARIANT [3:0]REVISION [3:0]IMPLEMENTER[11:0]
Reset value00000010001000010100001110111
0x00C-0x07CReservedReserved
0x080 + 0x4*x (x=0 to 12)
Last address: 0x0B0
GICD_IGROUPRxIGROUPRx[31:0]
Reset value00000000000000000000000000000000
0x0B4-0x0FCReservedReserved
0x100GICD_ISENABLER0ISENABLER0[31:0]
Reset value000000xxxxxxxxx11111111111111111
0x104 + 0x4*(x-1), (x=1 to 12)
Last address: 0x130
GICD_ISENABLERxISENABLERx[31:0]
Reset value00000000000000000000000000000000
0x134-0x17CReservedReserved
0x180GICD_ICENABLER0ICENABLER0[31:0]
Reset value000000xxxxxxxxx11111111111111111

Table 189. GICD register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x184 + 0x4*(x-1), (X=1 to 12)
Last address: 0x1B0
GICD_ICENABLERxICENABLERx[31:0]
Reset value00000000000000000000000000000000
0x1B4 -0x1FCReservedReserved
0x200 + 0x4*x (x=0 to 12)
Last address: 0x230
GICD_ISPENDRxISPENDRx[31:0]
Reset value00000000000000000000000000000000
0x234-0x27CReservedReserved
0x280 + 0x4*x (x=0 to 12)
Last address: 0x2B0
GICD_ICPENDRxICPENDRx[31:0]
Reset value00000000000000000000000000000000
0x2B4-0x2FCReservedReserved
0x300 + 0x4*x (x=0 to 12)
Last address: 0x330
GICD_ISACTIVERxISACTIVERx[31:0]
Reset value00000000000000000000000000000000
0x334-0x37CReservedReserved
0x380 + 0x4*x (x=0 to 12)
Last address: 0x3B0
GICD_ICACTIVERxICACTIVERx[31:0]
Reset value00000000000000000000000000000000
0x3B4-0x3FCReservedReserved
0x400 + 0x4*x (x=0 to 103)
Last address: 0x59C
GICD_IPRIORITYRxPRIORITY3[4:0]ReReRePRIORITY2[4:0]ReReRePRIORITY1[4:0]ReReRePRIORITY0[4:0]ReReRe
Reset value00000000000000000000
0x5A0-0x7FCReservedReserved
0x800 + 0x4*x (x=0 to 7)
Last address: 0x81C
GICD_ITARGETSRxRes.Res.Res.Res.Res.Res.CPU_TARGETS3 [1:0]Res.Res.Res.Res.Res.Res.CPU_TARGETS2 [1:0]Res.Res.Res.Res.Res.CPU_TARGETS1 [1:0]Res.Res.Res.Res.Res.Res.CPU_TARGETS0 [1:0]
Reset valuexxxxxxxx
0x820 + 0x4*x (x=8 to 103)
Last address: 0x99C
GICD_ITARGETSRxRes.Res.Res.Res.Res.Res.CPU_TARGETS3 [1:0]Res.Res.Res.Res.Res.Res.CPU_TARGETS2 [1:0]Res.Res.Res.Res.Res.CPU_TARGETS1 [1:0]Res.Res.Res.Res.Res.Res.CPU_TARGETS0 [1:0]
Reset value00000000
0x9A0-0xBFCReservedReserved
0xC00GICD_ICFGR0INT_CONFIG15 [1:0]INT_CONFIG14 [1:0]INT_CONFIG13 [1:0]INT_CONFIG12 [1:0]INT_CONFIG11 [1:0]INT_CONFIG10 [1:0]INT_CONFIG9 [1:0]INT_CONFIG8 [1:0]INT_CONFIG7 [1:0]INT_CONFIG6 [1:0]INT_CONFIG5 [1:0]INT_CONFIG4 [1:0]INT_CONFIG3 [1:0]INT_CONFIG2 [1:0]INT_CONFIG1 [1:0]INT_CONFIG0 [1:0]
Reset value10101010101010101010101010101010
0xC04GICD_ICFGR1INT_CONFIG15 [1:0]INT_CONFIG14 [1:0]INT_CONFIG13 [1:0]INT_CONFIG12 [1:0]INT_CONFIG11 [1:0]INT_CONFIG10 [1:0]INT_CONFIG9 [1:0]INT_CONFIG8 [1:0]INT_CONFIG7 [1:0]INT_CONFIG6 [1:0]INT_CONFIG5 [1:0]INT_CONFIG4 [1:0]INT_CONFIG3 [1:0]INT_CONFIG2 [1:0]INT_CONFIG1 [1:0]INT_CONFIG0 [1:0]
Reset value01010101010101xxxxxxxxxxxxxxxxxx
ST logo
ST logo

Table 189. GICD register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0xC08 + 0x4*(x-2), (x=2 to 25)
Last address: 0xC64
GICD_ICFGRxINT_CONFIG15
[1:0]
INT_CONFIG14
[1:0]
INT_CONFIG13
[1:0]
INT_CONFIG12
[1:0]
INT_CONFIG11
[1:0]
INT_CONFIG10
[1:0]
INT_CONFIG9
[1:0]
INT_CONFIG8
[1:0]
INT_CONFIG7
[1:0]
INT_CONFIG6
[1:0]
INT_CONFIG5
[1:0]
INT_CONFIG4
[1:0]
INT_CONFIG3
[1:0]
INT_CONFIG2
[1:0]
INT_CONFIG1
[1:0]
INT_CONFIG0
[1:0]
Reset value01010101010101010101010101010101
0xC68-0xCFCReservedReserved
0xD00GICD_PPISRResResResResResResResResResResResResResResResResPPI3PPI2PPI1PPI0PPI4PPI5PPI6ResResResResResResResResRes
Reset value0000000
0xD04 + 0x4*x (x=0 to 11)
Last address: 0xD14
GICD_SPIRxSPIRx[31:0]
Reset value00000000000000000000000000000000
0xD18-0xEFCReservedReserved
0xF00GICD_SGIRRes.Res.Res.Res.Res.Res.TARGETLISTFILTER
[1:0]
Res.Res.Res.Res.Res.Res.Res.CPUTARGETLIST
T[1:0]
NSATTRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.SGIINTID[3:0]
Reset valuexxxxxxxxx
0xF04-0xF0CReservedReserved
0xF10 + 0x4*x (x=0 to 3)
Last address: 0xF1C
GICD_CPENDSGIRxRes.Res.Res.Res.Res.Res.SGI_CLEAR_PENDING3
[1:0]
Res.Res.Res.Res.Res.Res.Res.SGI_CLEAR_PENDING2
[1:0]
Res.Res.Res.Res.Res.Res.Res.SGI_CLEAR_PENDING1
[1:0]
Res.Res.Res.Res.Res.Res.Res.SGI_CLEAR_PENDING0
[1:0]
Reset value00000000
0xF20 + 0x4*x (x=0 to 3)
Last address: 0xF2C
GICD_SPENDSGIRxRes.Res.Res.Res.Res.Res.SGI_SET_PENDING3
[1:0]
Res.Res.Res.Res.Res.Res.Res.SGI_SET_PENDING2
[1:0]
Res.Res.Res.Res.Res.Res.Res.SGI_SET_PENDING1
[1:0]
Res.Res.Res.Res.Res.Res.Res.SGI_SET_PENDING0
[1:0]
Reset value00000000
0xF30-0xFCCReservedReserved
0xFD0GICD_PIDR4PIDR4[31:0]
Reset value000000000000000000000000000000100
0xFD4 + 0x4*(x-5), (x=5 to 7)
Last address: 0xFDC
GICD_PIDRxPIDRx[31:0]
Reset value00000000000000000000000000000000
0xFE0GICD_PIDR0PIDR0[31:0]
Reset value00000000000000000000000000001001
0xFE4GICD_PIDR1PIDR1[31:0]
Reset value00000000000000000000000101101000
0xFE8GICD_PIDR2PIDR2[31:0]
Reset value00000000000000000000000001010101
0xFECGICD_PIDR3PIDR3[31:0]
Reset value00000000000000000000000000000000

Table 189. GICD register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0xFF0GICD_CIDR0CIDR0[31:0]
Reset value00000000000000000000000000001101
0xFF4GICD_CIDR1CIDR1[31:0]
Reset value00000000000000000000000011110000
0xFF8GICD_CIDR2CIDR2[31:0]
Reset value00000000000000000000000000000101
0xFFCGICD_CIDR3CIDR3[31:0]
Reset value00000000000000000000000101100001

Refer to Section 2.4 for the register boundary addresses.

28.6 GIC CPU interface (GICC)

Each CPU interface provides a programming interface for the following actions:

All the registers are word-accessible.

Note: GICC offsets are provided with the default value of CA35SS_SYSCFG_GIC_CFGR (GICC set for a 64 KB granule system). Please refer to Arm documentation when set to 4 KB granule system.

28.6.1 GICC control register (GICC_CTLR)

Address offset: 0x000

Reset value: 0bXXXX XXXX XXXX XXXX XXXX X000 0000 0000

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.EOIMODENSEOIMODESIRQBYPDISGRP1FIQBYDISGRP1IRQBYPDISGRP0FIQBYDISGRP0CBPRFIQENACKCTLENABLEGPR1ENABLEGPR0
rwrwrwrwrwrwrwrwrwrwrw

Bits 31:11 Reserved, must be kept at reset value.

Bit 10 EOIMODENS: Alias of EOIMODENS from the non-secure copy of this register.

Bit 9 EOIMODES:EOI mode for secure accesses

This bit controls the behavior of accesses to GICC_EOIR and GICC_DIR registers.
This control applies only to secure accesses.

Bit 8 IRQBYPDISGRP1: Alias of IRQBYPDISGRP1 from the non-secure copy of this register.

ST logo
ST logo

28.6.2 GICC control non-secure access register (GICC_CTLRNS)

Address offset: 0x000

Reset value: 0bXXXX XXXX XXXX XXXX XXXX XX0X X00X XXX0

Bit 31Bit 30Bit 29Bit 28Bit 27Bit 26Bit 25Bit 24Bit 23Bit 22Bit 21Bit 20Bit 19Bit 18Bit 17Bit 16
Bit 1ENABLEGRP1: Enable group 1 interrupts
Bit 0ENABLEGRP0: Enable group 0 interrupts
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876 IRQBY5 FIQBY43210
Res.Res.Res.Res.Res.Res.EOIMOPDISGPDISGRes.Res.Res.Res.ENABL
DENSRes.Res.EGRP1
rwrwrwrw
Bit 9EOIMODENS: EOI mode for non- secure accesses
Bit 6IRQBYPDISGRP1: IRQ bypass for group 1 interrupts

Bits 31:10 Reserved, must be kept at reset value.

Bits 8:7 Reserved, must be kept at reset value.

Bit 5 FIQBYPDISGRP1: FIQ bypass disable for group 1 interrupts

When the signaling of FIQs by the CPU interface is disabled, this bit partly controls whether the bypass FIQ signal is signaled to the processor.

Bits 4:1 Reserved, must be kept at reset value.

Bit 0 ENABLEGRP1: Enable group1 interrupts

This bit enables the signaling of group 1 interrupts by the CPU interface to the connected processor.

28.6.3 GICC input priority mask register (GICC_PMR)

Address offset: 0x004

Reset value: 0bXXXX XXXX XXXX XXXX XXXX XXXX 0000 0XXX

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.PRIORITY[4:0]Res.Res.Res.
rwrwrwrwrw

Bits 31:8 Reserved, must be kept at reset value.

Bits 7:3 PRIORITY[4:0]: Priority mask level for the CPU interface

If the priority of an interrupt is higher than the value indicated by this bitfield, the interface signals the interrupt to the processor.

Bits 2:0 Reserved, must be kept at reset value.

28.6.4 GICC binary point register (GICC_BPR)

Address offset: 0x008

Reset value: 0bXXXX XXXX XXXX XXXX XXXX XXXX XXXX X010

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.BINARY_POINT[2:0]
rwrwrw

Bits 31:3 Reserved, must be kept at reset value.

Bits 2:0 BINARY_POINT[2:0]:

This bitfield value controls how the 8-bit interrupt priority field is split into a group priority field. It is used to determine interrupt preemption and a subpriority field. Minimum value is 2.

28.6.5 GICC binary point non-secure access register (GICC_BPRNS)

Address offset: 0x008

Reset value: 0bXXXX XXXX XXXX XXXX XXXX XXXX XXXX X011

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.BINARY_POINT[2:0]
rwrwrw

Bits 31:3 Reserved, must be kept at reset value.

Bits 2:0 BINARY_POINT[2:0]:

This bitfield value controls how the 8-bit interrupt priority field is split into a group priority field. It is used to determine interrupt preemption and a subpriority field. Minimum value is 3.

28.6.6 GICC interrupt acknowledge register (GICC_IAR)

Address offset: 0x00C

Reset value: 0bXXXX XXXX XXXX XXXX XXXX X011 1111 1111

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.CPUIDINTERRUPT_ID[9:0]
rrrrrrrrrrr

Bits 31:11 Reserved, must be kept at reset value.

Bit 10 CPUID: CPU requesting the interrupt

For SGIs in a multiprocessor implementation, this bit identifies the processor that requested the interrupt. It returns the number of the CPU interface that made the request.

For example, a value of 1 means the request was generated by a write to the GICD_SGIR on CPU interface 1.

Bits 9:0 INTERRUPT_ID[9:0]: interrupt ID

28.6.7 GICC end of interrupt register (GICC_EOIR)

Address offset: 0x010

Reset value: 0xXXXX XXXX

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.CPUIDEOINTID[9:0]
wwwwwwwwwww

Bits 31:11 Reserved, must be kept at reset value.

Bit 10 CPUID:

On a multiprocessor implementation, if the write refers to an SGI, this bit contains the CPUID value from the corresponding GICC_IAR access.

Bits 9:0 EOINTID[9:0]: Interrupt ID value from the corresponding GICC_IAR access

28.6.8 GICC running priority register (GICC_RPR)

Address offset: 0x014

Reset value: 0bXXXX XXXX XXXX XXXX XXXX XXXX 1111 1111

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.PRIORITY[4:0]Res.Res.Res.Res.
rrrrr

Bits 31:8 Reserved, must be kept at reset value.

Bits 7:3 PRIORITY[4:0]: Current running priority on the CPU interface

Bits 2:0 Reserved, must be kept at reset value.

28.6.9 GICC highest priority pending interrupt register (GICC_HPPIR)

Address offset: 0x018

Reset value: 0bXXXX XXXX XXXX XXXX XXXX 0011 1111 1111

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.CPUIDPENDINTID[9:0]
rrrrrrrrrrr

Bits 31:11 Reserved, must be kept at reset value.

Bit 10 CPUID:

On a multiprocessor implementation, if the PENDINTID bitfield returns the ID of an SGI, this bit contains the CPUID value for this interrupt. This identifies the processor that generated the interrupt.

Bits 9:0 PENDINTID[9:0]: Interrupt ID of the highest-priority pending interrupt

28.6.10 GICC aliased binary point register (GICC_ABPR)

Address offset: 0x01C

Reset value: 0bXXXX XXXX XXXX XXXX XXXX XXXX XXXX X011

GICC_ABPR is an alias of the non-secure GICC_BPR. When CBPR is cleared to 0 in GICC_CTLR, a secure access to this register is equivalent to a non-secure access to GICC_BPR.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.BINARY_POINT[2:0]
rwrwrw

Bits 31:3 Reserved, must be kept at reset value.

Bits 2:0 BINARY_POINT[2:0]:

The value of this bitfield controls how the 8-bit interrupt priority field is split into a group priority field. It is used to determine interrupt preemption, and a subpriority field. Minimum value is 3.

28.6.11 GICC aliased interrupt acknowledge register (GICC_AIAR)

Address offset: 0x020

Reset value: 0bXXXX XXXX XXXX XXXX XXXX X011 1111 1111

GICC_AIAR is an alias of the non-secure view of GICC_IAR. A secure access to this register is identical to a non-secure access to GICC_IAR.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.CPUIDINTERRUPT_ID[9:0]
rrrrrrrrrrr

Bits 31:11 Reserved, must be kept at reset value.

Bit 10 CPUID:

For SGIs in a multiprocessor implementation, this bit identifies the processor that requested the interrupt. It returns the number of the CPU interface that made the request.

For example, a value of 1 means the request was generated by a write to the GICD_SGIR on CPU interface 1.

Bits 9:0 INTERRUPT_ID[9:0]: Interrupt ID

28.6.12 GICC aliased end of interrupt register (GICC_AEOIR)

Address offset: 0x024

Reset value: 0xXXXX XXXX

GICC_AEOIR is an alias of the non-secure GICC_EOIR. A secure access to this register is similar to a non-secure access to GICC_EOIR, except that EOIMODES in GICC_CTLR is used.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.CPUIDEOINTID[9:0]
wwwwwwwwwww

Bits 31:11 Reserved, must be kept at reset value.

Bit 10 CPUID:

On a multiprocessor implementation, when processing an SGI, this bit must contain the CPUID value from the corresponding GICC_AIAR, or non-secure GICC_IAR, access.

Bits 9:0 EOINTID[9:0]:

This bitfield contains the interrupt ID value from the corresponding GICC_AIAR, or non-secure GICC_IAR, access.

28.6.13 GICC aliased highest priority pending interrupt register (GICC_AHPPIR)

Address offset: 0x028

Reset value: 0bXXXX XXXX XXXX XXXX XXX0 0011 1111 1111

This register is an alias of the non-secure GICC_HPPIR. A secure access to this register is equivalent to a non-secure access to GICC_HPPIR.

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.CPUIDPENDINTID[9:0]
rrrrrrrrrrr

Bits 31:11 Reserved, must be kept at reset value.

Bit 10 CPUID:

On a multiprocessor implementation, if the PENDINTID bitfield returns the ID of an SGI, this bit contains the CPUID value for that interrupt. This identifies the processor that generated the interrupt.

Bits 9:0 PENDINTID[9:0]: Interrupt ID of the highest-priority pending interrupt

This bitfield contains the interrupt ID of the highest-priority pending interrupt If that interrupt is a group 1 interrupt. Otherwise, its value is the spurious interrupt ID, 1023.

28.6.14 GICC active priority register (GICC_APR0)

Address offset: 0x0D0

Reset value: 0x0000 0000

31302928272625242322212019181716
APR0[31:16]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
APR0[15:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:0 APR0[31:0]: Active priority

28.6.15 GICC non-secure active priority register (GICC_NSAPR0)

Address offset: 0x0E0

Reset value: 0x0000 0000

31302928272625242322212019181716
NSAPR0[31:16]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
NSAPR0[15:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:0 NSAPR0[31:0]: Non-secure active priority

28.6.16 GICC interface identification register (GICC_IIDR)

Address offset: 0x0FC

Reset value: 0x0202 143B

31302928272625242322212019181716
PRODUCTID[11:0]ARCH[3:0]
rrrrrrrrrrrrrrrr
1514131211109876543210
REVISION[3:0]IMPLEMENTER[11:0]
rrrrrrrrrrrrrrrr

Bits 31:20 PRODUCTID[11:0]: product ID

Bits 19:16 ARCH[3:0]: GIC architecture version

Bits 15:12 REVISION[3:0]: revision number for the CPU interface

Bits 11:0 IMPLEMENTER[11:0]: GIC implementer (0x43B Arm implementation)

28.6.17 GICC deactivate interrupt register (GICC_DIR)

Address offset: 0x10000

Reset value: 0xXXXX XXXX

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.CPUIDINTERRUPT_ID[9:0]
wwwwwwwwwww

Bits 31:11 Reserved, must be kept at reset value.

Bit 10 CPUID:

For an SGI in a multiprocessor implementation, this bit identifies the processor that requested the interrupt

Bits 9:0 INTERRUPT_ID[9:0]: interrupt ID

28.6.18 GICC register map

Table 190. GICC register map and reset values

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x000GICC_CTLRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.EOIMODENSEOIMODESIRQBYPDISGRP1FIQBYPDISGRP1IRQBYPDISGRP0FIQBYPDISGRP0CBPRFIQENACKCTLENABLEGRP1ENABLEGRP0
Reset value00000000000
0x000GICC_CTLRNSRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.EOIMODENSRes.Res.Res.IRQBYPDISGRP1FIQBYPDISGRP1Res.Res.Res.Res.ENABLEGRP1
Reset value0000
0x004GICC_PMRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PRIORITY[4:0]Res.Res.Res.
Reset value00000
0x008GICC_BPRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.BINARY_POINT [2:0]
Reset value010
0x008GICC_BPRNSRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.BINARY_POINT [2:0]
Reset value011

Table 190. GICC register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x00CGICC_IARRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CPUIDINTERRUPT_ID[9:0]
Reset value01111111111
0x010GICC_EOIRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CPUIDEOIINTID[9:0]
Reset valuexxxxxxxxxxx
0x014GICC_RPRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PRIORITY[4:0]Res.Res.Res.
Reset value11111
0x018GICC_HPPIRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CPUIDPENDINTID[9:0]
Reset value01111111111
0x01CGICC_ABPRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.BINARY_POINT
[2:0]
Reset value011
0x020GICC_AIARRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CPUIDINTERRUPT_ID[9:0]
Reset value01111111111
0x024GICC_AEOIRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CPUIDEOIINTID[9:0]
Reset valuexxxxxxxxxxx
0x028GICC_AHPPIRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CPUIDPENDINTID[9:0]
Reset value01111111111
0x02C-0x0CCReservedReserved
0x0D0GICC_APR0APR0[31:0]
Reset value00000000000000000000000000000000
0x0D4-0x0DCReservedReserved
0x0E0GICC_NSAPR0NSAPR0[31:0]
Reset value00000000000000000000000000000000
0x0E4-0x0F8ReservedReserved
0x0FCGICC_IIDRPRODUCTID[11:0]ARCH[3:0]REVISION
[3:0]
IMPLEMENTER[11:0]
Reset value00000010000000100001010000111011
0x100-0xFFCReservedReserved
0x1000GICC_DIRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CPUIDINTERRUPT_ID[9:0]
Reset valuexxxxxxxxxxx
Refer to Section 2.4 for the register boundary addresses.

28.7 GIC virtual interface control, common (GICH)

The GICH registers are management ones. Configuration software on the Cortex-A35 must ensure they are accessible only by a hypervisor or similar software.

All the registers are word-accessible.

28.7.1 GICH hypervisor control register (GICH_HCR)

Address offset: 0x000

Reset value: 0b0000 0XXX XXXX XXXX XXXX XXXX 0000 0000

31302928272625242322212019181716
EOICOUNT[4:0]Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
rwrwrwrwrw
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.VGRP1
DIE
VGRP1
EIE
VGRP0
DIE
VGRP0
EIE
NPIELRENPIEUIEEN
rwrwrwrwrwrwrwrw

Bits 31:27 EOICOUNT[4:0]: End-of-interrupt counter

This bitfield counts the number of EOIs received that do not have a corresponding entry in the list registers. The virtual CPU interface increments this bitfield automatically when a matching EOI is received. When EOIs do not clear a bit in the active priorities register, GICH_APR does not cause an increment.

Although not possible under correct operation, if an EOI occurs when the value of this bitfield is 31, this bitfield wraps to 0.

The maintenance interrupt is asserted whenever this bitfield is non-zero, and LRENPIE = 1.

Bits 26:8 Reserved, must be kept at reset value.

Bit 7 VGRP1DIE: Virtual machine disable group 1 interrupt enable

This bit enables the signaling of a maintenance interrupt while signaling of group 1 interrupts from the virtual CPU interface to the connected virtual machine, is disabled.

Bit 6 VGRP1EIE: Virtual machine enable group 1 interrupt enable

This bit enables the signaling of a maintenance interrupt while signaling of group 1 interrupts from the virtual CPU interface to the connected virtual machine, is enabled.

Bit 5 VGRP0DIE: Virtual machine disable group 0 interrupt enable

This bit enables the signaling of a maintenance interrupt while signaling of group 0 interrupts from the virtual CPU interface to the connected virtual machine, is disabled.

Bit 4 VGRP0EIE: Virtual machine enable group 0 interrupt enable

This bit enables the signaling of a maintenance interrupt while signaling of group 0 interrupts from the virtual CPU interface to the connected virtual machine, is enabled.

Bit 3 NPIE: No pending interrupt enable

This bit enables the signaling of a maintenance interrupt while no pending interrupts are present in the list registers.

Bit 2 LRENPIE: List register entry not present interrupt enable

This bit enables the signaling of a maintenance interrupt while the virtual CPU interface does not have a corresponding valid list register entry for an EOI request.

Bit 1 UIE: Underflow interrupt enable.

This bit enables the signaling of a maintenance interrupt when the list registers are empty, or hold only one valid entry.

Bit 0 EN: Global enable bit for the virtual CPU interface

28.7.2 GICH VGIC type register (GICH_VTR)

Address offset: 0x004

Reset value: 0x9000 0003

31302928272625242322212019181716
PRIBITS[2:0]PREBITS[2:0]Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
rrrrrr
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.LISTREGS[4:0]
rrrrr

Bits 31:29 PRIBITS[2:0]: Priority bits

This bitfield indicates the number of priority bits implemented, minus one.
For example, 0x4 means 5 bits of priority, and 32 priority levels.

Bits 28:26 PREBITS[2:0]: Preemption bits

This bitfield indicates the number of preemption bits implemented, minus one.
For example, 0x4 means 5 bits of preemption, and 32 preemption levels

Bits 25:5 Reserved, must be kept at reset value.

Bits 4:0 LISTREGS[4:0]: List registers

This bitfield indicates the number of implemented list registers, minus one.
For example, 0x3 means 4 list registers.

28.7.3 GICH virtual machine control register (GICH_VMCR)

Address offset: 0x008

Reset value: 0b0000 0XXX 0100 11XX XXXX XX0X XXX0 0000

31302928272625242322212019181716
VMPRIMASK[4:0]Res.Res.Res.VMBP[2:0]VMABP[2:0]Res.Res.
rwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
Res.Res.Res.Res.Res.Res.VEMRes.Res.Res.Res.VMCB PRVMFIQ ENVMAC KCTLVMGR P1ENVMGR P0EN
rwrwrwrwrwrw

Bits 31:27 VMPRIMASK[4:0]: Alias of GICV_PMR.PRIORITY

Bits 26:24 Reserved, must be kept at reset value.

Bits 23:21 VMBP[2:0]: Alias of GICV_BPR.BINARY_POINT

Bits 20:18 VMABP[2:0]: Alias of GICV_ABPR.BINARY_POINT.

Bits 17:10 Reserved, must be kept at reset value.

Bit 9 VEM: Alias of GICV_CTLR.EOIMODE

Bits 8:5 Reserved, must be kept at reset value.

Bit 4 VMCBPR: Alias of GICV_CTLR.CBPR

Bit 3 VMFIQEN: Alias of GICV_CTLR.FIQEN

Bit 2 VMACKCTL: Alias of GICV_CTLR.ACKCTL

Bit 1 VMGRP1EN: Alias of GICV_CTLR.ENABLEGRP1

Bit 0 VMGRP0EN: Alias of GICV_CTLR.ENABLEGRP0

28.7.4 GICH maintenance interrupt status register (GICH_MISR)

Address offset: 0x010

Reset value: 0bXXXX XXXX XXXX XXXX XXXX XXXX 0000 0000

Bit 31Bit 30Bit 29Bit 28Bit 27Bit 26Bit 25Bit 24Bit 23Bit 22Bit 21Bit 20Bit 19Bit 18Bit 17Bit 16
31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.VGRP1VGRP1VGRP0VGRP0
DEDENPLRENPUEOI
rrrrrrrr
Bit 7VGRP1D: Disabled group 1 maintenance interrupt
Bit 6VGRP1E: Enabled group 1 maintenance interrupt
Bit 5VGRP0D: Disabled group 0 maintenance interrupt
Bit 4VGRP0E: Enabled group 0 maintenance interrupt
Bit 3NP : No pending maintenance interrupt
Bit 2LRENP: List register entry not present maintenance interrupt
Bit 1U : Underflow maintenance interrupt
Bit 0EOI : End of interrupt maintenance interrupt
RM0506 Rev 21489/4831

Bits 31:8 Reserved, must be kept at reset value.

Bit 7 VGRP1D: Disabled group 1 maintenance interrupt

Asserted whenever GICH_HCR.VGRP1DIE is set and GICH_VMCR.VMGRP1EN = 0.

Bit 6 VGRP1E: Enabled group 1 maintenance interrupt

Asserted whenever GICH_HCR.VGRP1EIE is set and GICH_VMCR.VMGRP1EN = 1.

Bit 5 VGRP0D: Disabled group 0 maintenance interrupt

Asserted whenever GICH_HCR.VGRP0DIE is set and GICH_VMCR.VMGRP0EN = 0.

Bit 4 VGRP0E: Enabled group 0 maintenance interrupt

Asserted whenever GICH_HCR.VGRP0EIE is set and GICH_VMCR.VMGRP0EN = 1.

Bit 3 NP: No pending maintenance interrupt

Asserted whenever GICH_HCR.NPIE = 1 and no list register is in pending state.

Bit 2 LREN: List register entry not present maintenance interrupt

Asserted whenever GICH_HCR.LRENPIE = 1 and GICH_HCR.EOICOUNT is non-zero.

Bit 1 U: Underflow maintenance interrupt

Asserted whenever GICH_HCR.UIE is set and if none, or only one, of the list register entries are marked as a valid interrupt (if the corresponding GICH_LRx.STATE bits do not equal 0x0).

Bit 0 EOI: End of interrupt maintenance interrupt

Asserted whenever at least one list register asserts an EOI Interrupt, which means at least one bit at 1 in GICH_EISRx.

28.7.5 GICH end of interrupt status register (GICH_EISR0)

Address offset: 0x020

Reset value: 0bXXXX XXXX XXXX XXXX XXXX XXXX XXXX 0000

31302928272625242322212019181716
EISR0[31:16]
rrrrrrrrrrrrrrrr
1514131211109876543210
EISR0[15:0]
rrrrrrrrrrrrrrrr

Bits 31:0 EISR0[31:0]: End of interrupt status

28.7.6 GICH empty list status register (GICH_ELSR0)

Address offset: 0x030

Reset value: 0bXXXX XXXX XXXX XXXX XXXX XXXX XXXX 1111

31302928272625242322212019181716
ELSR0[31:16]
rrrrrrrrrrrrrrrr
1514131211109876543210
ELSR0[15:0]
rrrrrrrrrrrrrrrr

Bits 31:0 ELSR0[31:0]: Empty list status

28.7.7 GICH active priority register (GICH_APR0)

Address offset: 0x0F0

Reset value: 0x0000 0000

31302928272625242322212019181716
APR0[31:16]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
APR0[15:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:0 APR0[31:0]: Active priority

28.7.8 GICH list register x (GICH_LRx)

Address offset: 0x100+0x4*x, (x = 0 to 3)

Reset value: 0x0000 0000

31302928272625242322212019181716
HWGRP1STATE[1:0]PRIORITY[4:0]Res.Res.Res.PHYSICALID[9:6]
rwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
PHYSICALID[5:0]VIRTUALID[9:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bit 31 HW: Hardware interrupt

This bit indicates whether this virtual interrupt is an hardware interrupt (corresponding to a physical interrupt). Deactivation of the virtual interrupt also causes the deactivation of the physical interrupt with the ID that the PHYSICALID bitfield indicates.

Bit 30 GRP1:

This bit indicates whether this virtual interrupt is a group 1 virtual interrupt.

Bits 29:28 STATE[1:0]: State of the interrupt

Bits 27:23 PRIORITY[4:0]: Priority of the interrupt

Bits 22:20 Reserved, must be kept at reset value.

Bits 19:10 PHYSICALID[9:0]: Physical ID

This bitfield function depends on the value of the GICH_LR.HW bit, as follows.

1) When GICH_LR.HW = 0, bits [9:0] have the following meanings:

- [19] EOI when this interrupt triggers an EOI maintenance interrupt

- [12:10] CPUID If the interrupt has the virtual ID for an SGI, that is, 0-15. This bitfield shows the requesting CPU ID. This appears in the relevant field of the virtual machine interrupt acknowledge register, GICV_IAR or GICV_AIAR. Otherwise, this bitfield must be set to 0.

2) When GICH_LR.HW = 1, PHYSICALID[9:0] indicates the physical interrupt ID that the hypervisor forwards to the GICD.

If this bitfield value is 0-15, or 1020-1023, behavior is unpredictable.

If this bitfield value is 16-31, it applies to the PPI associated with the same physical CPUID as the virtual CPU interface requesting the deactivation.

Bits 9:0 VIRTUALID[9:0]: virtual ID

This ID is returned to the guest OS when the interrupt is acknowledged through GICV_IAR. Each valid interrupt stored in the list registers must have a unique virtual ID for that virtual CPU interface.

If this bitfield value is 1020-1023, behavior is unpredictable.

28.7.9 GICH register map

Table 191. GICH register map and reset values

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x000GICH_HCREOICOUNT[4:0]Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.VGRP1DIEVGRP1EIEVGRP0DIEVGRP0EIENPIELRNPIEUIEEN
Reset value0000000000000

Table 191. GICH register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x004GICH_VTRPRIBITS [2:0]PREBITS [2:0]LISTREGS[4:0]
Reset value10010000011
0x008GICH_VMCRVMPRIMASK [4:0]VMBP [2:0]VMABP [2:0]VEMVMCBPRVMFIQENVMACKCTLVMGRP1ENVMGRP0EN
Reset value00000010011000000
0x00CReservedReserved
0x010GICH_MISRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.VGRP1DVGRP1EVGRP0DVGRP0ENPLRENCEOI
Reset value000000000
0x014-0x01CReservedRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
0x020GICH_EISR0EISR0[31:0]
Reset valuexxxxxxxxxxxxxxxxxxxxxxxxxxx00000
0x024-0x02CReservedRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
0x030GICH_ELSR0ELSR0[31:0]
Reset valuexxxxxxxxxxxxxxxxxxxxxxxxxxx11111
0x034-0x0ECReservedRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
0x0F0GICH_APR0APR0[31:0]
Reset value00000000000000000000000000000000
0x0F4-0x0FCReservedReserved
0x100 + 0x4*x
(x=0 to 3)
Last address
0x10C
GICH_LRxHWGRP1STATE [1:0]PRIORITY[4:0]Res.Res.Res.PHYSICALID[9:0]VIRTUALID[9:0]
Reset value000000000000000000000000000000

Refer to Section 2.4 for the register boundary addresses.

28.8 GIC virtual CPU interface (GICV)

The GICV forwards virtual interrupts to a connected Cortex-A35 processor core, subject to the normal GIC handling and prioritization rules. The virtual interface control registers control GICV operation. The GICV uses the contents of the list registers to determine when to signal virtual interrupts. When a processor core accesses the GICV, the list registers are updated.

All the registers are word-accessible.

28.8.1 GICV virtual machine control register (GICV_CTLR)

Address offset: 0x000

Reset value: 0bXXXX XXXX XXXX XXXX XXXX X000 0000 0000

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.EOIMO
DE
Res.Res.Res.Res.CBPRFIQENACKCT
L
ENABL
EGRP1
ENABL
EGRP0
rwrwrwrwrwrw

Bits 31:10 Reserved, must be kept at reset value.

Bit 9 EOIMODE: End of interrupt mode

This bit controls the behavior associated with GICV_EOIR, GICV_AEOIR, and GICV_DIR.

Bits 8:5 Reserved, must be kept at reset value.

Bit 4 CBPR: BPR control

This bit controls whether GICV_BPR controls both group 0 and group 1 virtual interrupts.

Bit 3 FIQEN: FIQ enable for group 0 interrupts

This bit controls whether interrupts marked as group 0 are presented as virtual FIQs.

Bit 2 ACKCTL: Acknowledge control

This bit controls whether a read of GICV_IAR, when the highest priority pending interrupt is a group 1 interrupt, causes the CPU interface to acknowledge the interrupt.

Note: Arm deprecates use of this bit, and strongly recommends that software is written to operate with this bit always set to 0.

Bit 1 ENABLEGRP1:

This bit enables the signaling of group 1 virtual interrupts by the GICV to the virtual machine.

Bit 0 ENABLEGRP0:

This bit enables the signaling of group 0 virtual interrupts by the GICV to the virtual machine.

28.8.2 GICV VM priority mask register (GICV_PMR)

Address offset: 0x004

Reset value: 0bXXXX XXXX XXXX XXXX XXXX XXXX 0000 0XXX

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.PRIORITY[4:0]Res.Res.Res.
rwrwrwrwrw

Bits 31:8 Reserved, must be kept at reset value.

Bits 7:3 PRIORITY[4:0]: Priority mask level for the virtual CPU interface

Only virtual interrupts with higher priority than this bitfield value can be signaled to the processor core.

Bits 2:0 Reserved, must be kept at reset value.

28.8.3 GICV VM binary point register (GICV_BPR)

Address offset: 0x008

Reset value: 0bXXXX XXXX XXXX XXXX XXXX XXXX XXXX X010

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.BINARY_POINT[2:0]
rwrwrw

Bits 31:3 Reserved, must be kept at reset value.

Bits 2:0 BINARY_POINT[2:0]:

This bitfield value controls how the 8-bit virtual interrupt priority field is split into a group priority field, used to determine virtual interrupt preemption, and a subpriority field.
Minimum value is 2.

28.8.4 GICV VM interrupt acknowledge register (GICV_IAR)

Address offset: 0x00C

Reset value: 0bXXXX XXXX XXXX XXXX XXX0 0011 1111 1111

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.CPUIDINTERRUPT_ID[9:0]
rrrrrrrrrrr

Bits 31:11 Reserved, must be kept at reset value.

Bit 10 CPUID:

If HW is cleared to 0 in GICH_LRx (indicating that the interrupt is triggered in software), the value of CPUID in GICH_LRx, that indicates the CPU ID, is returned in this bit.
Otherwise this bit is read as zero.

Bits 9:0 INTERRUPT_ID[9:0]: Interrupt ID

28.8.5 GICV VM end of interrupt register (GICV_EOIR)

Address offset: 0x010

Reset value: 0xXXXX XXXX

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.CPUIDEOINTID[9:0]
wwwwwwwwwww

Bits 31:11 Reserved, must be kept at reset value.

Bit 10 CPUID:

On a multiprocessor implementation, if the write refers to an SGI, this bit contains the CPUID value from the corresponding GICV_IAR access.

Bits 9:0 EOINTID[9:0]:

If HW is set to 1 in GICH_LRx (indicating a hardware interrupt), a deactivate request is sent to the physical distributor, identifying the physical ID from the corresponding bitfield in the list register.

28.8.6 GICV VM running priority register (GICV_RPR)

Address offset: 0x014

Reset value: 0bXXXX XXXX XXXX XXXX XXXX XXXX 1111 1111

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.PRIORITY[4:0]Res.Res.Res.
rrrrr

Bits 31:8 Reserved, must be kept at reset value.

Bits 7:3 PRIORITY[4:0]: Current running priority on the virtual CPU interface

Bits 2:0 Reserved, must be kept at reset value.

28.8.7 GICV VM highest priority pending interrupt register (GICV_HPIIR)

Address offset: 0x018

Reset value: 0bXXXX XXXX XXXX XXXX XXX0 0011 1111 1111

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.CPUIDPENDINTID[9:0]
rrrrrrrrrrr

Bits 31:11 Reserved, must be kept at reset value.

Bit 10 CPUID:

On a multiprocessor implementation, if GICH_LRx.HW = 0, this bit contains the CPUID value for this virtual interrupt. This identifies the virtual processor that generated the virtual interrupt.

Bits 9:0 PENDINTID[9:0]:

The virtual interrupt ID of the highest-priority pending virtual interrupt

28.8.8 GICV VM aliased binary point register (GICV_ABPR)

Address offset: 0x01C

Reset value: 0bXXXX XXXX XXXX XXXX XXXX XXXX XXXX X011

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.BINARY_POINT[2:0]
rwrwrw

Bits 31:3 Reserved, must be kept at reset value.

Bits 2:0 BINARY_POINT[2:0]:

This bitfield value controls how the 8-bit virtual interrupt priority field is split into a group priority field, used to determine virtual interrupt preemption, and a subpriority field. Minimum value is 3.

28.8.9 GICV VM aliased interrupt register (GICV_AIAR)

Address offset: 0x020

Reset value: 0bXXXX XXXX XXXX XXXX XXX0 0011 1111 1111

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.CPUIDINTERRUPT_ID[9:0]
rrrrrrrrrrr

Bits 31:11 Reserved, must be kept at reset value.

Bit 10 CPUID:

If HW is cleared to 0 in GICH_LRx (indicating that the interrupt is triggered in software), the CPUID value in GICH_LRx, that indicates the CPU ID, is returned in this bit. Otherwise, this bit is read as zero.

Bits 9:0 INTERRUPT_ID[9:0]: interrupt ID

If GRP1 = 0 in GICH_LRx, the interrupt is group 0. The spurious interrupt ID 1023 is returned, and the interrupt is not acknowledged.

28.8.10 GICV VM aliased end of interrupt register (GICV_AEOIR)

Address offset: 0x024

Reset value: 0xXXXXX XXXX

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.CPUIDEOINTID[9:0]
wwwwwwwwwww

Bits 31:11 Reserved, must be kept at reset value.

Bit 10 CPUID:

On a multiprocessor implementation, if the write refers to an SGI, this field contains the CPUID value from the corresponding GICV_IAR access.

Bits 9:0 EOINTID[9:0]:

If HW is set to 1 in GICH_LRx (indicating an hardware interrupt), a deactivate request is sent to the physical distributor, identifying the physical ID from the corresponding field in the list register.

28.8.11 GICV VM aliased highest priority pending interrupt register (GICV_AHPPIR)

Address offset: 0x028

Reset value: 0bXXXX XXXX XXXX XXXX XXX0 0011 1111 1111

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.CPUIDPENDINTID[9:0]
rrrrrrrrrrr

Bits 31:11 Reserved, must be kept at reset value.

Bit 10 CPUID:

If HW is set to 1 in GICH_LRx (indicating a hardware interrupt), a deactivate request is sent to the physical distributor, identifying the physical ID from the corresponding field in the list register.

Bits 9:0 PENDINTID[9:0]:

This bitfield contains the virtual interrupt ID of the highest-priority pending virtual interrupt, if that virtual interrupt is a group 1 virtual interrupt.

Otherwise, it contains the spurious virtual interrupt ID (1023).

28.8.12 GICV VM active priority register (GICV_APR0)

Address offset: 0x0D0

Reset value: 0x0000 0000

This register is an alias of GICH_APR.

31302928272625242322212019181716
APR0[31:16]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw
1514131211109876543210
APR0[15:0]
rwrwrwrwrwrwrwrwrwrwrwrwrwrwrwrw

Bits 31:0 APR0[31:0]: Active priority

28.8.13 GICV VM CPU interface identification register (GICV_IIDR)

Address offset: 0x0FC

Reset value: 0x0202 143B

This register is an alias of GICC_IIDR.

31302928272625242322212019181716
IIDR[31:16]
rrrrrrrrrrrrrrrr
1514131211109876543210
IIDR[15:0]
rrrrrrrrrrrrrrrr

Bits 31:0 IIDR[31:0]: see GICC_IIDR description

28.8.14 GICV VM deactivate interrupt register (GICV_DIR)

Address offset: 0x1000

Reset value: 0XXXXX XXXX

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.CPUIDINTERRUPT_ID[9:0]
wwwwwwwwwww

Bits 31:11 Reserved, must be kept at reset value.

Bit 10 CPUID:

This bit identifies the processor core that requested the interrupt.

Bits 9:0 INTERRUPT_ID[9:0]: Interrupt ID

28.8.15 GICV register map

Table 192. GICV register map and reset values

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x000GICV_CTLRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.EOMODERes.Res.Res.Res.CBPRFIQENACKCTLENABLEGRP1ENABLEGRP0
Reset value000000
0x004GICV_PMRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PRIORITY[4:0]Res.Res.Res.Res.
Reset value00000

Table 192. GICV register map and reset values (continued)

OffsetRegister name313029282726252423222120191817161514131211109876543210
0x008GICV_BPRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.BINARY_POINT
[2:0]
Reset value010
0x00CGICV_IARRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CPUIDINTERRUPT_ID[9:0]
Reset value01111111111
0x010GICV_EOIRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CPUIDEOIINTID[9:0]
Reset valuexxxxxxxxxxx
0x014GICV_RPRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PRIORITY[4:0]Res.Res.Res.
Reset value11111
0x018GICV_HPPIRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CPUIDPENDINTID[9:0]
Reset value01111111111
0x01CGICV_ABPRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.BINARY_POINT
[2:0]
Reset value011
0x020GICV_AIARRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CPUIDINTERRUPT_ID[9:0]
Reset value01111111111
0x024GICV_AEOIRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CPUIDEOIINTID[9:0]
Reset valuexxxxxxxxxxx
0x028GICV_AHPPIRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CPUIDPENDINTID[9:0]
Reset value01111111111
0x02C-0x0CCReservedReserved
0x0D0GICV_APR0APR0[31:0]
Reset value00000000000000000000000000000000
0x0D4-0x0F8ReservedRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
0x0FCGICV_IIDRIIDR[31:0]
Reset value00000010000000100001010000111011
0x100-0xFFCReservedReserved
0x1000GICV_DIRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.CPUIDINTERRUPT_ID[9:0]
Reset valuexxxxxxxxxxx
Refer to Section 2.4 for the register boundary addresses.