Re: [Xen-devel] [PATCH] x86/mm: correctly initialize M2P entries on boot

2019-08-27 Thread Andrew Cooper
On 27/08/2019 12:48, Igor Druzhinin wrote: > Since guest resource management work it's now possible to have a page > assigned to a domain without a valid M2P entry. Some pathes in the code paths > rely on the fact a GFN returned from mfn_to_gfn() for such a page > is not valid as well, i.e. see a

[Xen-devel] [PATCH] x86/mm: correctly initialize M2P entries on boot

2019-08-27 Thread Igor Druzhinin
Since guest resource management work it's now possible to have a page assigned to a domain without a valid M2P entry. Some pathes in the code rely on the fact a GFN returned from mfn_to_gfn() for such a page is not valid as well, i.e. see arch_iommu_populate_page_table(). For systems without 512GB