Backport fix from IOMMU regression introduced in 6.10