arm-trusted-firmware/plat
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
..
allwinner allwinner: H6: Fix GPIO and CCU memory map addresses 2020-03-23 11:04:46 +00:00
amlogic meson: Use generic console_t data structure 2020-02-25 09:34:38 +00:00
arm Merge "Fix the build error for dualroot chain of trust." into integration 2020-05-28 08:06:57 +00:00
brcm Cleanup the code for TBBR CoT descriptors 2020-05-19 05:05:19 +01:00
common TF-A: Fix BL31 linker script error 2020-05-31 11:40:44 +01:00
hisilicon Cleanup the code for TBBR CoT descriptors 2020-05-19 05:05:19 +01:00
imx Merge "plat: imx8mn: Add imx8mn basic support" into integration 2020-05-27 08:41:57 +00:00
intel/soc Merge "intel: Enable EMAC PHY in Intel FPGA platform" into integration 2020-02-28 10:51:49 +00:00
layerscape LS 16550: Use generic console_t data structure 2020-02-25 09:34:38 +00:00
marvell TF-A GICv3 driver: Introduce makefile 2020-03-30 10:54:01 +00:00
mediatek linker_script: move .data section to bl_common.ld.h 2020-04-25 20:09:08 +09:00
nvidia/tegra Merge "Tegra: enable SDEI handling" into integration 2020-05-21 21:24:22 +00:00
qemu Cleanup the code for TBBR CoT descriptors 2020-05-19 05:05:19 +01:00
renesas/rcar rcar_gen3: plat: Zero-terminate the string in unsigned_num_print() 2020-04-28 11:23:37 +02:00
rockchip TF-A GICv3 driver: Introduce makefile 2020-03-30 10:54:01 +00:00
rpi Cleanup the code for TBBR CoT descriptors 2020-05-19 05:05:19 +01:00
socionext Cleanup the code for TBBR CoT descriptors 2020-05-19 05:05:19 +01:00
st plat/stm32mp1: fdt helpers for secure aware gpio bank 2020-05-11 14:30:03 +02:00
ti/k3 TF-A GICv3 driver: Introduce makefile 2020-03-30 10:54:01 +00:00
xilinx Merge "Create separate header for ARM specific SMCCC defines" into integration 2020-03-31 14:16:40 +00:00