arm64: add support for ioremap() block mappings
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 16 Feb 2016 12:52:35 +0000 (13:52 +0100)
committerAlex Shi <alex.shi@linaro.org>
Wed, 11 May 2016 14:19:26 +0000 (22:19 +0800)
commit37cbc7db8e4fa9b66e15cf8661383a6b51c9a3e7
treeed3831ee755289ee078e9dd8de8af1e6628d4219
parent2894f328e3bbb808606c82fa1e2ea300089df728
arm64: add support for ioremap() block mappings

This wires up the existing generic huge-vmap feature, which allows
ioremap() to use PMD or PUD sized block mappings. It also adds support
to the unmap path for dealing with block mappings, which will allow us
to unmap the __init region using unmap_kernel_range() in a subsequent
patch.

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
(cherry picked from commit 324420bf91f60582bb481133db9547111768ef17)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
Documentation/features/vm/huge-vmap/arch-support.txt
arch/arm64/Kconfig
arch/arm64/include/asm/memory.h
arch/arm64/mm/mmu.c