[PATCH 0/1] Initial ARMv7-A LPAE support

Sascha Hauer s.hauer at pengutronix.de
Mon Feb 23 03:40:31 PST 2026


Hi Renaud,

On Tue, Feb 03, 2026 at 02:19:44PM +0000, Renaud Barbier wrote:
> The LPAE support allows to map physical address above the 32-bit space in
> the ARMv7-A processor to a 32-bit virtual address.
> 
> This patch set was tested on a LS1021A-IOT. Later, a patch to the PCIe
> designware driver will be provided to prove the remapping of 40-bit PA to
> 32-bit VA.
> 
> This patch does not include an update of the mmuinfo command.
> 
> Renaud Barbier (1):
>   arm: mmu: initial LPAE support
> 
>  arch/arm/Kconfig                            |   9 +
>  arch/arm/configs/layerscape_v7_defconfig    |   1 +
>  arch/arm/cpu/Makefile                       |   4 +
>  arch/arm/cpu/mmu_lpae.c                     | 650 ++++++++++++++++++++
>  arch/arm/cpu/mmu_lpae.h                     | 101 +++

The patch duplicates most of the existing MMU support. Can we do better?

Sascha

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list