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

Ahmad Fatoum a.fatoum at pengutronix.de
Mon Feb 23 03:44:23 PST 2026


Hello Sascha,

On 2/23/26 12:40 PM, Sascha Hauer wrote:
> 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?

I had asked for it in this form, so I can get a look at how much
duplication there is and how to go from there.

I haven't come around yet to review it though, but I will try to find
the time soon.

Cheers,
Ahmad

> 
> 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