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>
Fri, 11 Nov 2016 08:40:25 +0000 (16:40 +0800)
commit510fbd87a7a3cb2d7cbc81dfa10f9a02b6d301ef
tree8827b9cdd7fa01650e2dfe29ffc33bce58001379
parentcae587548c55fc9cdc54d8e85950ae733cd10b37
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