arm64: mm: add functions to walk tables in fixmap
authorMark Rutland <mark.rutland@arm.com>
Mon, 25 Jan 2016 11:45:07 +0000 (11:45 +0000)
committerAlex Shi <alex.shi@linaro.org>
Wed, 11 May 2016 14:19:14 +0000 (22:19 +0800)
commit9568281b80e91974c04f6aaac50ecfd4dcf31df1
tree1e7e1527ef350d5412999210f2bf3df5bb487238
parent0061f781a0fe83adfe76f78f89653cbd41249a93
arm64: mm: add functions to walk tables in fixmap

As a preparatory step to allow us to allocate early page tables from
unmapped memory using memblock_alloc, add new p??_{set,clear}_fixmap*
functions which can be used to walk page tables outside of the linear
mapping by using fixmap slots.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Tested-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Tested-by: Jeremy Linton <jeremy.linton@arm.com>
Cc: Laura Abbott <labbott@fedoraproject.org>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
(cherry picked from commit 961faac114819a01e627fe9c9c82b830bb3849d4)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
arch/arm64/include/asm/fixmap.h
arch/arm64/include/asm/pgtable.h