arm64: head: pass ID map root table address to __enable_mmu()
authorArd Biesheuvel <ardb@kernel.org>
Fri, 24 Jun 2022 15:06:39 +0000 (17:06 +0200)
committerWill Deacon <will@kernel.org>
Fri, 24 Jun 2022 16:18:09 +0000 (17:18 +0100)
commit723d3a8ed1726081ca40f602073c53de28eebb93
tree7372fb318865faaf2e59f33163a6c3436b4c14c3
parent2e945851e26836c0f2d34be3763ddf55870e49fe
arm64: head: pass ID map root table address to __enable_mmu()

We will be adding an initial ID map that covers the entire kernel image,
so we will pass the actual ID map root table to use to __enable_mmu(),
rather than hard code it.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20220624150651.1358849-10-ardb@kernel.org
Signed-off-by: Will Deacon <will@kernel.org>
arch/arm64/kernel/head.S
arch/arm64/kernel/sleep.S