From: catalin.marinas@arm.com (Catalin Marinas)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] arm64: consistently use p?d_set_huge
Date: Thu, 24 Mar 2016 16:33:10 +0000 [thread overview]
Message-ID: <20160324163310.GF9113@e104818-lin.cambridge.arm.com> (raw)
In-Reply-To: <1458641505-21499-1-git-send-email-mark.rutland@arm.com>
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@arm.com>
> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
> Cc: Catalin Marinas <catalin.marinas@arm.com>
> Cc: Will Deacon <will.deacon@arm.com>
Applied. Thanks.
--
Catalin
prev parent reply other threads:[~2016-03-24 16:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-22 10:11 [PATCH] arm64: consistently use p?d_set_huge Mark Rutland
2016-03-24 16:33 ` Catalin Marinas [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160324163310.GF9113@e104818-lin.cambridge.arm.com \
--to=catalin.marinas@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).