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 <Ioannis.Glaropoulos@nordicsemi.no>
This commit is contained in:
Ioannis Glaropoulos 2019-10-28 06:54:54 +01:00 committed by Andrew Boie
parent a1f5db0e0b
commit 40fbff6c8f
2 changed files with 12 additions and 0 deletions

View File

@ -4,3 +4,9 @@ tests:
filter: CONFIG_ARCH_HAS_USERSPACE
platform_exclude: twr_ke18f
tags: kernel security userspace ignore_faults
kernel.memory_protection.armv8m_gap_filling:
arch_whitelist: arm
filter: CONFIG_ARCH_HAS_USERSPACE and CONFIG_MPU_REQUIRES_NON_OVERLAPPING_REGIONS
extra_args: CONFIG_MPU_GAP_FILLING=y
min_ram: 32
tags: kernel security userspace ignore_faults

View File

@ -3,3 +3,9 @@ tests:
filter: CONFIG_ARCH_HAS_USERSPACE
tags: kernel security userspace ignore_faults
min_ram: 36
kernel.memory_protection.userspace.armv8m_gap_filling:
arch_whitelist: arm
filter: CONFIG_ARCH_HAS_USERSPACE and CONFIG_MPU_REQUIRES_NON_OVERLAPPING_REGIONS
extra_args: CONFIG_MPU_GAP_FILLING=y
tags: kernel security userspace ignore_faults
min_ram: 36