Skip to content

Commit

Permalink
tests: thread_stack: armv8 without SPLIM
Browse files Browse the repository at this point in the history
Need to test MPU guards on ARMv8.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
  • Loading branch information
Andrew Boie authored and nashif committed Jul 31, 2020
1 parent 8067127 commit e90873f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
CONFIG_ZTEST=y
CONFIG_INIT_STACKS=y
CONFIG_THREAD_STACK_INFO=y
CONFIG_APPLICATION_DEFINED_SYSCALL=y
CONFIG_TEST_USERSPACE=y
CONFIG_BUILTIN_STACK_GUARD=n
CONFIG_MPU_STACK_GUARD=y
6 changes: 6 additions & 0 deletions tests/kernel/threads/thread_stack/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,9 @@ tests:
kernel.threads.thread_stack:
tags: kernel security userspace ignore_faults
min_ram: 36
kernel.threads.armv8m_mpu_stack_guard:
min_ram: 36
extra_args: CONF_FILE=prj_armv8m_mpu_stack_guard.conf
filter: CONFIG_ARM_MPU and CONFIG_ARMV8_M_MAINLINE
arch_whitelist: arm
tags: kernel security userspace ignore_faults

0 comments on commit e90873f

Please sign in to comment.