[PATCH v3 4/5] arm64: mm: support additional contiguous kernel mapping region sizes

Catalin Marinas catalin.marinas at arm.com
Fri Oct 14 03:28:54 PDT 2016


On Wed, Oct 12, 2016 at 12:23:44PM +0100, Ard Biesheuvel wrote:
> Extend the basic support for kernel mappings using contiguous regions
> by adding support for contiguous PUDs (4k granule only), either as a
> discrete level or folded into the PGDs. In the same way, handle folded
> PMDs so that contiguous PMDs (for 16k and 64k granule kernels) will
> work as expected for 2 levels of translation as well.
> 
> Signed-off-by: Ard Biesheuvel <ard.biesheuvel at linaro.org>
> ---
>  arch/arm64/include/asm/pgtable-hwdef.h |  6 +++
>  arch/arm64/mm/mmu.c                    | 40 +++++++++++++++++++-
>  2 files changed, 44 insertions(+), 2 deletions(-)

After looking at this patch, I concluded it's not worth hassle as no
hardware I'm aware of currently would benefit from it.  We can revisit
it in the future if we hear otherwise.

-- 
Catalin



More information about the linux-arm-kernel mailing list