Re: [PATCH v3 3/4] thunderbolt: Make iommu_dma_protection more accurate

2022-04-05 Thread Mika Westerberg
On Tue, Apr 05, 2022 at 11:41:03AM +0100, Robin Murphy wrote: > Between me trying to get rid of iommu_present() and Mario wanting to > support the AMD equivalent of DMAR_PLATFORM_OPT_IN, scrutiny has shown > that the iommu_dma_protection attribute is being far too optimistic. > Even if an IOMMU mig

[PATCH v3 3/4] thunderbolt: Make iommu_dma_protection more accurate

2022-04-05 Thread Robin Murphy
Between me trying to get rid of iommu_present() and Mario wanting to support the AMD equivalent of DMAR_PLATFORM_OPT_IN, scrutiny has shown that the iommu_dma_protection attribute is being far too optimistic. Even if an IOMMU might be present for some PCI segment in the system, that doesn't necessa