ARM: mm: HugeTLB support for LPAE systems.
authorCatalin Marinas <catalin.marinas@arm.com>
Fri, 8 Feb 2013 15:01:20 +0000 (17:01 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Wed, 20 Feb 2013 21:19:25 +0000 (23:19 +0200)
commit51e54ca0d07ef786e1602de1d90b71860ebd4ab3
treea101bcfe8781d53327a7b43eb014a502a3c47eb1
parentf0e152d4b904a9c2dc68628de5c6ede3c570c45b
ARM: mm: HugeTLB support for LPAE systems.

This patch adds support for hugetlbfs based on the x86 implementation.
It allows mapping of 2MB sections (see Documentation/vm/hugetlbpage.txt
for usage). The 64K pages configuration is not supported (section size
is 512MB in this case).

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
[steve.capper@arm.com: symbolic constants replace numbers in places.
Split up into multiple files, to simplify future non-LPAE support,
removed huge_pmd_share code, as this is very rarely executed].
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Steve Capper <steve.capper@arm.com>
arch/arm/Kconfig
arch/arm/include/asm/hugetlb-3level.h [new file with mode: 0644]
arch/arm/include/asm/hugetlb.h [new file with mode: 0644]
arch/arm/include/asm/pgtable-3level.h
arch/arm/mm/Makefile
arch/arm/mm/dma-mapping.c
arch/arm/mm/fsr-3level.c
arch/arm/mm/hugetlbpage.c [new file with mode: 0644]