[PATCH] arm64: consistently use p?d_set_huge
Catalin Marinas
catalin.marinas at arm.com
Thu Mar 24 09:33:10 PDT 2016
On Tue, Mar 22, 2016 at 10:11:45AM +0000, Mark Rutland wrote:
> Commit 324420bf91f60582 ("arm64: add support for ioremap() block
> mappings") added new p?d_set_huge functions which do the hard work to
> generate and set a correct block entry.
>
> These differ from open-coded huge page creation in the early page table
> code by explicitly setting the P?D_TYPE_SECT bits (which are implicitly
> retained by mv_sect_prot() for any valid prot), but are otherwise
> identical (and cannot fail on arm64).
>
> For simplicity and consistency, make use of these in the initial page
> table creation code.
>
> Signed-off-by: Mark Rutland <mark.rutland at arm.com>
> Cc: Ard Biesheuvel <ard.biesheuvel at linaro.org>
> Cc: Catalin Marinas <catalin.marinas at arm.com>
> Cc: Will Deacon <will.deacon at arm.com>
Applied. Thanks.
--
Catalin
More information about the linux-arm-kernel
mailing list