22. Global interrupt controller (GIC)

22.1 Introduction

The following Arm® specifications provides additional details on the GIC:

22.2 GIC main features

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

It provides:

22.3 GIC functional description

The GIC is a single functional unit located in the Cortex-A7 MPCore processor. The GIC consists of a shared distributor block and several CPU interfaces. For each processor in the multiprocessor device, there is:

The GIC registers are memory-mapped, and the base address is visible into the configuration base address (CBAR) for each processor 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, instead access caches or external memory as required.

Figure 136 shows the GIC block diagram.

Figure 136. GIC block diagram

Figure 136: GIC block diagram. The diagram shows the internal structure of the Global Interrupt Controller (GIC) for two processors. A central Distributor block receives PPIs for processor 1 (Interrupt ID 16-31 and 0-15) and processor 0 (Interrupt ID 16-31 and 0-15), and SPI0-255 (Interrupt ID 32-287). It also receives SGI requests. The Distributor connects to CPU interface 1 and CPU interface 0. CPU interface 1 connects to FIQ, IRQ, and a memory-mapped interface GICC_x. It also connects to Virtual CPU interface 1 and Virtual interface control 1. Virtual CPU interface 1 connects to VFIQ, VIRQ, and a memory-mapped interface GICV_x (to virtual machine), and a memory-mapped interface GICH_x (to hypervisor). Virtual interface control 1 connects to a memory-mapped interface GICH_x (to hypervisor). CPU interface 0 connects to FIQ, IRQ, and a memory-mapped interface GICC_x. It also connects to Virtual CPU interface 0 and Virtual interface control 0. Virtual CPU interface 0 connects to VFIQ, VIRQ, and a memory-mapped interface GICV_x (to virtual machine), and a memory-mapped interface GICH_x (to hypervisor). Virtual interface control 0 connects to a memory-mapped interface GICH_x (to hypervisor). The GIC also has a memory-mapped interface GICD_x. The diagram is labeled MSv43987V1.

The diagram illustrates the Global Interrupt Controller (GIC) architecture for two processors. The GIC is divided into a Distributor and two CPU interfaces (CPU interface 1 and CPU interface 0). The Distributor receives Peripheral Interrupts (PPIs) for each processor, SPI0-255, and Software Generated Interrupt (SGI) requests. It then distributes these interrupts to the respective CPU interfaces. Each CPU interface connects to Fast Interrupt Request (FIQ) and Interrupt Request (IRQ) lines, a memory-mapped interface (GICC_x), and virtualization components: a Virtual CPU interface (VFIQ, VIRQ, GICV_x to virtual machine) and a Virtual interface control (GICH_x to hypervisor). The GIC also features a memory-mapped interface GICD_x.

MSv43987V1

Figure 136: GIC block diagram. The diagram shows the internal structure of the Global Interrupt Controller (GIC) for two processors. A central Distributor block receives PPIs for processor 1 (Interrupt ID 16-31 and 0-15) and processor 0 (Interrupt ID 16-31 and 0-15), and SPI0-255 (Interrupt ID 32-287). It also receives SGI requests. The Distributor connects to CPU interface 1 and CPU interface 0. CPU interface 1 connects to FIQ, IRQ, and a memory-mapped interface GICC_x. It also connects to Virtual CPU interface 1 and Virtual interface control 1. Virtual CPU interface 1 connects to VFIQ, VIRQ, and a memory-mapped interface GICV_x (to virtual machine), and a memory-mapped interface GICH_x (to hypervisor). Virtual interface control 1 connects to a memory-mapped interface GICH_x (to hypervisor). CPU interface 0 connects to FIQ, IRQ, and a memory-mapped interface GICC_x. It also connects to Virtual CPU interface 0 and Virtual interface control 0. Virtual CPU interface 0 connects to VFIQ, VIRQ, and a memory-mapped interface GICV_x (to virtual machine), and a memory-mapped interface GICH_x (to hypervisor). Virtual interface control 0 connects to a memory-mapped interface GICH_x (to hypervisor). The GIC also has a memory-mapped interface GICD_x. The diagram is labeled MSv43987V1.

22.4 Interrupt sources

All interrupt sources are identified by a unique ID.

The Cortex-A7 MPCore processor has the following interrupt sources:

22.4.1 Software generated interrupts (SGI)

SGIs are generated by writing to the software generated interrupt register (GICD_SGIR). A maximum of 16 SGIs, ID0-ID15, can be generated for each processor interface. 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.

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

22.4.2 Private peripheral interrupts (PPI)

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

Legacy nFIQ signal (PPI0) - NOT USED

When the GIC interrupt bypass is in effect, such as after reset, the external nFIQ signal bypasses the interrupt distributor logic and directly drives the interrupt request to the corresponding processor.

When a processor uses the GIC rather than the external nFIQ signal, by enabling its own CPU interface, the nFIQ signal is treated like other interrupt lines and uses ID28. The interrupt is active-low level-sensitive.

Secure physical timer event (PPI1)

This is the event generated from the secure physical timer and uses ID29. The interrupt is level-sensitive.

Non-secure physical timer event (PPI2)

This is the event generated from the non-secure physical timer and uses ID30. The interrupt is level-sensitive.

Legacy nIRQ signal (PPI3) - NOT USED

When the GIC interrupt bypass is in effect, such as after reset, the external nIRQ signal bypasses the interrupt distributor logic and directly drives the interrupt request to the corresponding processor.

When a processor uses the GIC rather than the external nIRQ signal, by enabling its own CPU interface, the nIRQ signal is treated like other interrupt lines and uses ID31. The interrupt is active-low level-sensitive.

Virtual timer event (PPI4)

This is the event generated from the virtual timer and uses ID27. The interrupt is level-sensitive.

Hypervisor timer event (PPI5)

This is the event generated from the physical timer in hypervisor mode and uses ID26. The interrupt is level-sensitive.

Virtual maintenance interrupt (PPI6)

The virtualization extensions support in the Arm Generic Interrupt Controller Architecture Specification, permits for a maintenance interrupt to be generated under several conditions. The virtual maintenance interrupt uses ID25. The interrupt is level-sensitive.

22.4.3 Shared peripheral interrupts (SPI)

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

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

22.4.4 Interrupt priority formats

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

22.5 GIC distributor (GICD)

The GIC distributor (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 GICD_IPRIORITYRx, GICD_ITARGETSRx, GICD_CPENDSGIRx, and GICD_SPENDSGIRx registers are byte-accessible and halfword-accessible.

All other registers are word-accessible.

22.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.ENABLEGRP1ENABLEGRP0
rwrw
ST logo
ST logo

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

22.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.ENABLE
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

22.5.3 GICD interrupt controller type register (GICD_TYPER)

Address offset: 0x004

Reset value: 0x0000 FC28

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

Returns the number of LSPIs that the interrupt controller contains (0b1111 = 31 LSPIs, these are the interrupts of IDs 32-62).

Bit 10 SECURITYEXTN: security extension

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 processors interfaces

Indicates the number of implemented processors interfaces in the GIC (0b001 = 2 processors)

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

Indicates the number of interrupts that the GIC supports (0b01000 = Up to 288 interrupts, 256 external interrupts)

22.5.4 GICD implementer identification register (GICD_IIDR)

Address offset: 0x008

Reset value: 0x0100 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]: product ID of the GIC

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

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

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

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

22.5.5 GICD interrupt group register x (GICD_IGROUPRx)

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

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 of interrupts

22.5.6 GICD interrupt set-enable register (GICD_ISENABLER0)

Address offset: 0x100

Reset value: 0b0000 000x xxxx xxxx 1111 1111 1111 1111

For interrupts ID = 0 to ID = 31

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

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

22.5.7 GICD interrupt set-enable register x (GICD_ISENABLERx)

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

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

22.5.8 GICD interrupt clear-enable register (GICD_ICENABLER0)

Address offset: 0x180

Reset value: 0b0000 000x 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

22.5.9 GICD interrupt clear-enable register x (GICD_ICENABLERx)

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

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

22.5.10 GICD interrupt set-pending register x (GICD_ISPENDRx)

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

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

22.5.11 GICD interrupt clear-pending register x (GICD_ICPENDRx)

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

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

22.5.12 GICD interrupt set-active register x (GICD_ISACTIVERx)

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

Reset value: 0x0000 0000

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

Bit_RangeField_NameDescriptionAccessReservedMaskValueTypeModeStateResetOffsetAddressRegisterSectionPage
313029282726252423 ISACTIVERx[31:16]22212019181716
rsrsrsrsrsrsrsrsrsrsrsrsrsrsrsrs
151413121110987 ISACTIVERx[15:0]6543210
rsrsrsrsrsrsrsrsrsrsrsrsrsrsrsrs
rsBits 31:0ISACTIVERx[31:0]: interrupt set-active x
313029282726252423 ICACTIVERx[31:16]22212019181716
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1
151413121110987 ICACTIVERx[15:0]6543210
rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1rc_w1
rc_w1Bits 31:0ICACTIVERx[31:0]: interrupt clear-active x
31302928272625242322212019181716
31PRIORITY3[4:0]Res.Res.Res.PRIORITY2[4:0]Res.Res.Res.
rwrwrwrwrwrwrwrwrwrw
1514131211109876543210
15PRIORITY1[4:0]Res.Res.Res.PRIORITY0[4:0]Res.Res.Res.
rwrwrwrwrwrwrwrwrwrw
rwBits 31:27PRIORITY3[4:0]:priority for interrupt ID = x * 4 + 3
rwBits 23:19PRIORITY2[4:0]:priority for interrupt ID = x * 4 + 2

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

22.5.13 GICD interrupt clear-active register x (GICD_ICACTIVERx)

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

Reset value: 0x0000 0000

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

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

22.5.14 GICD interrupt priority register x (GICD_IPRIORITYRx)

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

Reset value: 0x0000 0000

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.

22.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, 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(s) 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(s) 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(s) 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(s) target for interrupt ID = x*4

22.5.16 GICD interrupt processor target register x (GICD_ITARGETSRx)

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

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(s) 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(s) 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(s) 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(s) target for interrupt ID = x*4

22.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:30 INT_CONFIG15[1:0]: interrupt config for interrupt ID = 15

Bits 29:28 INT_CONFIG14[1:0]: interrupt config for interrupt ID = 14

Bits 27:26 INT_CONFIG13[1:0]: interrupt config for interrupt ID = 13

Bits 25:24 INT_CONFIG12[1:0]: interrupt config for interrupt ID = 12

Bits 23:22 INT_CONFIG11[1:0]: interrupt config for interrupt ID = 11

Bits 21:20 INT_CONFIG10[1:0]: interrupt config for interrupt ID = 10

Bits 19:18 INT_CONFIG9[1:0]: interrupt config for interrupt ID = 9

Bits 17:16 INT_CONFIG8[1:0]: interrupt config for interrupt ID = 8

Bits 15:14 INT_CONFIG7[1:0]: interrupt config for interrupt ID = 7

Bits 13:12 INT_CONFIG6[1:0]: interrupt config for interrupt ID = 6

Bits 11:10 INT_CONFIG5[1:0]: interrupt config for interrupt ID = 5

Bits 9:8 INT_CONFIG4[1:0]: interrupt config for interrupt ID = 4

Bits 7:6 INT_CONFIG3[1:0]: interrupt config for interrupt ID = 3

Bits 5:4 INT_CONFIG2[1:0]: interrupt config for interrupt ID = 2

Bits 3:2 INT_CONFIG1[1:0]: interrupt config for interrupt ID = 1

Bits 1:0 INT_CONFIG0[1:0]: interrupt config for interrupt ID = 0

22.5.18 GICD interrupt configuration register (GICD_ICFGR1)

Address offset: 0xC04

Reset value: 0b0101 0101 0101 01xx 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:30 INT_CONFIG15[1:0]: interrupt config for interrupt ID = 31

Bits 29:28 INT_CONFIG14[1:0]: interrupt config for interrupt ID = 30

Bits 27:26 INT_CONFIG13[1:0]: interrupt config for interrupt ID = 29

Bits 25:24 INT_CONFIG12[1:0]: interrupt config for interrupt ID = 28

Bits 23:22 INT_CONFIG11[1:0]: interrupt config for interrupt ID = 27

Bits 21:20 INT_CONFIG10[1:0]: interrupt config for interrupt ID = 26

Bits 19:18 INT_CONFIG9[1:0]: interrupt config for interrupt ID = 25

Bits 17:16 INT_CONFIG8[1:0]: interrupt config for interrupt ID = 24

Bits 15:14 INT_CONFIG7[1:0]: interrupt config for interrupt ID = 23

Bits 13:12 INT_CONFIG6[1:0]: interrupt config for interrupt ID = 22

Bits 11:10 INT_CONFIG5[1:0]: interrupt config for interrupt ID = 21

Bits 9:8 INT_CONFIG4[1:0]: interrupt config for interrupt ID = 20

Bits 7:6 INT_CONFIG3[1:0]: interrupt config for interrupt ID = 19

Bits 5:4 INT_CONFIG2[1:0]: interrupt config for interrupt ID = 18

Bits 3:2 INT_CONFIG1[1:0]: interrupt config for interrupt ID = 17

Bits 1:0 INT_CONFIG0[1:0]: interrupt config for interrupt ID = 16

22.5.19 GICD interrupt configuration register x (GICD_ICFGRx)

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

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:30 INT_CONFIG15[1:0]: interrupt config for interrupt ID = x*16+15

Bits 29:28 INT_CONFIG14[1:0]: interrupt config for interrupt ID = x*16+14

Bits 27:26 INT_CONFIG13[1:0]: interrupt config for interrupt ID = x*16+13

Bits 25:24 INT_CONFIG12[1:0]: interrupt config for interrupt ID = x*16+12

Bits 23:22 INT_CONFIG11[1:0]: interrupt config for interrupt ID = x*16+11

Bits 21:20 INT_CONFIG10[1:0]: interrupt config for interrupt ID = x*16+10

Bits 19:18 INT_CONFIG9[1:0]: interrupt config for interrupt ID = x*16+9

Bits 17:16 INT_CONFIG8[1:0]: interrupt config for interrupt ID = x*16+8

Bits 15:14 INT_CONFIG7[1:0]: interrupt config for interrupt ID = x*16+7

Bits 13:12 INT_CONFIG6[1:0]: interrupt config for interrupt ID = x*16+6

Bits 11:10 INT_CONFIG5[1:0]: interrupt config for interrupt ID = x*16+5

Bits 9:8 INT_CONFIG4[1:0]: interrupt config for interrupt ID = x*16+4

Bits 7:6 INT_CONFIG3[1:0]: interrupt config for interrupt ID = x*16+3

Bits 5:4 INT_CONFIG2[1:0]: interrupt config for interrupt ID = x*16+2

Bits 3:2 INT_CONFIG1[1:0]: interrupt config for interrupt ID = x*16+1

Bits 1:0 INT_CONFIG0[1:0]: interrupt config for interrupt ID = x*16

22.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.

22.5.21 GICD shared peripheral interrupt register x (GICD_SPISRx)

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

Reset value: 0x0000 0000

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

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

Bits 31:0 SPISRx[31:0]: shared peripheral interrupt

22.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
ST logo
ST logo

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

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

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

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

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

Bit 15 NSATT: non-secure attribute

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

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

The value of this field 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).

22.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_PENDING3[1:0]Res.Res.Res.Res.Res.Res.SGI_CLEAR_PENDING2[1:0]
rwrwrwrw
ST logo
ST logo
1514131211109876543210
Res.Res.Res.Res.Res.Res.SGI_CLEAR_PENDING1[1:0]Res.Res.Res.Res.Res.Res.SGI_CLEAR_PENDING0[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 [x*4+3] 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 [x*4+3] 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 [x*4+2] 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 [x*4+2] 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_CLEAR_PENDING1[1:0]: clear-pending state for SGI [x*4+1]

Writing a 1 clears the pending state of the SGI [x*4+1] 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 [x*4+1] 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 [x*4] 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 [x*4] is pending, from the corresponding source processor, on the reading processor.

22.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_PENDING3[1:0]Res.Res.Res.Res.Res.Res.SGI_SET_PENDING2[1:0]
rwrwrwrw
1514131211109876543210
Res.Res.Res.Res.Res.Res.SGI_SET_PENDING1[1:0]Res.Res.Res.Res.Res.Res.SGI_SET_PENDING0[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 [x * 4 + 3] for the corresponding source processor.

Writing a 0 has no effect.

Reading a bit identifies whether the SGI [x * 4 + 3] 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 [x * 4 + 2] for the corresponding source processor.

Writing a 0 has no effect.

Reading a bit identifies whether the SGI [x * 4 + 2] 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 [x*4+1] for the corresponding source processor.

Writing a 0 has no effect.

Reading a bit identifies whether the SGI [x*4+1] 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 [x*4] for the corresponding source processor.

Writing a 0 has no effect.

Reading a bit identifies whether the SGI [x*4] is pending, from the corresponding source processor, on the reading processor.

22.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

22.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 ID5 to ID7

22.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

22.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

22.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

22.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

22.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

22.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

22.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

22.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

22.5.35 GICD register map

Table 120. GICD register map and reset values

OffsetRegister313029282726252423222120191817161514131211109876543210
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 value000
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 value00
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]ITLINESNUMBER[4:0]
Reset value111111100101000

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

OffsetRegister313029282726252423222120191817161514131211109876543210
0x008GICD_IIDRPRODUCTID[7:0]Res.Res.Res.Res.VARIANT[3:0]REVISION[3:0]IMPLEMENTER[11:0]
Reset value000000010000001010000111011
0x00C - 0x07CReservedReserved
0x080 to 0x0A0GICD_IGROUPR0 to GICD_IGROUPR8IGROUPRx[31:0]
Reset value0000000000000000000000000000000
0x0A4 - 0x0FCReservedReserved
0x100GICD_ISENABLER0ISENABLER0[31:0]
Reset value0000000xxxxxxxxx111111111111111
0x104 to 0x120GICD_ISENABLER1 to GICD_ISENABLER8ISENABLERx[31:0]
Reset value0000000000000000000000000000000
0x124 - 0x17CReservedReserved
0x180GICD_ICENABLER0ICENABLER0[31:0]
Reset value0000000xxxxxxxxx111111111111111
0x184 to 0x1A0GICD_ICENABLER1 to GICD_ICENABLER8ICENABLERx[31:0]
Reset value0000000000000000000000000000000
0x1A4 - 0x1FCReservedReserved
0x200 to 0x220GICD_ISPENDR0 to GICD_ISPENDR8ISPENDRx[31:0]
Reset value0000000000000000000000000000000
0x224 - 0x27CReservedReserved
0x280 to 0x2A0GICD_ICPENDR0 to GICD_ICPENDR8ICPENDRx[31:0]
Reset value0000000000000000000000000000000
0x2A4 - 0x2FCReservedReserved
0x300 to 0x320GICD_ISACTIVER0 to GICD_ISACTIVER8ISACTIVERx[31:0]
Reset value0000000000000000000000000000000
0x324 - 0x37CReservedReserved
0x380 to 0x3A0GICD_ICACTIVER0 to GICD_ICACTIVER8ICACTIVERx[31:0]
Reset value0000000000000000000000000000000
0x3A4 - 0x3FCReservedReserved
0x400 to 0x51CGICD_IPRIORITYR0 to GICD_IPRIORITYR71PRIORITY3[4:0]Res.Res.Res.PRIORITY2[4:0]Res.Res.PRIORITY1[4:0]
Reset value0000000000000000000000000000000
0x520 - 0x7FCReservedReserved

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

OffsetRegister313029282726252423222120191817161514131211109876543210
0x800 to 0x81CGICD_ITARGETSR0 to GICD_ITARGETSR7Res.Res.Res.Res.Res.Res.CPU_TARGETS3[1:0]Res.Res.Res.Res.Res.Res.CPU_TARGETS2[1:0]Res.Res.Res.Res.Res.Res.CPU_TARGETS1[1:0]Res.Res.Res.Res.Res.Res.CPU_TARGETS0[1:0]
Reset valuexxxxxxxx
0x820 to 0x91CGICD_ITARGETSR8 to GICD_ITARGETSR71Res.Res.Res.Res.Res.Res.CPU_TARGETS3[1:0]Res.Res.Res.Res.Res.Res.CPU_TARGETS2[1:0]Res.Res.Res.Res.Res.Res.CPU_TARGETS1[1:0]Res.Res.Res.Res.Res.Res.CPU_TARGETS0[1:0]
Reset value00000000
0x920 - 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
0xC08 to 0xC44GICD_ICFGR2 to GICD_ICFGR17INT_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
0xC48 - 0xCFCReservedReserved
0xD00GICD_PPISRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.PPI3PPI2PPI1PPI0PPI4PPI5PPI6Res.Res.Res.Res.Res.Res.Res.Res.Res.
Reset value0000000
0xD04 to 0xD20GICD_SPISR0 to GICD_SPISR7SPISRx[31:0]
Reset value00000000000000000000000000000000
0xD24 - 0xEFCReservedReserved

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

OffsetRegister313029282726252423222120191817161514131211109876543210
0xF00GICD_SGIRRes.Res.Res.Res.Res.Res.TARGETLISTFILTER[1:0]Res.Res.Res.Res.Res.Res.CPUTARGETLIST[1:0]NSATTRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.SGIINTID[3:0]
Reset valuexxxxxxxxx
0xF04 - 0xF0CReservedReserved
0xF10 to 0xF1CGICD_CPENDSGIR0 to GICD_CPENDSGIR3Res.Res.Res.Res.Res.Res.SGI_CLEAR_PENDING3[1:0]Res.Res.Res.Res.Res.Res.SGI_CLEAR_PENDING2[1:0]Res.Res.Res.Res.Res.Res.SGI_CLEAR_PENDING1[1:0]Res.Res.Res.Res.Res.Res.SGI_CLEAR_PENDING0[1:0]
Reset value00000000
0xF20 to 0xF2CGICD_SPENDSGIR0 to GICD_SPENDSGIR3Res.Res.Res.Res.Res.Res.SGI_SET_PENDING3[1:0]Res.Res.Res.Res.Res.Res.SGI_SET_PENDING2[1:0]Res.Res.Res.Res.Res.Res.SGI_SET_PENDING1[1:0]Res.Res.Res.Res.Res.Res.SGI_SET_PENDING0[1:0]
Reset value00000000
0xF30 - 0xFCCReservedReserved
0xFD0GICD_PIDR4PIDR4[31:0]
Reset value00000000000000000000000000000100
0xFD4 to 0xFDCGICD_PIDR5 to GICD_PIDR7PIDRx[31:0]
Reset value00000000000000000000000000000000
0xFE0GICD_PIDR0PIDR0[31:0]
Reset value00000000000000000000000000100101
0xFE4GICD_PIDR1PIDR1[31:0]
Reset value00000000000000000000001011010000
0xFE8GICD_PIDR2PIDR2[31:0]
Reset value00000000000000000000000001010111
0xFECGICD_PIDR3PIDR3[31:0]
Reset value00000000000000000000000000000000
0xFF0GICD_CIDR0CIDR0[31:0]
Reset value00000000000000000000000000110101
0xFF4GICD_CIDR1CIDR1[31:0]
Reset value00000000000000000000001111000000
0xFF8GICD_CIDR2CIDR2[31:0]
Reset value00000000000000000000000000010101
0xFFCGICD_CIDR3CIDR3[31:0]
Reset value00000000000000000000000101100011
Refer to Section 2.5 on page 153 for the register boundary addresses.

22.6 GIC CPU Interface (GICC)

Each CPU interface provides a programming interface for:

All the registers are word-accessible.

22.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.EOIMODENSEOIMODESIRQBYPDISGRP1FIQBYPDISGRP1IRQBYPDISGRP0FIQBYPDISGRP0CBPRFIQENACKCTLENABLEGRP1ENABLEGRP0
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

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.

Bit 7 FIQBYPDISGRP1: Alias of FIQBYPDISGRP1 from the non-secure copy of this register.

Bit 6 IRQBYPDISGRP0: IRQ bypass disable for group 0 interrupts

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

Bit 5 FIQBYPDISGRP0: FIQ bypass disable for group 0 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.

Bit 4 CBPR: BPR control

Controls whether the GICC_BPR provides common control to group 0 and group 1 interrupts.

Bit 3 FIQEN: FIQ enable for group 0 interrupts

Controls whether the CPU interface signals group 0 interrupts to a target processor using the FIQ or the IRQ signal.

The GIC always signals group 1 interrupts using the IRQ signal.

Bit 2 ACKCTL: Acknowledge control

When the highest priority pending interrupt is a group 1 interrupt, this bit determines both:

Arm deprecates use of this bit and strongly recommends using a software model where this bit is set to 0.

Bit 1 ENABLEGRP1: Enable group 1 interrupts

It enables for the signaling of group 1 interrupts by the CPU interface to the connected processor.

Bit 0 ENABLEGRP0: Enable group 0 interrupts

It enables for the signaling of group 0 interrupts by the CPU interface to the connected processor.

22.6.2 GICC control non-secure access register (GICC_CTLRNS)

Address offset: 0x000

Reset value: 0bxxxx xxxx xxxx xxxx xxxx xx0x x00x xxx0

31302928272625242322212019181716
Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.
1514131211109876543210
Res.Res.Res.Res.Res.Res.EOIMODENSRes.Res.IRQBYPDISGRP1FIQBYPDISGRP1Res.Res.Res.Res.ENABLEGRP1
rwrwrwrw

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

Bit 9 EOIMODENS: EOI mode for non- secure accesses

It controls the behavior of accesses to GICC_EOIR and GICC_DIR registers.

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

Bit 6 IRQBYPDISGRP1: IRQ bypass for group 1 interrupts

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

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

Enable for the signaling of group 1 interrupts by the CPU interface to the connected processor.

22.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 field, the interface signals the interrupt to the processor.

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

22.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]:

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

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

Address offset: 0x008

Reset value: 0bxxxx 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]:

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

22.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]
rrrrrrrrrr

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

Bit 10 CPUID:

For SGIs in a multiprocessor implementation, this field 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]: The interrupt ID

22.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 field contains the CPUID value from the corresponding GICC_IAR access.

Bits 9:0 EOINTID[9:0]:

It contains the interrupt ID value from the corresponding GICC_IAR access.

22.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.
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.

22.6.9 GICC highest priority pending interrupt register (GICC_HPPIR)

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 the PENDINTID field returns the ID of an SGI, this field 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

22.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 GICC_CTLR.CBPR is set to 0, 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 field 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. Minimun value is 3.

22.6.11 GICC aliased interrupt acknowledge register (GICC_AIAR)

Address offset: 0x020

Reset value: 0bx xxx xxx xxx xxx 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 field 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

22.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 the GICC_CTLR.EOImodeS bit 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 field must contain the CPUID value from the corresponding GICC_AIAR, or non-secure GICC_IAR, access.

Bits 9:0 EOINTID[9:0]:

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

ST logo
ST logo

22.6.13 GICC aliased highest priority pending interrupt register (GICC_AHPPIR)

Address offset: 0x028

Reset value: 0bxxxx xxxx xxxx xxx0 0011 1111 1111

ICC_AHPPIR 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 field returns the ID of an SGI, this field 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

It 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.

22.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

22.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

22.6.16 GICC interface identification register (GICC_IIDR)

Address offset: 0x0FC

Reset value: 0x0102 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]: architecture version of the GIC

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

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

22.6.17 GICC deactivate interrupt register (GICC_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]
wwwwwwwwww

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

Bit 10 CPUID:CPU ID

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

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

22.6.18 GICC register map

Table 121. GICC register map and reset values

OffsetRegister313029282726252423222120191817161514131211109876543210
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
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

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

OffsetRegister313029282726252423222120191817161514131211109876543210
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.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.CPUIDEOINTID[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 value00000001000000100001010000111011
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.5 on page 153 for the register boundary addresses.

22.7 GIC virtual interface control, common (GICH)

The virtual interface control registers are management registers. Configuration software on the Cortex-A7 MPCore processor must ensure they are accessible only by a hypervisor or similar software.

All the registers are word-accessible.

22.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.VGRP1DIEVGRP1EIEVGRP0DIEVGRP0EIENPIELRENPIEUIEEN
rwrwrwrwrwrwrwrw

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

Counts the number of EOIs received that do not have a corresponding entry in the list registers. The virtual CPU interface increments this field automatically when a matching EOI is received. When EOIs that 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 field is 31, this field wraps to 0.

The maintenance interrupt is asserted whenever this field is non-zero and the LRENPIE bit is set to 1.

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

Bit 7 VGRP1DIE: virtual machine disable group 1 interrupt enable

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

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

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

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

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

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.

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

22.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

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

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

Indicates the number of implemented list registers, minus one.

For example, 0x3 means 4 list registers.

22.7.3 GICH virtual machine control register (GICH_VMCR)

Address offset: 0x008

Reset value: 0b0000 0xxx 0100 11x1 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.VMCBPRVMFIQENVMACKCTLVMGRP1ENVMGRP0EN
rwrwrwrwrwrw

22.7.4 GICH maintenance interrupt status register (GICH_MISR)

Address offset: 0x010

Reset value: 0bxxxx xxxx xxxx xxxx xxxx xxxx 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.Res.Res.VGRP1DVGRP1EVGRP0DVGRP0ENPLRENUEOI
rrrrrrrr

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

Bit 2 LRENP: 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, that is, 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 is asserting an EOI Interrupt., which means at least one bit in GICH_EISRx=1.

22.7.5 GICH end of interrupt status register (GICH_EISR0)

Address offset: 0x020

Reset value: 0bxxxx 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

22.7.6 GICH empty list status register (GICH_ELSR0)

Address offset: 0x030

Reset value: 0bxxxx 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

22.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

22.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

Indicates whether this virtual interrupt is a hardware interrupt, meaning that it corresponds to a physical interrupt. Deactivation of the virtual interrupt also causes the deactivation of the physical interrupt with the ID that the PhysicalID field indicates.

Bit 30 GRP1: 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

The function of this bit depends on the value of the GICH_LR.HW bit, as follows.

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

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

If the value of PHYSICALID is 0-15, or 1020-1023, behavior is unpredictable.

If the value of PHYSICALID is 16-31, this field 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 the VM interrupt acknowledge register, GICV_IAR. Each valid interrupt stored in the list registers must have a unique virtual ID for that virtual CPU interface.

If the value of VIRTUALID is 1020-1023, behavior is unpredictable.

22.7.9 GICH register map

Table 122. GICH register map and reset values

OffsetRegister313029282726252423222120191817161514131211109876543210
0x000GICH_HCREOICOUNT[4:0]Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.VGRP1DIEVGRP1EIEVGRP0DIEVGRP0EIENPLRENPIEUIEEN
Reset value00000000000000
0x004GICH_VTRPRIBITS[2:0]PREBITS[2:0]Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.LISTREGS[4:0]
Reset value10010000011
0x008GICH_VMCRVMPRIMASK[4:0]Res.Res.Res.VMBP[2:0]VMABP[2:0]Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.VMCBPRVMFIQENVMACKCTLVMGRP1ENVMGRP0EN
Reset value0000001001100000
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.VGRP1DVGRP1EVGRP0DVGRP0ENPLRENPIECEOI
Reset value00000000
0x014 - 0x01CReservedReserved
0x020GICH_EISR0EISR0[31:0]
Reset valuexxxxxxxxxxxxxxxxxxxxxxxxxxxx0000
0x024 - 0x02CReservedReserved
ST logo
ST logo

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

OffsetRegister313029282726252423222120191817161514131211109876543210
0x030GICH_ELSR0ELSR0[31:0]
Reset valuexxxxxxxxxxxxxxxxxxxxxxxxxxx1111
0x034 - 0x0ECReservedReserved
0x0F0GICH_APR0APR0[31:0]
Reset value0000000000000000000000000000000
0x0F4 - 0x0FCReservedReserved
0x100 to 0x10CGICH_LR0 to GICH_LR3HWGRP1STATE[1:0]PRIORITY[4:0]ResResResPHYSICALID[9:0]VIRTUALID[9:0]
Reset value0000000000000000000000000000

Refer to Section 2.5 on page 153 for the register boundary addresses.

22.8 GIC virtual CPU interface (GICV)

The virtual CPU interface forwards virtual interrupts to a connected Cortex-A7 MPCore processor, subject to the normal GIC handling and prioritization rules. The virtual interface control registers control virtual CPU interface operation, and in particular, the virtual CPU interface uses the contents of the List registers to determine when to signal virtual interrupts.

When a processor accesses the virtual CPU interface, the list registers are updated.

All the registers are word-accessible.

22.8.1 GICV virtual machine control register (GICV_CTLR)

Address offset: 0x000

Reset value: 0bxxxx 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.EOIMODERes.Res.Res.Res.CBPRFIQENACKCTLENABLEGRP1ENABLEGRP0
rwrwrwrwrwrw

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

Bit 9 EOIMODE: end of interrupt mode

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

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

Bit 4 CBPR: BPR control

Controls whether the GICV_BPR controls both group 0 and group 1 virtual interrupts.

Bit 3 FIQEN: FIQ enable for group 0 interrupts

Controls whether interrupts marked as group 0 are presented as virtual FIQs.

Bit 2 ACKCTL: acknowledge control

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

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

Bit 1 ENABLEGRP1:

Enables the signaling of group 1 virtual interrupts by the virtual CPU interface to the virtual machine.

Bit 0 ENABLEGRP0:

Enables the signaling of group 0 virtual interrupts by the virtual CPU interface to the virtual machine.

22.8.2 GICV VM priority mask register (GICV_PMR)

Address offset: 0x004

Reset value: 0bxxxx xxxx xxxx xxxx xxxx xxxx 0000 0xxx

RM0442 22.8.2column_2Bit 9 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0EOIMODE CBPR FIQEN ACKCTL machine. machine.registers. : BPR control ENABLEGRP1 ENABLEGRP0: :column_7column_8column_9column_10column_11column_12column_13column_14column_15column_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.PRIORITY[4:0]Res.Res.Res.
rwrwrwrwrw
Bits 7:3PRIORITY[4:0]: priority mask level for the virtual CPU interface

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 the value in this register can be signaled to the processor

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

22.8.3 GICV VM binary point register (GICV_BPR)

Address offset: 0x008

Reset value: 0bxxxx 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]:

The value of this field 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.

22.8.4 GICV VM interrupt acknowledge register (GICV_IAR)

Address offset: 0x00C

Reset value: 0bxxxx 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 the GICH_LRx.HW bit is set to 0, indicating that the interrupt is triggered in software, then CPUID of the GICH_LRx, that indicate the CPU ID, are returned in the GICV_IAR.CPUID field. Otherwise GICV_IAR.CPUID field reads as zero.

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

22.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.CPUIDEOIINTID[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 EOIINTID[9:0]:

If the GICH_LRx.HW bit in the matching list register is set to 1, indicating a hardware interrupt, then a deactivate request is sent to the physical Distributor, identifying the Physical ID from the corresponding field in the list register.

22.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.

22.8.7 GICV VM highest priority pending interrupt register (GICV_HPPIR)

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 bit=0, this field contains the CPUID value for that 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

22.8.8 GICV VM aliased binary point register (GICV_ABPR)

Address offset: 0x01C

Reset value: 0bxxxx 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]:

The value of this field 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.

22.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]
rrrrrrrrrr

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

Bit 10 CPUID: If the GICH_LRx.HW bit is set to 0, indicating that the interrupt is triggered in software, then CPUID of the GICH_LRx, that indicate the CPU ID, are returned in the GICV_AIAR.CPUID field. Otherwise GICV_AIAR.CPUID field reads as zero..

Bits 9:0 INTERRUPT_ID[9:0]: The interrupt ID. If the GICH_LRx.Grp1 bit is 0, the interrupt is Group 0. The spurious interrupt ID 1023 is returned and the interrupt is not acknowledged.

22.8.10 GICV VM aliased end of interrupt register (GICV_AEOIR)

Address offset: 0x024

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 field contains the CPUID value from the corresponding GICV_IAR access.

Bits 9:0 EOINTID[9:0]:

If the GICH_LRx.HW bit in the matching list register is set to 1, indicating a hardware interrupt, then a deactivate request is sent to the physical Distributor, identifying the Physical ID from the corresponding field in the list register.

22.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 the GICH_LRx.HW bit in the matching List register is set to 1, indicating a hardware interrupt, then 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]:

The virtual interrupt ID of the highest-priority pending virtual interrupt, if that virtual interrupt is a group 1 virtual interrupt. Otherwise, the spurious virtual interrupt ID, 1023.

22.8.12 GICV VM active priority register (GICV_APR0)

Address offset: 0x0D0

Reset value: 0x0000 0000

The GICV_APR0 is an alias of GICH_APR.

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

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

22.8.13 GICV VM CPU interface identification register (GICV_IIDR)

Address offset: 0x0FC

Reset value: 0x0102 143B

The GICV_IIDR is an alias of GICC_IIDR.

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

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

22.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
CPUIDINTERRUPT_ID[9:0]
Res.Res.Res.Res.Res.wwwwwwwwww

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

Bit 10 CPUID: This field identifies the processor that requested the interrupt.

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

ST logo
ST logo

22.8.15 GICV register map

Table 123. GICV register map and reset values

OffsetRegister313029282726252423222120191817161514131211109876543210
0x000GICV_CTLRRes.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.Res.EOIMODERes.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.
Reset value00000
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.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.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.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.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.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.CPUIDPENDINTID[9:0]
Reset value01111111111
0x02C - 0x0CCReservedReserved
ST logo
ST logo

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

OffsetRegister313029282726252423222120191817161514131211109876543210
0x0D0GICV_APR0APR0[31:0]
Reset value00000000000000000000000000000000
0x0D4 - 0x0F8ReservedReserved
0x0FCGICV_IIDRIIDR[31:0]
Reset value00000001000000100001010000111011
0x100 - 0xFFCReservedReserved
0x1000GICV_DIRRes.Res.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 valuexxxxxxxxxx

Refer to Section 2.5 on page 153 for the register boundary addresses.