iommu: Fix DMA alias problems
Status from this message: Applied to the core branch, thanks Alex.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | iommu: Create central IOMMU group lookup/creation interfacedrivers/ include/ | +183 | 0 replies | |
| 2/7 | iommu/amd: Update to use PCI DMA aliasesdrivers/ | +74 | 0 replies | |
| 3/7 | iommu/amd: Use iommu_group_get_for_dev()drivers/ drivers/ | +5 | 0 replies | |
| 4/7 | iommu/intel: Use iommu_group_get_for_dev()drivers/ | +4 | 0 replies | |
| 5/7 | iommu/intel: Update to use PCI DMA aliasesdrivers/ drivers/ | +145 | 0 replies | |
| 6/7 | iommu/fsl: Use iommu_group_get_for_dev() for IOMMU groupsdrivers/ | +1 | 0 replies | |
| 7/7 | iommu: Remove pci.hdrivers/ | +0 | 0 replies |
Reviews trailers per patch
1 of 7 patches has a Reviewed-by or Acked-by.
| Patch | Varun Sethi |
|---|---|
| 1/7 | |
| 2/7 | |
| 3/7 | |
| 4/7 | |
| 5/7 | |
| 6/7 | A-b |
| 7/7 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/7] iommu: Fix DMA alias problems
This is effectively a resend of the iommu parts of the previously combined iommu and pci v4 series. The pci base changes are in, we just need the iommu changes to make them effective. These changes have proven to solve numerous issues with devices that use the wrong requester ID and bridges that fail to expose a PCIe capability. After this is applied, we'll be able to remove a couple pci interfaces, including the very broken pci_find_upstream_pcie_bridge. Thanks,
Alex
---
Alex Williamson (7):
iommu: Remove pci.h
iommu/fsl: Use iommu_group_get_for_dev() for IOMMU groups iommu/intel: Update to use PCI DMA aliases iommu/intel: Use iommu_group_get_for_dev() iommu/amd: Use iommu_group_get_for_dev() iommu/amd: Update to use PCI DMA aliases
iommu: Create central IOMMU group lookup/creation interface
drivers/iommu/amd_iommu.c | 214 +++++++----------------- drivers/iommu/amd_iommu_types.h | 1 drivers/iommu/fsl_pamu_domain.c | 66 -------- drivers/iommu/intel-iommu.c | 307 +++++++++++++---------------------- drivers/iommu/intel_irq_remapping.c | 55 ++++-- drivers/iommu/iommu.c | 182 +++++++++++++++++++++ drivers/iommu/pci.h | 29 --- include/linux/iommu.h | 1 8 files changed, 398 insertions(+), 457 deletions(-) delete mode 100644 drivers/iommu/pci.h