arm64: mm: provide idmap pointer to cpu_replace_ttbr1()
authorArd Biesheuvel <ardb@kernel.org>
Fri, 24 Jun 2022 15:06:40 +0000 (17:06 +0200)
committerWill Deacon <will@kernel.org>
Fri, 24 Jun 2022 16:18:10 +0000 (17:18 +0100)
commit1682c45b920643cbde31d8a5b7ca7c2be92d6928
treef0d89108446f8450763a349a5d5a4c83f9457dbe
parent723d3a8ed1726081ca40f602073c53de28eebb93
arm64: mm: provide idmap pointer to cpu_replace_ttbr1()

In preparation for changing the way we initialize the permanent ID map,
update cpu_replace_ttbr1() so we can use it with the initial ID map as
well.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20220624150651.1358849-11-ardb@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/include/asm/mmu_context.h
arch/arm64/kernel/cpufeature.c
arch/arm64/kernel/suspend.c
arch/arm64/mm/kasan_init.c
arch/arm64/mm/mmu.c