public inbox for kvmarm@lists.cs.columbia.edu
 help / color / mirror / Atom feed
From: Christoffer Dall <cdall@linaro.org>
To: Raz <raziebe@gmail.com>
Cc: kvmarm@lists.cs.columbia.edu
Subject: Re: MAIR_EL2 Attributes
Date: Tue, 24 Oct 2017 17:41:24 +0200	[thread overview]
Message-ID: <20171024154124.GA91785@lvm> (raw)
In-Reply-To: <CAPB=Z-qpezQAQ84hwpYVvqLuRczx-oMcjQvDQtH-T7u4B9YD6A@mail.gmail.com>

Hi,

On Mon, Oct 23, 2017 at 09:33:28PM +0000, Raz wrote:
> 1. According the documentation of MAIR_EL2 there are 8 attributes but
> in the code you present only 6. Why ?

I just don't think we need those other defines.

> 2. Why there are names to the attributes ? Does it make a difference if I
> assign
> an attribute index 2 or attribute index 0 in the page while the two attr
> 

I'm not entirely sure what you're asking here.

Can you try to explain what the background of your question is?

I think these defines are just the way Linux configures the page tables.


> /*
>  * Memory types available.
>  */
> #define MT_DEVICE_nGnRnE    0
> #define MT_DEVICE_nGnRE        1
> #define MT_DEVICE_GRE        2
> #define MT_NORMAL_NC        3
> #define MT_NORMAL        4
> #define MT_NORMAL_WT        5

-Christoffer

  reply	other threads:[~2017-10-24 15:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-23 21:33 MAIR_EL2 Attributes Raz
2017-10-24 15:41 ` Christoffer Dall [this message]
2017-10-25  6:56   ` Raz

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=20171024154124.GA91785@lvm \
    --to=cdall@linaro.org \
    --cc=kvmarm@lists.cs.columbia.edu \
    --cc=raziebe@gmail.com \
    /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