[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [PATCH V13 3/7] xen/arm: Allow hypervisor access to mem_access protected pages
- To: Tamas K Lengyel <tklengyel@xxxxxxxxxxxxx>
- From: Ian Campbell <ian.campbell@xxxxxxxxxx>
- Date: Thu, 12 Mar 2015 15:55:59 +0000
- Cc: wei.liu2@xxxxxxxxxx, Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>, Tim Deegan <tim@xxxxxxx>, Julien Grall <julien.grall@xxxxxxxxxx>, Ian Jackson <ian.jackson@xxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxx, stefano.stabellini@xxxxxxxxxx, Jan Beulich <jbeulich@xxxxxxxx>, Keir Fraser <keir@xxxxxxx>
- Delivery-date: Thu, 12 Mar 2015 15:56:07 +0000
- List-id: Xen developer discussion <xen-devel.lists.xen.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.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|