From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tamas K Lengyel Subject: Re: [PATCH for-4.5 v8 16/19] xen/arm: Instruction prefetch abort (X) mem_event handling Date: Wed, 24 Sep 2014 19:04:12 +0200 Message-ID: References: <1411478070-13836-1-git-send-email-tklengyel@sec.in.tum.de> <1411478070-13836-17-git-send-email-tklengyel@sec.in.tum.de> <1411571121.28127.64.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6307634524727582261==" Return-path: In-Reply-To: <1411571121.28127.64.camel@kazak.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: Tim Deegan , Julien Grall , Ian Jackson , "xen-devel@lists.xen.org" , Stefano Stabellini , Andres Lagar-Cavilla , Jan Beulich , Daniel De Graaf , Tamas K Lengyel List-Id: xen-devel@lists.xenproject.org --===============6307634524727582261== Content-Type: multipart/alternative; boundary=001a11c3127e577f230503d2ac28 --001a11c3127e577f230503d2ac28 Content-Type: text/plain; charset=ISO-8859-1 On Wed, Sep 24, 2014 at 5:05 PM, Ian Campbell wrote: > On Tue, 2014-09-23 at 15:14 +0200, Tamas K Lengyel wrote: > > Add missing structure definition for iabt and update the trap handling > > mechanism to only inject the exception if the mem_access checker > > decides to do so. > > > > Signed-off-by: Tamas K Lengyel > > Acked-by: Ian Campbell > > > + const struct npfec npfec = { > > + .insn_fetch = 1, > > + .gla_valid = 1, > > + .kind = iabt.s1ptw ? npfec_kind_in_gpt : npfec_kind_with_gla > > The references to "gla" here are just because the interface has been > refactored out of x86 into common code, right? > Yes, that is correct. On ARM I've seen gvaddr and gva being used as the lingo, gla refers to the same thing. Tamas > > (if not and this is in fact an arm specific thing then please rename) > > Ian. > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel > --001a11c3127e577f230503d2ac28 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable


On Wed, Sep 24, 2014 at 5:05 PM, Ian Campbell <Ian.Campbell@citr= ix.com> wrote:
On Tue, 2014-09-23 at 15:14 +0200, Tamas K Lengyel wrote:
> Add missing structure definition for iabt and update the trap handling=
> mechanism to only inject the exception if the mem_access checker
> decides to do so.
>
> Signed-off-by: Tamas K Lengyel <tklengyel@sec.in.tum.de>

Acked-by: Ian Campbell <ian.campbell@citrix.com>

> +=A0 =A0 =A0 =A0 const struct npfec npfec =3D {
> +=A0 =A0 =A0 =A0 =A0 =A0 .insn_fetch =3D 1,
> +=A0 =A0 =A0 =A0 =A0 =A0 .gla_valid =3D 1,
> +=A0 =A0 =A0 =A0 =A0 =A0 .kind =3D iabt.s1ptw ? npfec_kind_in_gpt : np= fec_kind_with_gla

The references to "gla" here are just because the interfac= e has been
refactored out of x86 into common code, right?

Yes, that is correct. On ARM I've seen gvaddr and gva being use= d as the lingo, gla refers to the same thing.

Tamas
=A0

(if not and this is in fact an arm specific thing then please rename)

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.x= en.org/xen-devel

--001a11c3127e577f230503d2ac28-- --===============6307634524727582261== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============6307634524727582261==--