Skip to content

Commit

Permalink
fix: bump up the stack size
Browse files Browse the repository at this point in the history
This patch increases the per-CPU stack to 5 pages.
This is due to increased stack usage when
RMM_FPU_USE_AT_REL2=ON causing stack overflow.

Signed-off-by: Soby Mathew <soby.mathew@arm.com>
Change-Id: I8b98f87b70dd7186f0a3b0a75504aed89bb53122
  • Loading branch information
soby-mathew committed Jun 30, 2023
1 parent 4ffbd87 commit f276531
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ arm_config_option(
NAME RMM_NUM_PAGES_PER_STACK
HELP "Number of pages to use per CPU stack"
TYPE STRING
DEFAULT 4
DEFAULT 5
ADVANCED)

target_compile_definitions(rmm-runtime
Expand Down

0 comments on commit f276531

Please sign in to comment.