arm-trusted-firmware/common
Andre Przywara 9f7bab42a1 fdt: Add function to adjust GICv3 redistributor size
We now have code to detect the CPU topology at runtime, and can also
populate the CPU nodes in a devicetree accordingly. This is used by the
ARM FPGA port, for instance.
But also a GICv3 compatible interrupt controller provides MMIO frames
per core, so the size of this region needs to be adjusted in the DT,
to match the number of cores as well.

Provide a generic function to find the GICv3 interrupt controller in
the DT, then adjust the "reg" entry to match the number of detected
cores. Since the size of the GICR frame per cores differs between
GICv4 and GICv3, this size is supplied as a parameter to the function.
The caller should determine the applicable value by either hardcoding
it or by observing GICR_TYPER.VLPIS.

Change-Id: Ic2a6445c2c5381a36bf24263f52fcbefad378c05
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
2020-09-29 13:28:25 +01:00
..
aarch32 ARMv7 may not support Virtualization Extensions 2017-11-08 14:38:33 +01:00
aarch64 Fix crash dump for lower EL 2020-03-06 14:17:35 +00:00
backtrace Add wrapper for AT instruction 2020-08-18 10:49:27 +01:00
bl_common.c fconf: Add TBBR disable_authentication property 2020-02-07 13:51:32 +00:00
desc_image_load.c SPMD: extract SPMC DTB header size from SPMD 2020-05-13 08:08:39 +02:00
fdt_fixup.c fdt: Add function to adjust GICv3 redistributor size 2020-09-29 13:28:25 +01:00
fdt_wrappers.c plat/fvp: Support for extracting UART serial node info from DT 2020-05-20 21:41:50 -05:00
image_decompress.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
runtime_svc.c Remove support for the SMC Calling Convention 2.0 2019-01-30 16:01:49 +00:00
tf_log.c Remove references to old project name from common files 2019-07-10 11:13:00 +01:00