arm-trusted-firmware/drivers
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
..
allwinner plat/allwinner: Only enable DRIVEVBUS if really needed 2020-08-17 11:13:59 +01:00
amlogic meson: Use generic console_t data structure 2020-02-25 09:34:38 +00:00
arm drivers: arm: gicv3: Allow detecting number of cores 2020-09-29 13:28:25 +01:00
auth build_macros.mk: include assert and define loop macros 2020-09-14 09:27:53 -05:00
brcm driver: brcm: add RNG driver 2020-07-13 18:01:19 +05:30
cadence/uart/aarch64 cdns: Use generic console_t data structure 2020-02-25 09:34:38 +00:00
cfi/v2m coverity: fix MISRA violations 2020-02-18 10:47:46 -06:00
console skeletton: Use generic console_t data structure 2020-02-25 09:34:38 +00:00
coreboot/cbmem_console/aarch64 coreboot: Use generic base address 2020-02-25 09:34:38 +00:00
delay_timer include: move MHZ_TICKS_PER_SEC to utils_def.h 2020-02-20 09:25:45 -08:00
gpio Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
imx imx: Use generic console_t data structure 2020-02-25 09:34:38 +00:00
intel/soc/stratix10/io io: change seek offset to signed long long 2020-01-10 21:14:57 +01:00
io Merge "io_fip: return -ENFILE when a file is already open" into integration 2020-07-21 21:41:51 +00:00
marvell plat: marvell: ap807: implement workaround for errata-id 3033912 2020-08-11 12:21:30 +02:00
measured_boot Select the Log Level for the Event Log Dump on Measured Boot at build time. 2020-09-22 14:54:50 +01:00
mentor/i2c Enable -Wlogical-op always 2019-11-19 08:53:21 -06:00
mmc mmc: increase delay between ACMD41 retries 2019-10-03 11:17:31 +02:00
mtd nand: raw_nand: fix timeout issue in nand_wait_ready 2020-09-24 09:32:23 +02:00
partition drivers: partition: support different block size 2019-09-18 18:18:20 +08:00
renesas/rcar rcar: Use generic console_t data structure 2020-02-25 09:34:38 +00:00
rpi3 rpi3: gpio: Simplify GPIO setup 2020-03-17 12:44:09 +00:00
st clk: stm32mp1: fix rcc mckprot status 2020-09-24 09:32:23 +02:00
synopsys Merge changes from topic "jc/shift-overflow" into integration 2019-07-16 10:11:27 +00:00
ti/uart 16550: Use generic console_t data structure 2020-02-25 09:34:38 +00:00
ufs drivers: ufs: Extend the delay after reset to wait for some slower chips 2019-05-13 17:11:07 -07:00