Home
last modified time | relevance | path

Searched hist:b28c74e259675aa0eade6be5d5efaa4d72e06c83 (Results 1 – 1 of 1) sorted by relevance

/linux/arch/arm64/include/asm/
H A Dpgtable-prot.hdiff b28c74e259675aa0eade6be5d5efaa4d72e06c83 Fri May 03 16:45:59 CEST 2024 Ryan Roberts <ryan.roberts@arm.com> arm64/mm: generalize PMD_PRESENT_INVALID for all levels

As preparation for the next patch, which frees up the PTE_PROT_NONE
present pte and swap pte bit, generalize PMD_PRESENT_INVALID to
PTE_PRESENT_INVALID. This will then be used to mark PROT_NONE ptes (and
entries at any other level) in the next patch.

While we're at it, fix up the swap pte format comment to include
PTE_PRESENT_INVALID. This is not new, it just wasn't previously
documented.

Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Ryan Roberts <ryan.roberts@arm.com>
Link: https://lore.kernel.org/r/20240503144604.151095-2-ryan.roberts@arm.com
Signed-off-by: Will Deacon <will@kernel.org>