arm64: Move post_ttbr_update_workaround to C code
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 30 Jan 2018 04:02:03 +0000 (12:02 +0800)
committerHaibo Chen <haibo.chen@nxp.com>
Thu, 12 Apr 2018 10:46:25 +0000 (18:46 +0800)
commit70a1c418dd09f458c625118a2207108fc18c6d3b
tree22823d69d2e2788c25b18786972d261745651989
parent85a245214ea180aa189a7590f0cb5df43834d00b
arm64: Move post_ttbr_update_workaround to C code

commit 95e3de3590e3 upstream.

We will soon need to invoke a CPU-specific function pointer after changing
page tables, so move post_ttbr_update_workaround out into C code to make
this possible.

Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Alex Shi <alex.shi@linaro.org>
Conflicts:
don't include PAN related changes
arch/arm64/include/asm/assembler.h
arch/arm64/kernel/entry.S
arch/arm64/mm/proc.S
arch/arm64/mm/context.c
arch/arm64/mm/proc.S