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 +++ arch/arm/include/asm/mmu.h | 4 + arch/arm/include/asm/pgtable-3level-hwdef.h | 156 +++++ include/mmu.h | 2 + 8 files changed, 927 insertions(+) create mode 100644 arch/arm/cpu/mmu_lpae.c create mode 100644 arch/arm/cpu/mmu_lpae.h create mode 100644 arch/arm/include/asm/pgtable-3level-hwdef.h -- 2.43.0
