Re: [Xen-devel] [PATCH v4 9/9] arm/mem_access: Walk the guest's pt in software

2017-06-20 Thread Sergej Proskurin
Hi Tamas, [...] >> +if ( guest_walk_tables(v, gva, &ipa, &perms) < 0 ) >> +/* >> + * The software gva to ipa translation can still fail, e.g., if >> the >> + * gva is not mapped. >> + */ > > If you end up sending another round of the serie

Re: [Xen-devel] [PATCH v4 9/9] arm/mem_access: Walk the guest's pt in software

2017-06-20 Thread Tamas K Lengyel
On Tue, Jun 20, 2017 at 2:33 PM, Sergej Proskurin wrote: > In this commit, we make use of the gpt walk functionality introduced in > the previous commits. If mem_access is active, hardware-based gva to ipa > translation might fail, as gva_to_ipa uses the guest's translation > tables, access to whi

[Xen-devel] [PATCH v4 9/9] arm/mem_access: Walk the guest's pt in software

2017-06-20 Thread Sergej Proskurin
In this commit, we make use of the gpt walk functionality introduced in the previous commits. If mem_access is active, hardware-based gva to ipa translation might fail, as gva_to_ipa uses the guest's translation tables, access to which might be restricted by the active VTTBR. To side-step potential