arm-trusted-firmware/drivers/arm/gic/v3
Andre Przywara 79d89e3da0 drivers: arm: gicv3: Allow detecting number of cores
A GICv3 interrupt controller will be instantiated for a certain number
of cores. This will result in the respective number of GICR frames. The
last frame will have the "Last" bit set in its GICR_TYPER register.

For platforms with a topology unknown at build time (the Arm FPGAs, for
instance), we need to learn the number of used cores at runtime, to size
the GICR region in the devicetree accordingly.

Add a generic function that iterates over all GICR frames until it
encounters one with the "Last" bit set. It returns the number of cores
the GICv3 has been configured for.

Change-Id: I79f033c50dfc1c275aba7122725868811abcc4f8
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
2020-09-29 13:28:25 +01:00
..
arm_gicv3_common.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
gic-x00.c GIC-600: Fix MISRA-2012 defects 2020-07-29 16:51:05 +00:00
gic600_multichip.c GIC-600: Fix include ordering according to the coding style 2019-11-19 11:38:33 +00:00
gic600_multichip_private.h gic multichip: add support for clayton 2020-04-07 18:41:13 +05:30
gicdv3_helpers.c TF-A GICv3 driver: Add extended PPI and SPI range 2020-04-06 16:27:54 +01:00
gicrv3_helpers.c TF-A GICv3 driver: Change API for GICR_IPRIORITYR accessors 2020-04-07 18:40:44 +01:00
gicv3.mk GICv3: GIC-600: Detect GIC-600 at runtime 2020-06-09 17:05:49 +00:00
gicv3_helpers.c drivers: arm: gicv3: Allow detecting number of cores 2020-09-29 13:28:25 +01:00
gicv3_main.c TF-A GICv3 driver: Change API for GICR_IPRIORITYR accessors 2020-04-07 18:40:44 +01:00
gicv3_private.h TF-A GICv3 driver: Change API for GICR_IPRIORITYR accessors 2020-04-07 18:40:44 +01:00