Re: [Xen-devel] [RFC 08/16] xen/arm: p2m: Handle translation fault in get_page_from_gva

2018-10-30 Thread Julien Grall
On 30/10/2018 00:47, Stefano Stabellini wrote: On Mon, 8 Oct 2018, Julien Grall wrote: +return NULL; +} + +/* + * Check permission that are assumed by the caller. For instance + * in case of guestcopy, the caller assumes that the translated +

Re: [Xen-devel] [RFC 08/16] xen/arm: p2m: Handle translation fault in get_page_from_gva

2018-10-29 Thread Stefano Stabellini
On Mon, 8 Oct 2018, Julien Grall wrote: > A follow-up patch will re-purpose the valid bit of LPAE entries to > generate fault even on entry containing valid information. > > This means that when translation a guest VA to guest PA (e.g IPA) will > fail if the Stage-2 entries used have the valid