[PATCH v3 2/5] arm: qemu: enable LPAE on 32-bit

Tom Rini trini at konsulko.com
Wed Jul 29 15:43:44 CEST 2020


On Tue, Jul 07, 2020 at 12:07:08PM +0200, Ard Biesheuvel wrote:

> 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 at kernel.org>
> Acked-by: Heinrich Schuchardt <xypron.glpk at gmx.de>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200729/9b996501/attachment.sig>


More information about the U-Boot mailing list