On Sat, Aug 22, 2026 at 03:53:28PM +0200, Ard Biesheuvel wrote:
From: Ard Biesheuvel <[email protected]>
Wire up the existing support for the execmem ROX cache on arm64, so that
it will be used for module .text and .init.text regions. This will be
relied upon by a subsequent patch in order to allocate those regions
from a single chunk of memory.
Until Mike lands his changes [1] on set_direct_map, enabling ROX_CACHE on
ARM64 would cause a permission fault when the same part of the direct map is
used again (the RO flag is not properly stripped off after an execmem cache
clean).
[1]: https://lore.kernel.org/all/[email protected]/
Best regards,
Adrian