tests: enable mpu gap filling tests for arch which supports it

* arc supports mpu gap filling now.
* these tests can be used for any arch which supports mpu gap
  filling.

Signed-off-by: Wayne Ren <wei.ren@synopsys.com>
This commit is contained in:
Wayne Ren 2019-11-28 16:37:52 +08:00 committed by Johan Hedberg
commit f67592f2e6
2 changed files with 2 additions and 4 deletions

View file

@ -4,8 +4,7 @@ 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
kernel.memory_protection.gap_filling:
filter: CONFIG_ARCH_HAS_USERSPACE and CONFIG_MPU_REQUIRES_NON_OVERLAPPING_REGIONS
extra_args: CONFIG_MPU_GAP_FILLING=y
min_ram: 32

View file

@ -3,8 +3,7 @@ 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
kernel.memory_protection.userspace.gap_filling:
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