coreboot-kgpe-d16/payloads/libpayload/arch/arm64
Julius Werner 2e0bca011a arm64: Bump exception stack size to 2KB
To avoid trampling over interesting exception artifacts on the real
stack, our arm64 systems switch to a separate exception stack when
entering an exception handler. We don't want that to use up too much
SRAM so we just set it to 512 bytes. I mean it just prints a bunch of
registers, how much stack could it need, right?

Quite a bit it turns out. The whole vtxprintf() call stack goes pretty
deep, and aarch64 generally seems to be very generous with stack space.
Just the varargs handling seems to require 128 bytes for some reason,
and the other stuff adds up too. In the end the current implementation
takes 1008 bytes, so bump the exception stack size to 2K to make sure it
fits.

Change-Id: I910be4c5f6b29fae35eb53929c733a1bd4585377
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/37464
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
2019-12-05 17:58:05 +00:00
..
Kconfig arm64: xcompile: Add support for A53 erratum 843419 2015-08-28 06:46:09 +00:00
Makefile.inc libpayload: arm64: Conform to new coreboot lib_helpers.h and assume EL2 2018-10-12 20:14:54 +00:00
cache.c libpayload: arm64: Conform to new coreboot lib_helpers.h and assume EL2 2018-10-12 20:14:54 +00:00
coreboot.c
cpu.S
dummy_media.c cbfs: define libpayload_init_default_cbfs_media weakly 2015-07-06 09:42:12 +02:00
exception.c arm64: Bump exception stack size to 2KB 2019-12-05 17:58:05 +00:00
exception_asm.S libpayload: arm64: Make exception handling closer to arm32 2018-10-12 20:17:28 +00:00
gdb.c libpayload: arm64: Add GDB support 2018-10-12 20:17:48 +00:00
head.S libpayload: arm64: Make exception handling closer to arm32 2018-10-12 20:17:28 +00:00
libpayload.ldscript libpayload: arm64: Make exception handling closer to arm32 2018-10-12 20:17:28 +00:00
main.c libpayload: Align main() data types 2019-04-05 22:37:19 +00:00
memcpy.S
memmove.S
memset.S
mmu.c libpayload: arm64: Conform to new coreboot lib_helpers.h and assume EL2 2018-10-12 20:14:54 +00:00
selfboot.c
sysinfo.c
timer.c
util.S
virtual.c