ARM64: mm: HugeTLB support.
authorSteve Capper <steve.capper@linaro.org>
Wed, 10 Apr 2013 12:48:00 +0000 (13:48 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 15 May 2014 18:59:49 +0000 (19:59 +0100)
commit3b5a3a6a3716d107d0c5854eab70a4eac40534a9
tree24a9bfbb5c908883ec848710aa99270a860472e7
parentd2ddf5c8634f83ee20f26b7b911a48e77e77912c
ARM64: mm: HugeTLB support.

Add huge page support to ARM64, different huge page sizes are
supported depending on the size of normal pages:

PAGE_SIZE is 4KB:
   2MB - (pmds) these can be allocated at any time.
1024MB - (puds) usually allocated on bootup with the command line
         with something like: hugepagesz=1G hugepages=6

PAGE_SIZE is 64KB:
 512MB - (pmds) usually allocated on bootup via command line.

Signed-off-by: Steve Capper <steve.capper@linaro.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/Kconfig
arch/arm64/include/asm/hugetlb.h [new file with mode: 0644]
arch/arm64/include/asm/pgtable-hwdef.h
arch/arm64/include/asm/pgtable.h
arch/arm64/mm/Makefile
arch/arm64/mm/fault.c
arch/arm64/mm/hugetlbpage.c [new file with mode: 0644]