[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <166393672765.2853144.1045935840794664678.b4-ty@kernel.org>
Date: Fri, 23 Sep 2022 16:40:48 +0100
From: Will Deacon <will@...nel.org>
To: linux-kernel@...r.kernel.org, Will Deacon <will@...nel.org>
Cc: catalin.marinas@....com, kernel-team@...roid.com,
Mark Rutland <mark.rutland@....com>,
Nathan Chancellor <nathan@...nel.org>,
Kees Cook <keescook@...omium.org>,
"Mohan Rao .vanimina" <mailtoc.mohanrao@...il.com>,
Sami Tolvanen <samitolvanen@...gle.com>,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] vmlinux.lds.h: CFI: Reduce alignment of jump-table to function alignment
On Thu, 22 Sep 2022 22:57:15 +0100, Will Deacon wrote:
> Due to undocumented, hysterical raisins on x86, the CFI jump-table
> sections in .text are needlessly aligned to PMD_SIZE in the vmlinux
> linker script. When compiling a CFI-enabled arm64 kernel with a 64KiB
> page-size, a PMD maps 512MiB of virtual memory and so the .text section
> increases to a whopping 940MiB and blows the final Image up to 960MiB.
> Others report a link failure.
>
> [...]
Applied to arm64 (for-next/fixes), thanks!
[1/1] vmlinux.lds.h: CFI: Reduce alignment of jump-table to function alignment
https://git.kernel.org/arm64/c/13b056696291
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev
Powered by blists - more mailing lists