arm-trusted-firmware/include/drivers/arm
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
..
cryptocell cryptocell: add support for Cryptocell 713 2020-04-01 22:14:36 +03:00
css fconf: Clean confused naming between TB_FW and FW_CONFIG 2020-06-24 08:44:26 +01:00
fvp Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__ 2019-08-01 13:14:12 -07:00
arm_gicv3_common.h Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
cci.h Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__ 2019-08-01 13:14:12 -07:00
ccn.h Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__ 2019-08-01 13:14:12 -07:00
gic600_multichip.h gic/gic600: add support for multichip configuration 2019-11-11 23:40:23 +05:30
gic_common.h TF-A: Add GICv4 extension for GIC driver 2020-04-07 11:17:58 +01:00
gicv2.h Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__ 2019-08-01 13:14:12 -07:00
gicv3.h drivers: arm: gicv3: Allow detecting number of cores 2020-09-29 13:28:25 +01:00
nic_400.h Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
pl011.h pl011: Use generic console_t data structure 2020-02-25 09:34:38 +00:00
pl061_gpio.h Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
sbsa.h drivers/sbsa: add sbsa watchdog driver 2019-04-17 18:24:35 +05:30
scu.h drivers: add a driver for snoop control unit 2020-01-03 10:44:28 +00:00
smmu_v3.h SMMUv3: Abort DMA transactions 2019-05-10 16:09:19 +01:00
sp804_delay_timer.h Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
sp805.h Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__ 2019-08-01 13:14:12 -07:00
tzc380.h tzc: remove deprecated types 2019-04-03 14:55:18 +01:00
tzc400.h Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__ 2019-08-01 13:14:12 -07:00
tzc_common.h tzc: remove deprecated types 2019-04-03 14:55:18 +01:00
tzc_dmc500.h Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__ 2019-08-01 13:14:12 -07:00
tzc_dmc620.h TZ DMC620 driver: Fix MISRA-2012 defects 2020-07-27 15:04:14 +01:00