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 arch_iommu_populate_page_table(). > > For systems without 512GB contiguous RAM M2P entries were already > correctly initialized on boot with INVALID_M2P_ENTRY (~0UL) but > on systems where M2P could be covered by a single 1GB page directory > 0x77 poison was used instead. That eventually resulted in a crash > during IOMMU construction on systems without shared PTs enabled. > > While here fixup compat M2P entries as well. > > Signed-off-by: Igor Druzhinin <[email protected]> Reviewed-by: Andrew Cooper <[email protected]> _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
