Looks pretty sensible.

> -     if (!dmar_forcedac && dma_mask > DMA_BIT_MASK(32)) {
> +     if (!dmar_forcedac && dma_mask > DMA_BIT_MASK(32) &&
> +         dev_is_pci(dev) && !pci_is_pcie(to_pci_dev(dev))) {

The only thing I wonder is if it is worth to add a little helper
for this check, but with everything moving to dma-iommu that might
not be needed.

Btw, does anyone know what the status of the intel-iommu conversion
to dma-iommu is?
_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

Reply via email to