arm-trusted-firmware/include/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
..
tbbr dualroot: add chain of trust for Platform owned SPs 2020-08-12 14:30:31 +01:00
asm_macros_common.S Add support for Branch Target Identification 2019-05-24 14:44:45 +01:00
bl_common.h bl_common: add BL_END macro 2020-01-24 22:34:25 +09:00
bl_common.ld.h linker_script: move .rela.dyn section to bl_common.ld.h 2020-06-29 15:51:50 +09:00
debug.h Fix crash dump for lower EL 2020-03-06 14:17:35 +00:00
desc_image_load.h Add helper to parse BL31 parameters (both versions) 2019-07-23 20:25:34 -07:00
ep_info.h Switch AARCH32/AARCH64 to __aarch64__ 2019-08-01 13:45:03 -07:00
fdt_fixup.h fdt: Add function to adjust GICv3 redistributor size 2020-09-29 13:28:25 +01:00
fdt_wrappers.h rpi4/fdt: Move dtb_size() function to fdt_wrappers.h 2020-07-17 11:35:24 +01:00
image_decompress.h Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
interrupt_props.h Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__ 2019-08-01 13:14:12 -07:00
nv_cntr_ids.h dtsi: Update the nv-counter node in the device tree 2020-08-28 09:50:25 +00:00
param_header.h Replace __ASSEMBLY__ with compiler-builtin __ASSEMBLER__ 2019-08-01 13:14:12 -07:00
romlib.h Standardise header guards across codebase 2018-11-08 10:20:19 +00:00
runtime_svc.h Switch AARCH32/AARCH64 to __aarch64__ 2019-08-01 13:45:03 -07:00