arm-trusted-firmware/plat/arm/board/fvp
Madhukar Pappireddy fdb9166b94 fix(fvp): disable reclaiming init code by default
In anticipation of Spectre BHB workaround mitigation patches, we
disable the RECLAIM_INIT_CODE for FVP platform. Since the spectre
BHB mitigation workarounds inevitably increase the size of the various
segments due to additional instructions and/or macros, these segments
cannot be fit in the existing memory layout designated for BL31 image.
The issue is specifically seen in complex build configs for FVP
platform. One such config has TBB with Dual CoT and test secure
payload dispatcher(TSPD) enabled. Even a small increase in individual
segment size in order of few bytes might lead to build fails due to
alignment requirements(PAGE_ALIGN to 4KB).

This is needed to workaround the following build failures observed
across multiple build configs:

aarch64-none-elf-ld.bfd: BL31 init has exceeded progbits limit.

aarch64-none-elf-ld.bfd: /work/workspace/workspace/tf-worker_ws_2/trusted_firmware/build/fvp/debug/bl31/bl31.elf section coherent_ram will not fit in region RAM
aarch64-none-elf-ld.bfd: BL31 image has exceeded its limit.
aarch64-none-elf-ld.bfd: region RAM overflowed by 4096 bytes

Change-Id: Idfab539e9a40f4346ee11eea1e618c97e93e19a1
Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com>
2022-03-16 14:20:48 -05:00
..
aarch32 fvp: pwrc: Move to drivers/ folder 2019-01-25 16:04:11 +00:00
aarch64 FVP: Remove GIC initialisation from secondary core cold boot 2019-06-05 17:46:50 +01:00
fconf fix: libc: use long for 64-bit types on aarch64 2021-11-08 14:41:17 +00:00
fdts fix(fvp): op-tee sp manifest doesn't map gicd 2022-03-09 10:40:32 +01:00
include fix(fvp): extend memory map to include all DRAM memory regions 2022-02-16 20:22:16 +01:00
sp_min build(fdt-wrappers): introduce FDT wrappers makefile 2021-10-26 12:14:28 +01:00
trp feat(rme): add Test Realm Payload (TRP) 2021-10-05 18:41:07 +02:00
tsp fvp: pwrc: Move to drivers/ folder 2019-01-25 16:04:11 +00:00
fvp_bl1_measured_boot.c refactor(measured boot): rename a macro INVALID_ID to EVLOG_INVALID_ID 2021-11-23 15:29:09 +01:00
fvp_bl1_setup.c refactor(measured_boot): remove passing of BL2 hash via device tree 2021-10-12 17:53:47 +01:00
fvp_bl2_el3_setup.c plat/arm: Sanitise includes 2019-01-25 16:04:10 +00:00
fvp_bl2_measured_boot.c fix(measured-boot): add RMM entry to event_log_metadata 2022-02-23 12:41:19 +01:00
fvp_bl2_setup.c refactor(measured boot): move image measurement to generic layer 2021-10-12 17:53:47 +01:00
fvp_bl2u_setup.c FVP: Add Delay Timer driver to BL1 and BL31 2019-08-16 14:15:59 +01:00
fvp_bl31_setup.c fix(fvp): FCONF Trace Not Shown 2022-03-10 16:03:41 +01:00
fvp_common.c refactor(fvp): avoid Measured-Boot dependency on Trusted-Boot 2022-01-11 23:14:06 +00:00
fvp_common_measured_boot.c feat(measured_boot): image hash measurement and recording in BL1 2021-10-12 17:53:48 +01:00
fvp_console.c Don't return error information from console_flush 2020-10-09 10:21:50 -05:00
fvp_def.h plat/arm: fvp: Protect GICR frames for fused/unused cores 2021-02-09 15:55:26 +00:00
fvp_err.c refactor(plat/arm): update NV flags on image load/authentication failure 2021-07-06 16:28:56 +01:00
fvp_gicv3.c plat/arm: fvp: Protect GICR frames for fused/unused cores 2021-02-09 15:55:26 +00:00
fvp_io_storage.c fix(plat/fvp): provide boot files via semihosting 2021-07-28 14:16:55 +03:00
fvp_pm.c fix(fvp): fix fvp_cpu_standby() function 2021-10-05 12:21:45 +02:00
fvp_private.h FVP: Add Delay Timer driver to BL1 and BL31 2019-08-16 14:15:59 +01:00
fvp_security.c fix(fvp): extend memory map to include all DRAM memory regions 2022-02-16 20:22:16 +01:00
fvp_stack_protector.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
fvp_topology.c plat/arm/fvp: populate pwr domain descriptor dynamically 2020-03-11 19:27:02 -05:00
fvp_trusted_boot.c plat/arm: Get the base address of nv-counters from device tree 2020-08-28 09:50:36 +00:00
jmptbl.i plat/fvp: Support for extracting UART serial node info from DT 2020-05-20 21:41:50 -05:00
platform.mk fix(fvp): disable reclaiming init code by default 2022-03-16 14:20:48 -05:00