Reuse generic PCI DMA alias parsing code for the ARM SMMU
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | iommu: return dma alias from iommu_group_get_for_pci_dev()drivers/ include/ | +14 | 4 replies | |
| 2/2 | iommu/arm-smmu: remove homebrew PCI dma alias parsingdrivers/ | +31 | 2 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] Reuse generic PCI DMA alias parsing code for the ARM SMMU
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(-)
Signature · 1 line
2.1.4