From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH V14 5/7] xen/arm: Instruction prefetch abort (X) mem_access event handling Date: Mon, 30 Mar 2015 16:24:02 +0100 Message-ID: <1427729042.13935.312.camel@citrix.com> References: <1427407531-31694-1-git-send-email-tklengyel@sec.in.tum.de> <1427407531-31694-6-git-send-email-tklengyel@sec.in.tum.de> <1427471569.13935.177.camel@citrix.com> <1427708482.13935.252.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Tamas K Lengyel Cc: "wei.liu2@citrix.com" , Stefano Stabellini , Ian Jackson , Julien Grall , Tim Deegan , Xen-devel , Stefano Stabellini , Jan Beulich , Keir Fraser List-Id: xen-devel@lists.xenproject.org On Mon, 2015-03-30 at 17:14 +0200, Tamas K Lengyel wrote: > According to ARMv8 ARM HPFAR is valid for any of these: > * A Translation or Access Flag fault on a stage 2 translation. > * A stage 2 Address Size fault. > * A fault on the stage 2 translation of an address accessed in a > stage 1 translation table walk. > > I think what you are (correctly) saying is that it omits "a permission > fault on a stage 2 translation", which is one of the cases which can > occur under xenaccess. Which is shame :-( > > Hm, what I recall is that it is valid for permission faults as well, > but only and exclusively during s1ptw. Right, which is the third bullet I quoted. The issue I was referring to was the lack of permission faults being mentioned in the first bullet (! s1ptw case). Ian.