Skip to content

Commit 40fbff6

Browse files
ioannisgandrewboie
authored andcommitted
tests: kernel: mem_protect: run tests with ARMV8-M MPU gap filling
We add a new test-case for the mem_protect and userspace tests, to test the ARMv8-M MPU driver without the skipping of full SRAM partitioning (i.e. gap filling). Signed-off-by: Ioannis Glaropoulos <[email protected]>
1 parent a1f5db0 commit 40fbff6

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

tests/kernel/mem_protect/mem_protect/testcase.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,9 @@ tests:
44
filter: CONFIG_ARCH_HAS_USERSPACE
55
platform_exclude: twr_ke18f
66
tags: kernel security userspace ignore_faults
7+
kernel.memory_protection.armv8m_gap_filling:
8+
arch_whitelist: arm
9+
filter: CONFIG_ARCH_HAS_USERSPACE and CONFIG_MPU_REQUIRES_NON_OVERLAPPING_REGIONS
10+
extra_args: CONFIG_MPU_GAP_FILLING=y
11+
min_ram: 32
12+
tags: kernel security userspace ignore_faults

tests/kernel/mem_protect/userspace/testcase.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,9 @@ tests:
33
filter: CONFIG_ARCH_HAS_USERSPACE
44
tags: kernel security userspace ignore_faults
55
min_ram: 36
6+
kernel.memory_protection.userspace.armv8m_gap_filling:
7+
arch_whitelist: arm
8+
filter: CONFIG_ARCH_HAS_USERSPACE and CONFIG_MPU_REQUIRES_NON_OVERLAPPING_REGIONS
9+
extra_args: CONFIG_MPU_GAP_FILLING=y
10+
tags: kernel security userspace ignore_faults
11+
min_ram: 36

0 commit comments

Comments
 (0)