[PATCH] arm64: fix .idmap.text assertion for large kernels

Catalin Marinas catalin.marinas at arm.com
Mon Feb 20 10:25:34 PST 2023


On Mon, 20 Feb 2023 16:23:17 +0000, Mark Rutland wrote:
> When building a kernel with many debug options enabled (which happens in
> test configurations use by myself and syzbot), the kernel can become
> large enough that portions of .text can be more than 128M away from
> .idmap.text (which is placed inside the .rodata section). Where idmap
> code branches into .text, the linker will place veneers in the
> .idmap.text section to make those branches possible.
> 
> [...]

Applied to arm64 (for-next/core), thanks!

[1/1] arm64: fix .idmap.text assertion for large kernels
      https://git.kernel.org/arm64/c/d54170812ef1

-- 
Catalin




More information about the linux-arm-kernel mailing list