The following testcases fail with qemu_cortex_r5 caused by main stack overflow. tests/kernel/workq/work_queue/kernel.workqueue tests/ztest/base/testing.ztest.base.verbose_0_userspace The main stack size is 512 for qemu_cortex_r5(a Cortex-A/R aarch32 platform) with CONFIG_ZTEST=y. The Cortex-M platforms are already set to 1024. Likely 512 will fail for most aarch32 platforms soon. Fix the issue by increasing the CONFIG_MAIN_STACK_SIZE to 1024. Also, remove 'default 1024 if TEST_ARM_CORTEX_M' since Cortex-M is no longer an exception of default 1024. Signed-off-by: Jaxson Han <jaxson.han@arm.com> |
||
|---|---|---|
| .. | ||
| include | ||
| paging | ||
| atomic_c.c | ||
| banner.c | ||
| CMakeLists.txt | ||
| compiler_stack_protect.c | ||
| condvar.c | ||
| device.c | ||
| errno.c | ||
| events.c | ||
| fatal.c | ||
| futex.c | ||
| idle.c | ||
| init.c | ||
| Kconfig | ||
| Kconfig.vm | ||
| kheap.c | ||
| mailbox.c | ||
| main_weak.c | ||
| mem_domain.c | ||
| mem_slab.c | ||
| mempool.c | ||
| mmu.c | ||
| msg_q.c | ||
| mutex.c | ||
| pipes.c | ||
| poll.c | ||
| queue.c | ||
| sched.c | ||
| sem.c | ||
| smp.c | ||
| stack.c | ||
| system_work_q.c | ||
| thread.c | ||
| timeout.c | ||
| timer.c | ||
| usage.c | ||
| userspace_handler.c | ||
| userspace.c | ||
| version.c | ||
| work.c | ||
| xip.c | ||