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>
Fri, 9 May 2014 11:02:47 +0000 (12:02 +0100)
commit597173f474cb5a28b4c9a1dbf865ac002c7e5010
treecd908cc2fd8cc0d886db69648f79cd791461de16
parent7308560ac76c63d199d51490680b70451b471d62
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]