Re: [PATCH v2] arm64/mm: restrict transparent contpte mappings to valid PTEs

From: Catalin Marinas

Date: Thu Oct 29 2026 - 13:24:49 EST


On Fri, 23 Oct 2026 20:12:33 +0800, Zhao Gongyi wrote:
> The transparent contpte layer treats PTE_CONT as software grouping state.
> When a valid PTE has PTE_CONT set, the contpte helpers may align an
> operation to a CONT_PTE_SIZE block and operate on the whole block. The
> current single-PTE helpers use pte_valid_cont() to identify such groups;
> this is a helper contract, not an architectural restriction on using
> PTE_CONT with present-invalid descriptors. Explicit users such as hugetlb
> manage their contiguous encodings separately.
>
> [...]

Applied to arm64 (for-next/core), thanks!

[1/1] arm64/mm: restrict transparent contpte mappings to valid PTEs
https://git.kernel.org/arm64/c/486d396b19e9