Skip to content

iommu: Fix DMA alias problems

Alex Williamson linux-iommu linux-pci lkml 1 version Applied

Status from this message: Applied to the core branch, thanks Alex.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/7iommu: Create central IOMMU group lookup/creation interfacedrivers/iommu/iommu.c include/linux/iommu.h+183 -00 replies
2/7iommu/amd: Update to use PCI DMA aliasesdrivers/iommu/amd_iommu.c+74 -40 replies
3/7iommu/amd: Use iommu_group_get_for_dev()drivers/iommu/amd_iommu.c drivers/iommu/amd_iommu_types.h+5 -1600 replies
4/7iommu/intel: Use iommu_group_get_for_dev()drivers/iommu/intel-iommu.c+4 -750 replies
5/7iommu/intel: Update to use PCI DMA aliasesdrivers/iommu/intel-iommu.c drivers/iommu/intel_irq_remapping.c+145 -1380 replies
6/7iommu/fsl: Use iommu_group_get_for_dev() for IOMMU groupsdrivers/iommu/fsl_pamu_domain.c+1 -650 replies
7/7iommu: Remove pci.hdrivers/iommu/pci.h+0 -290 replies

Reviews trailers per patch

1 of 7 patches has a Reviewed-by or Acked-by.

PatchVarun Sethi
1/7
2/7
3/7
4/7
5/7
6/7A-b
7/7

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

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