Skip to content

Commit 2263708

Browse files
keith-packardcarlescufi
authored andcommitted
tests/mem_protect: Increase MPU sizes for qemu_cortex_a53
When running with picolibc, we need more MPU resources for these tests. Get rid of picolibc malloc arena too. Signed-off-by: Keith Packard <[email protected]>
1 parent 305068a commit 2263708

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

tests/kernel/mem_protect/mem_map/boards/qemu_cortex_a53.conf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,6 @@
33

44
# Simply needs more space for the translation table
55
# for the mapping exhaustion test.
6-
CONFIG_MAX_XLAT_TABLES=16
6+
CONFIG_MAX_XLAT_TABLES=32
7+
CONFIG_MAX_DOMAIN_PARTITIONS=24
8+
CONFIG_PICOLIBC_HEAP_SIZE=0

tests/kernel/mem_protect/mem_map/boards/qemu_cortex_a53_smp.conf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@
44
# Simply needs more space for the translation table
55
# for the mapping exhaustion test.
66
CONFIG_MAX_XLAT_TABLES=32
7+
CONFIG_MAX_DOMAIN_PARTITIONS=24
8+
CONFIG_PICOLIBC_HEAP_SIZE=0

tests/kernel/mem_protect/mem_protect/boards/qemu_cortex_a53.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33

44
# Simply needs more space for the translation table
55
# for the mapping exhaustion test.
6-
CONFIG_MAX_XLAT_TABLES=18
6+
CONFIG_MAX_XLAT_TABLES=24

0 commit comments

Comments
 (0)