]> 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)
commitf928142af0e56a436191018a1963713eee9a0454
tree7372fb318865faaf2e59f33163a6c3436b4c14c3
parentb325c2f7751c11aae8dd912fe65e76145c93edf8
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