diff options
| author | Ard Biesheuvel <ardb@kernel.org> | 2026-05-29 17:02:01 +0200 |
|---|---|---|
| committer | Will Deacon <will@kernel.org> | 2026-06-02 16:29:16 +0100 |
| commit | d672a4b72c9542911244b0bc5d5c14c77251159c (patch) | |
| tree | 957d6e368d08547ac20250db0ef68e78d208666b /scripts/Makefile.thinlto | |
| parent | 382a03e12ebad387fad616da78b99720ea3ee683 (diff) | |
arm64: mm: Don't abuse memblock NOMAP to check for overlaps
Now that the linear region mapping routines respect existing table
mappings and contiguous block and page mappings, it is no longer needed
to fiddle with the memblock tables to set and clear the NOMAP attribute
in order to omit text and rodata when creating the linear map.
Instead, map the kernel text and rodata alias first with the desired
initial attributes and granularity, so that the loop iterating over the
memblocks will not remap it in a manner that prevents it from being
remapped with updated attributes later.
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Kevin Brodsky <kevin.brodsky@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
