All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adrian Pop <apop@bitdefender.com>
To: Julien Grall <julien.grall@arm.com>
Cc: Stefano Stabellini <sstabellini@kernel.org>,
	Wei Liu <wei.liu2@citrix.com>,
	Razvan Cojocaru <rcojocaru@bitdefender.com>,
	George Dunlap <George.Dunlap@eu.citrix.com>,
	Andrew Cooper <andrew.cooper3@citrix.com>,
	Ian Jackson <ian.jackson@eu.citrix.com>, Tim Deegan <tim@xen.org>,
	Tamas K Lengyel <tamas@tklengyel.com>,
	Jan Beulich <jbeulich@suse.com>,
	xen-devel@lists.xenproject.org
Subject: Re: [PATCH] x86/altp2m: Add a subop for obtaining the mem access of a page
Date: Wed, 4 Jul 2018 15:22:13 +0300	[thread overview]
Message-ID: <20180704122213.GB3652@hel> (raw)
In-Reply-To: <8021d5e7-c6c6-f1ff-dbe1-9ba564d15526@arm.com>

Hello,

On Mon, Jul 02, 2018 at 12:01:01PM +0100, Julien Grall wrote:
> Hi,
> 
> On 06/28/2018 02:00 PM, Adrian Pop wrote:
> > diff --git a/xen/arch/arm/mem_access.c b/xen/arch/arm/mem_access.c
> > index ae2686ffa2..ba9e50e7f6 100644
> > --- a/xen/arch/arm/mem_access.c
> > +++ b/xen/arch/arm/mem_access.c
> > @@ -236,7 +236,7 @@ bool p2m_mem_access_check(paddr_t gpa, vaddr_t gla, const struct npfec npfec)
> >       if ( !p2m->mem_access_enabled )
> >           return true;
> > -    rc = p2m_get_mem_access(v->domain, gaddr_to_gfn(gpa), &xma);
> > +    rc = p2m_get_mem_access(v->domain, gaddr_to_gfn(gpa), &xma, 0);
> >       if ( rc )
> >           return true;
> > @@ -440,8 +440,9 @@ long p2m_set_mem_access_multi(struct domain *d,
> >       return -EOPNOTSUPP;
> >   }
> > +/* The altp2m_idx argument is not used on ARM. */
> 
> s/ARM/Arm/ please.
> 
> Also, I guess altp2m_idx should always be 0 until altp2m is implemented for
> Arm. If so, I would like to see a check on the variable and return -EINVAL
> on error.

All right.  Thank you!

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

      reply	other threads:[~2018-07-04 12:22 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-28 13:00 [PATCH] x86/altp2m: Add a subop for obtaining the mem access of a page Adrian Pop
2018-06-29 15:38 ` Jan Beulich
2018-06-29 16:39   ` Razvan Cojocaru
2018-07-02  6:34     ` Jan Beulich
2018-07-02 11:14       ` Razvan Cojocaru
2018-07-04 19:16         ` Tamas K Lengyel
2018-07-04 14:05       ` George Dunlap
2018-07-04 15:38         ` Jan Beulich
2018-07-04 16:44           ` George Dunlap
2018-07-05  8:31             ` Jan Beulich
2018-07-05 14:35               ` Tamas K Lengyel
2018-07-05 15:21                 ` Razvan Cojocaru
2018-07-05 16:45                   ` Tamas K Lengyel
2018-07-06  8:56                     ` Razvan Cojocaru
2018-07-06 16:52                       ` Tamas K Lengyel
2018-07-09 11:04                         ` George Dunlap
2018-07-09 11:18                           ` Razvan Cojocaru
2018-07-09 11:46                             ` George Dunlap
2018-07-09 11:53                               ` Razvan Cojocaru
2018-07-09 14:48                                 ` George Dunlap
2018-07-09 14:50                                 ` Sergej Proskurin
2018-07-10  0:27                                   ` Tamas K Lengyel
2018-07-04 12:20   ` Adrian Pop
2018-07-04 13:20     ` Adrian Pop
2018-07-04 15:36       ` Jan Beulich
2018-07-02 11:01 ` Julien Grall
2018-07-04 12:22   ` Adrian Pop [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=20180704122213.GB3652@hel \
    --to=apop@bitdefender.com \
    --cc=George.Dunlap@eu.citrix.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=jbeulich@suse.com \
    --cc=julien.grall@arm.com \
    --cc=rcojocaru@bitdefender.com \
    --cc=sstabellini@kernel.org \
    --cc=tamas@tklengyel.com \
    --cc=tim@xen.org \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xenproject.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.