"...0d0cea2424ae97b27447dc64a7dbfae83c036c45b403392f0e8ba.png" did not exist on "13ae246db4a02971ef4f557af1f6d3e21d64b710"
intel-iommu: fix superpage support in pfn_to_dma_pte()
If target_level == 0, current code breaks out of the while-loop if SUPERPAGE bit is set. We should also break out if PTE is not present. If we don't do this, KVM calls to iommu_iova_to_phys() will cause pfn_to_dma_pte() to create mapping for 4KiB pages. Signed-off-by:Allen Kay <allen.m.kay@intel.com> Signed-off-by:
David Woodhouse <David.Woodhouse@intel.com>
Loading
Please register or sign in to comment