arm-trusted-firmware/plat/common
Alexei Fedorov 34dd1e96fd TF-A: Fix BL31 linker script error
The patch fixes BL31 linker script error
"Init code ends past the end of the stacks"
for platforms with number of CPUs less than 4,
which is caused by __STACKS_END__ address being
lower than __INIT_CODE_END__.
The modified BL31 linker script detects such cases
and increases the total amount of stack memory,
setting __STACKS_END__ = __INIT_CODE_END__, and
CPUs' stacks are calculated by BL31 'plat_get_my_stack'
function accordingly. For platforms with more than 4 CPUs
and __INIT_CODE_END__ < __STACKS_END__ stack memory does not
increase and allocated CPUs' stacks match the existing
implementation.
The patch removes exclusion of PSCI initialization
functions from the reclaimed .init section in
'arm_reclaim_init.ld.S' script, which increases the
size of reclaimed memory region.

Change-Id: I927773e00dd84e1ffe72f9ee534f4f2fc7b6153c
Signed-off-by: Alexei Fedorov <Alexei.Fedorov@arm.com>
2020-05-31 11:40:44 +01:00
..
aarch32 Remove MULTI_CONSOLE_API flag and references to it 2019-06-28 10:52:48 +01:00
aarch64 TF-A: Fix BL31 linker script error 2020-05-31 11:40:44 +01:00
tbbr Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
plat_bl1_common.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
plat_bl_common.c Implement SMCCC_ARCH_SOC_ID SMC call 2020-03-17 10:14:35 +00:00
plat_gicv2.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
plat_gicv3.c Switch AARCH32/AARCH64 to __aarch64__ 2019-08-01 13:45:03 -07:00
plat_log_common.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
plat_psci_common.c Flush dcache when storing timestamp 2020-03-27 09:41:12 -05:00
plat_spmd_manifest.c SPCI is now called PSA FF-A 2020-05-25 08:55:36 +00:00
ubsan.c Add UBSAN support and handlers 2019-09-11 14:15:54 +01:00