Hi all, This series of two patches removes the (incomplete) PCI DMA alias parsing code from the ARM SMMU driver and instead modifies the generic iommu_group_get_for_pci_dev implementation to return the alias as well as the group.
One snag is that iommu_group_get_for_pci_dev is no longer static after the change, but returning the alias from iommu_group_get_for_dev doesn't feel right either, as we don't currently have any generic IOMMU grouping for the platform bus. Feedback welcome, Will --->8 Will Deacon (2): iommu: return dma alias from iommu_group_get_for_pci_dev() iommu/arm-smmu: remove homebrew PCI dma alias parsing drivers/iommu/arm-smmu.c | 58 ++++++++++++++++++++++++++---------------------- drivers/iommu/iommu.c | 14 ++++++++++-- include/linux/iommu.h | 2 ++ 3 files changed, 45 insertions(+), 29 deletions(-) -- 2.1.4 _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu