diff options
author | James Morse <james.morse@arm.com> | 2021-11-18 15:04:32 +0000 |
---|---|---|
committer | James Morse <james.morse@arm.com> | 2022-02-15 17:40:28 +0000 |
commit | a9c406e6462ff14956d690de7bbe5131a5677dc9 (patch) | |
tree | 90b8435c09994d03fff2d8d26d131c503efdd700 /arch/arm64/kernel/entry.S | |
parent | c47e4d04ba0f1ea17353d85d45f611277507e07a (diff) | |
download | linux-a9c406e6462ff14956d690de7bbe5131a5677dc9.tar.gz linux-a9c406e6462ff14956d690de7bbe5131a5677dc9.tar.bz2 linux-a9c406e6462ff14956d690de7bbe5131a5677dc9.zip |
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>
Diffstat (limited to 'arch/arm64/kernel/entry.S')
-rw-r--r-- | arch/arm64/kernel/entry.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/kernel/entry.S b/arch/arm64/kernel/entry.S index 23e85c94ea36..e0a0c1da5db8 100644 --- a/arch/arm64/kernel/entry.S +++ b/arch/arm64/kernel/entry.S @@ -642,7 +642,7 @@ alternative_else_nop_endif .endm .macro tramp_data_page dst - adr \dst, .entry.tramp.text + adr_l \dst, .entry.tramp.text sub \dst, \dst, PAGE_SIZE .endm |