From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH V13 3/7] xen/arm: Allow hypervisor access to mem_access protected pages Date: Thu, 12 Mar 2015 15:55:59 +0000 Message-ID: <1426175759.32572.26.camel@citrix.com> References: <1425677073-13729-1-git-send-email-tklengyel@sec.in.tum.de> <1425677073-13729-4-git-send-email-tklengyel@sec.in.tum.de> <55019996.9050208@linaro.org> <5501A831.6010009@linaro.org> <1426174055.32572.10.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 , Tim Deegan , Julien Grall , Ian Jackson , xen-devel@lists.xen.org, stefano.stabellini@citrix.com, Jan Beulich , Keir Fraser List-Id: xen-devel@lists.xenproject.org On Thu, 2015-03-12 at 16:41 +0100, Tamas K Lengyel wrote: > We could check stage-1 permissions by walking the guest page tables > and looking at the pte permissions, however I'm not aware of having > this function implemented within Xen. The h/w can do this for you, you just need to arrange for gva_to_ipa_par to select between ATS1CPR and ATS1CPW like gva_to_ma_par does. Ian.