From ca823d2c881d9d8c7db364de7e362d2e75ad55df Mon Sep 17 00:00:00 2001 From: Achin Gupta Date: Sun, 2 Feb 2014 13:04:00 +0000 Subject: [PATCH] Increase coherent stack sizes This patch increases coherent stack size for both debug and release builds in order to accommodate stack-heavy printf() and extended EL3 functionality Change-Id: I30ef30530a01517a97e63d703873374828c09f20 --- plat/common/aarch64/platform_helpers.S | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/plat/common/aarch64/platform_helpers.S b/plat/common/aarch64/platform_helpers.S index 3cea9f62..563f1989 100644 --- a/plat/common/aarch64/platform_helpers.S +++ b/plat/common/aarch64/platform_helpers.S @@ -42,11 +42,14 @@ .weak plat_report_exception /* ----------------------------------------------------- - * 512 bytes of coherent stack for each cpu + * Coherent stack sizes for debug and release builds * ----------------------------------------------------- */ -#define PCPU_DV_MEM_STACK_SIZE 0x200 - +#if DEBUG +#define PCPU_DV_MEM_STACK_SIZE 0x400 +#else +#define PCPU_DV_MEM_STACK_SIZE 0x300 +#endif .section .text, "ax"; .align 3 -- 2.30.2