diff options
author | Ard Biesheuvel | 2020-07-07 12:07:08 +0200 |
---|---|---|
committer | Tom Rini | 2020-07-29 08:43:40 -0400 |
commit | 6a690c47ce16459d267e10d1d4ac337d3e3d04cc (patch) | |
tree | d478633f6fe652b814c2441c6dfea10c5f844792 /configs/qemu_arm_defconfig | |
parent | 6744ace5b3831939e1f4f487946a6f823df00e1d (diff) |
arm: qemu: enable LPAE on 32-bit
QEMU's mach-virt machine only supports selecting CPU models that
implement the virtualization extensions, and are therefore guaranteed
to support LPAE as well.
Initially, QEMU would not allow emulating these CPUs running in HYP
mode (or EL2, for AArch64), but today, it also contains a complete
implementation of the virtualization extensions themselves.
This means we could be running U-Boot in HYP mode, in which case the
LPAE long descriptor page table format is the only format that is
supported. If we are not running in HYP mode, we can use either.
So let's enable CONFIG_ARMV7_LPAE for qemu_arm_defconfig so that we
get the best support for running with the MMU and caches enabled at
any privilege level.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Acked-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'configs/qemu_arm_defconfig')
-rw-r--r-- | configs/qemu_arm_defconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configs/qemu_arm_defconfig b/configs/qemu_arm_defconfig index a8473988bd7..75bdce7708c 100644 --- a/configs/qemu_arm_defconfig +++ b/configs/qemu_arm_defconfig @@ -1,5 +1,6 @@ CONFIG_ARM=y CONFIG_ARM_SMCCC=y +CONFIG_ARMV7_LPAE=y CONFIG_ARCH_QEMU=y CONFIG_ENV_SIZE=0x40000 CONFIG_ENV_SECT_SIZE=0x40000 |