Re: [Xen-devel] [PATCH for-4.12 v2 04/17] xen/arm: p2m: Introduce p2m_is_valid and use it

2018-12-07 Thread Julien Grall
Hi Stefano On 06/12/2018 22:02, Stefano Stabellini wrote: On Wed, 5 Dec 2018, Julien Grall wrote: On 04/12/2018 23:50, Stefano Stabellini wrote: On Tue, 4 Dec 2018, Julien Grall wrote: The LPAE format allows to store information in an entry even with the valid bit unset. In a follow-up

Re: [Xen-devel] [PATCH for-4.12 v2 04/17] xen/arm: p2m: Introduce p2m_is_valid and use it

2018-12-06 Thread Stefano Stabellini
On Wed, 5 Dec 2018, Julien Grall wrote: > Hi Stefano, > > On 04/12/2018 23:50, Stefano Stabellini wrote: > > On Tue, 4 Dec 2018, Julien Grall wrote: > > > The LPAE format allows to store information in an entry even with the > > > valid bit unset. In a follow-up patch, we will take advantage of

Re: [Xen-devel] [PATCH for-4.12 v2 04/17] xen/arm: p2m: Introduce p2m_is_valid and use it

2018-12-05 Thread Julien Grall
Hi Stefano, On 04/12/2018 23:50, Stefano Stabellini wrote: On Tue, 4 Dec 2018, Julien Grall wrote: The LPAE format allows to store information in an entry even with the valid bit unset. In a follow-up patch, we will take advantage of this feature to re-purpose the valid bit for generating a

Re: [Xen-devel] [PATCH for-4.12 v2 04/17] xen/arm: p2m: Introduce p2m_is_valid and use it

2018-12-04 Thread Stefano Stabellini
On Tue, 4 Dec 2018, Julien Grall wrote: > The LPAE format allows to store information in an entry even with the > valid bit unset. In a follow-up patch, we will take advantage of this > feature to re-purpose the valid bit for generating a translation fault > even if an entry contains valid

[Xen-devel] [PATCH for-4.12 v2 04/17] xen/arm: p2m: Introduce p2m_is_valid and use it

2018-12-04 Thread Julien Grall
The LPAE format allows to store information in an entry even with the valid bit unset. In a follow-up patch, we will take advantage of this feature to re-purpose the valid bit for generating a translation fault even if an entry contains valid information. So we need a different way to know