aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_target.rs
diff options
context:
space:
mode:
authorArd Biesheuvel <[email protected]>2024-03-01 10:40:49 +0000
committerCatalin Marinas <[email protected]>2024-03-01 15:25:45 +0000
commit27f2b9fcddc76d542ac339febf2af55b67f610ca (patch)
tree83953c1630499dc1ebb3071877a5d9d151db37ea /scripts/generate_rust_target.rs
parentarm64/mm: Use generic __pud_free() helper in pud_free() implementation (diff)
downloadkernel-27f2b9fcddc76d542ac339febf2af55b67f610ca.tar.gz
kernel-27f2b9fcddc76d542ac339febf2af55b67f610ca.zip
arm64/mm: Avoid ID mapping of kpti flag if it is no longer needed
arm64_use_ng_mappings will be set to 'true' by the early boot code if it decides to use non-global (nG) attributes for all kernel mappings, typically when enabling KASLR on a system that does not implement E0PD. In this case, the G-to-nG update routines are never called, and so there is no reason to create the writable mapping of the associated status flag in the ID map. Signed-off-by: Ard Biesheuvel <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions