From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Wed, 29 Jul 2020 09:43:44 -0400 Subject: [PATCH v3 2/5] arm: qemu: enable LPAE on 32-bit In-Reply-To: <20200707100711.7446-3-ardb@kernel.org> References: <20200707100711.7446-1-ardb@kernel.org> <20200707100711.7446-3-ardb@kernel.org> Message-ID: <20200729134344.GP6965@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Acked-by: Heinrich Schuchardt 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: