]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: entry: Allow the trampoline text to occupy multiple pages
authorJames Morse <james.morse@arm.com>
Thu, 18 Nov 2021 15:04:32 +0000 (15:04 +0000)
committerJames Morse <james.morse@arm.com>
Tue, 15 Feb 2022 17:40:28 +0000 (17:40 +0000)
commit8b99ba7c0f90d761a134451addcd429105b815df
tree90b8435c09994d03fff2d8d26d131c503efdd700
parent0e3210dbc0b36f150ef6e170608f940d9c0afede
arm64: entry: Allow the trampoline text to occupy multiple pages

Adding a second set of vectors to .entry.tramp.text will make it
larger than a single 4K page.

Allow the trampoline text to occupy up to three pages by adding two
more fixmap slots. Previous changes to tramp_valias allowed it to reach
beyond a single page.

Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: James Morse <james.morse@arm.com>
arch/arm64/include/asm/fixmap.h
arch/arm64/include/asm/sections.h
arch/arm64/kernel/entry.S
arch/arm64/kernel/vmlinux.lds.S
arch/arm64/mm/mmu.c