Skip to content

Commit

Permalink
vmtest.config: disable HIGHMEM and use VMSPLIT_2G for Arm default and…
Browse files Browse the repository at this point in the history
… alternative kernels

We can only test Arm virtual address translation for user addresses
without high memory. Keep VMSPLIT_3G and HIGHMEM for the tiny flavor for
completeness.

Signed-off-by: Omar Sandoval <[email protected]>
  • Loading branch information
osandov committed Sep 25, 2024
1 parent 80c7b80 commit 0041b67
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions vmtest/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
)

KERNEL_ORG_COMPILER_VERSION = "12.2.0"
VMTEST_KERNEL_VERSION = 30
VMTEST_KERNEL_VERSION = 31


BASE_KCONFIG = """
Expand Down Expand Up @@ -293,8 +293,6 @@ class Architecture(NamedTuple):
debian_arch="armhf",
kernel_config="""
CONFIG_NR_CPUS=8
CONFIG_HIGHMEM=y
CONFIG_ARM_LPAE=n
# Debian armhf userspace assumes EABI and VFP.
CONFIG_AEABI=y
CONFIG_VFP=y
Expand All @@ -312,9 +310,21 @@ class Architecture(NamedTuple):
CONFIG_STACKPROTECTOR_PER_TASK=n
""",
kernel_flavor_configs={
"default": """
CONFIG_VMSPLIT_2G=y
CONFIG_HIGHMEM=n
CONFIG_ARM_LPAE=n
""",
"alternative": """
CONFIG_VMSPLIT_2G=y
CONFIG_HIGHMEM=n
CONFIG_ARM_LPAE=y
""",
"tiny": """
CONFIG_VMSPLIT_3G=y
CONFIG_HIGHMEM=y
CONFIG_ARM_LPAE=n
""",
},
kernel_org_compiler_name="arm-linux-gnueabi",
qemu_options=("-M", "virt,highmem=off"),
Expand Down

0 comments on commit 0041b67

Please sign in to comment.