From: christoffer.dall@linaro.org (Christoffer Dall)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2] ARM: mm: Fix stage-2 device memory attributes
Date: Wed, 29 Jan 2014 07:44:11 -0800 [thread overview]
Message-ID: <20140129154411.GB3570@cbox> (raw)
In-Reply-To: <52E8DA5D.9030101@arm.com>
On Wed, Jan 29, 2014 at 10:39:25AM +0000, Marc Zyngier wrote:
> On 28/01/14 21:24, Christoffer Dall wrote:
> > The stage-2 memory attributes are distinct from the Hyp memory
> > attributes and the Stage-1 memory attributes. We were using the stage-1
> > memory attributes for stage-2 mappings causing device mappings to be
> > mapped as normal memory. Add the S2 equivalent defines for memory
> > attributes and fix the comments explaining the defines while at it.
> >
> > Add a prot_pte_s2 field to the mem_type struct and fill out the field
> > for device mappings accordingly.
> >
> > Cc: Marc Zyngier <marc.zyngier@arm.com>
> > Cc: Catalin Marinas <catalin.marinas@arm.com>
> > Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
>
> Acked-by: Marc Zyngier <marc.zyngier@arm.com>
>
Thanks, Catalin, Russell, any comments?
-Christoffer
next prev parent reply other threads:[~2014-01-29 15:44 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-28 21:24 [PATCH v2] ARM: mm: Fix stage-2 device memory attributes Christoffer Dall
2014-01-29 10:39 ` Marc Zyngier
2014-01-29 15:44 ` Christoffer Dall [this message]
2014-01-30 11:41 ` Catalin Marinas
-- strict thread matches above, loose matches on Subject: below --
2014-01-04 6:14 [PATCH] " Christoffer Dall
2014-01-04 16:27 ` [PATCH v2] " Christoffer Dall
2014-01-24 23:37 ` Christoffer Dall
2014-01-27 11:16 ` Marc Zyngier
2014-01-27 16:57 ` Catalin Marinas
2014-01-27 17:02 ` Marc Zyngier
2014-01-27 17:21 ` Catalin Marinas
2014-01-28 21:24 ` Christoffer Dall
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=20140129154411.GB3570@cbox \
--to=christoffer.dall@linaro.org \
--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).