arm-trusted-firmware/plat/common/aarch64
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
..
crash_console_helpers.S console: add a flag to prepend '\r' in the multi-console framework 2019-08-19 17:00:08 +09:00
plat_common.c Enable v8.6 WFE trap delays 2020-05-19 21:49:52 +00:00
platform_helpers.S Remove deprecated plat_crash_console_* 2019-04-03 14:55:18 +01:00
platform_mp_stack.S TF-A: Fix BL31 linker script error 2020-05-31 11:40:44 +01:00
platform_up_stack.S Remove unused function symbols 2019-02-07 08:47:21 -08:00