aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMingyang Sun <mingyang.sun@arm.com>2019-08-12 11:03:20 +0800
committerMingyang Sun <mingyang.sun@arm.com>2019-08-13 13:45:48 +0800
commite348ebe969816d44b550bbae8cda19ae7ceb684e (patch)
tree4a6ef5f3795037a0793a9fe15c2b8b0a94e29956
parentd6d5bed3838d6914ef1d9ac02f61e292c3aca609 (diff)
downloadtrusted-firmware-m-e348ebe969816d44b550bbae8cda19ae7ceb684e.tar.gz
Test: Increase IPC test service partition stack size
Stack size of IPC service test partition is not enough in some extreme cases. Increase its stack size to 0x220. Change-Id: I0e805a0b3e9c7d772a981ba68a4dd3e2bee689a7 Signed-off-by: Mingyang Sun <mingyang.sun@arm.com>
-rw-r--r--platform/ext/common/armclang/tfm_common_s.sct2
-rw-r--r--platform/ext/common/gcc/tfm_common_s.ld2
-rw-r--r--test/test_services/tfm_ipc_service/tfm_ipc_service_partition.yaml2
3 files changed, 3 insertions, 3 deletions
diff --git a/platform/ext/common/armclang/tfm_common_s.sct b/platform/ext/common/armclang/tfm_common_s.sct
index d950e47b9..151532a77 100644
--- a/platform/ext/common/armclang/tfm_common_s.sct
+++ b/platform/ext/common/armclang/tfm_common_s.sct
@@ -286,7 +286,7 @@ LR_CODE S_CODE_START {
}
#if defined (TFM_PSA_API)
- TFM_SP_IPC_SERVICE_TEST_STACK +0 ALIGN 128 EMPTY 0x0200 {
+ TFM_SP_IPC_SERVICE_TEST_STACK +0 ALIGN 128 EMPTY 0x0220 {
}
#endif
#endif /* TFM_PARTITION_TEST_CORE_IPC */
diff --git a/platform/ext/common/gcc/tfm_common_s.ld b/platform/ext/common/gcc/tfm_common_s.ld
index e9f2f59a4..d4852bc05 100644
--- a/platform/ext/common/gcc/tfm_common_s.ld
+++ b/platform/ext/common/gcc/tfm_common_s.ld
@@ -784,7 +784,7 @@ SECTIONS
#if defined (TFM_PSA_API)
.TFM_SP_IPC_SERVICE_TEST_STACK : ALIGN(128)
{
- . += 0x0200;
+ . += 0x0220;
} > RAM
Image$$TFM_SP_IPC_SERVICE_TEST_STACK$$ZI$$Base = ADDR(.TFM_SP_IPC_SERVICE_TEST_STACK);
Image$$TFM_SP_IPC_SERVICE_TEST_STACK$$ZI$$Limit = ADDR(.TFM_SP_IPC_SERVICE_TEST_STACK) + SIZEOF(.TFM_SP_IPC_SERVICE_TEST_STACK);
diff --git a/test/test_services/tfm_ipc_service/tfm_ipc_service_partition.yaml b/test/test_services/tfm_ipc_service/tfm_ipc_service_partition.yaml
index e12423bab..8640dc938 100644
--- a/test/test_services/tfm_ipc_service/tfm_ipc_service_partition.yaml
+++ b/test/test_services/tfm_ipc_service/tfm_ipc_service_partition.yaml
@@ -11,7 +11,7 @@
"priority": "HIGH",
"id": "0x00000007",
"entry_point": "ipc_service_test_main",
- "stack_size": "0x0200",
+ "stack_size": "0x0220",
"heap_size": "0",
"secure_functions": [
],