arm64: mm: add set_memory_valid()
authorAKASHI Takahiro <takahiro.akashi@linaro.org>
Mon, 3 Apr 2017 02:24:33 +0000 (11:24 +0900)
committerCatalin Marinas <catalin.marinas@arm.com>
Wed, 5 Apr 2017 17:27:53 +0000 (18:27 +0100)
commit9b0aa14e31555b64460c1ee323d0e19bf891958b
treec9e6e6d94ec4f891b240b97d95c1fec2aaaa959e
parent764b51ead10d5f428cb5f167bf98e336bdc23f8c
arm64: mm: add set_memory_valid()

This function validates and invalidates PTE entries, and will be utilized
in kdump to protect loaded crash dump kernel image.

Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/cacheflush.h
arch/arm64/mm/pageattr.c