[PATCH] arm64: Work around convergence issue with LLD linker

Will Deacon will at kernel.org
Mon Jun 2 06:42:03 PDT 2025


On Sat, 31 May 2025 14:30:05 +0200, Ard Biesheuvel wrote:
> LLD will occasionally error out with a '__init_end does not converge'
> error if INIT_IDMAP_DIR_SIZE is defined in terms of _end, as this
> results in a circular dependency.
> 
> Counter this by dimensioning the initial IDMAP page tables based on a
> new boundary marker 'kimage_limit', and define it such that its value
> should not change as a result of the initdata segment being pushed over
> a 64k segment boundary due to changes in INIT_IDMAP_DIR_SIZE, provided
> that its value doesn't change by more than 2M between linker passes.
> 
> [...]

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

[1/1] arm64: Work around convergence issue with LLD linker
      https://git.kernel.org/arm64/c/dc0a08394804

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev



More information about the linux-arm-kernel mailing list