diff options
author | Ard Biesheuvel <ardb@kernel.org> | 2025-05-31 14:30:05 +0200 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2025-06-02 12:53:18 +0100 |
commit | dc0a083948040ff364d065da8bb50c29f77a39ad (patch) | |
tree | a77127a1c0ff3917258436f38cc55eeeea997c94 /scripts/generate_rust_analyzer.py | |
parent | e21560b7d33c4f692cc9cd5b75ff09024f5a69d2 (diff) |
arm64: Work around convergence issue with LLD linker
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.
Reported-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20250531123005.3866382-2-ardb+git@google.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions