Re: [Xen-devel] [PATCH for-4.12 v2 11/17] xen/arm: p2m: Extend p2m_get_entry to return the value of bit[0] (valid bit)

2018-12-07 Thread Julien Grall
Hi Ravzan, On 04/12/2018 20:35, Razvan Cojocaru wrote: On 12/4/18 10:26 PM, Julien Grall wrote: With the recent changes, a P2M entry may be populated but may as not valid. In some situation, it would be useful to know whether the entry I think you mean to say "may not be valid"? Correct. I

Re: [Xen-devel] [PATCH for-4.12 v2 11/17] xen/arm: p2m: Extend p2m_get_entry to return the value of bit[0] (valid bit)

2018-12-06 Thread Stefano Stabellini
On Tue, 4 Dec 2018, Razvan Cojocaru wrote: > On 12/4/18 10:26 PM, Julien Grall wrote: > > With the recent changes, a P2M entry may be populated but may as not > > valid. In some situation, it would be useful to know whether the entry > > I think you mean to say "may not be valid"? > > > has been

Re: [Xen-devel] [PATCH for-4.12 v2 11/17] xen/arm: p2m: Extend p2m_get_entry to return the value of bit[0] (valid bit)

2018-12-04 Thread Razvan Cojocaru
On 12/4/18 10:26 PM, Julien Grall wrote: > With the recent changes, a P2M entry may be populated but may as not > valid. In some situation, it would be useful to know whether the entry I think you mean to say "may not be valid"? > has been marked available to guest in order to perform a specific

[Xen-devel] [PATCH for-4.12 v2 11/17] xen/arm: p2m: Extend p2m_get_entry to return the value of bit[0] (valid bit)

2018-12-04 Thread Julien Grall
With the recent changes, a P2M entry may be populated but may as not valid. In some situation, it would be useful to know whether the entry has been marked available to guest in order to perform a specific action. So extend p2m_get_entry to return the value of bit[0] (valid bit). Signed-off-by: