Re: [Xen-devel] [PATCH for-4.9] xen/arm: p2m: Fix incorrect mapping of superpages

2017-05-19 Thread Stefano Stabellini
On Fri, 19 May 2017, Julien Grall wrote: > The same set of functions is used to set as well as to clean P2M > entries, except for clean operations (INVALID_MFN ~0UL) is passed as a > parameter. Unfortunately, when calculating an appropriate target order > for a particular mapping INVALID_MFN is tak

[Xen-devel] [PATCH for-4.9] xen/arm: p2m: Fix incorrect mapping of superpages

2017-05-19 Thread Julien Grall
The same set of functions is used to set as well as to clean P2M entries, except for clean operations (INVALID_MFN ~0UL) is passed as a parameter. Unfortunately, when calculating an appropriate target order for a particular mapping INVALID_MFN is taken into account which leads to 4K page target ord