]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit64a049d6a7e8c5c1e2873fa16a5a637dae0ed3eb
tree7372fb318865faaf2e59f33163a6c3436b4c14c3
parentbcfe7d8d9d3aab29365616e0bc002e5c15180cd3
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