arm64: Revert "mm: provide idmap pointer to cpu_replace_ttbr1()"
authorArd Biesheuvel <ardb@kernel.org>
Wed, 14 Feb 2024 12:29:10 +0000 (13:29 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 16 Feb 2024 12:42:36 +0000 (12:42 +0000)
commite0f92f0d1b512cf11b918c5828e73d5df5b667cc
tree2f6adbcb7d693841b75ac2b23f749a4f298d4dfb
parentba5b0333a847ac026725122e085b2fea9e1674bc
arm64: Revert "mm: provide idmap pointer to cpu_replace_ttbr1()"

This reverts commit 1682c45b920643c, which is no longer needed now that
we create the permanent kernel mapping directly during early boot.

This is a RINO (revert in name only) given that some of the code has
moved around, but the changes are straight-forward.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20240214122845.2033971-69-ardb+git@google.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/mmu_context.h
arch/arm64/mm/kasan_init.c
arch/arm64/mm/mmu.c