Skip to content

IOMMU reserved region tweaks

Robin Murphy kvm linux-arm-kernel linux-iommu 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 of 4 patches 0 repliesNew

3 of 4 patches are in this archive. The cover letter announces 4.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/4iommu/dma: Don't reserve PCI I/O windowsdrivers/iommu/dma-iommu.c+1 -20 replies
3/4iommu/dma: Handle IOMMU API reserved regionsdrivers/iommu/dma-iommu.c+69 -70 replies
4/4iommu/dma: Make PCI window reservation genericdrivers/iommu/arm-smmu-v3.c drivers/iommu/arm-smmu.c drivers/iommu/dma-iommu.c +1 more+37 -101 reply

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchEric Auger
SeriesR-b
2/4R-b
3/4R-b
4/4

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

Read the v2 thread

Cover letter [PATCH v2 0/4] IOMMU reserved region tweaks

Hi Joerg,

Here's v2 incorporating Eric's feedback and R-b tags, with patch #4 added to finish the job. Whilst presented as a logical series because it's all touching the same code, it doesn't necessarily need merging as such - I'd be happier with patch #1 going into 4.11 before anyone starts using the sysfs region info in anger, but it's your call; #2 is really a standalone fix (other than context conflicts) but is non-urgent; #3 and #4 can happily wait for 4.12.

Robin.

Robin Murphy (4):
iommu: Disambiguate MSI region types
iommu/dma: Don't reserve PCI I/O windows
iommu/dma: Handle IOMMU API reserved regions
iommu/dma: Make PCI window reservation generic

 drivers/iommu/amd_iommu.c       |   2 +-
 drivers/iommu/arm-smmu-v3.c     |   4 +-
 drivers/iommu/arm-smmu.c        |   4 +-
 drivers/iommu/dma-iommu.c       | 111 ++++++++++++++++++++++++++++++++++------
 drivers/iommu/intel-iommu.c     |   2 +-
 drivers/iommu/iommu.c           |   5 +-
 drivers/vfio/vfio_iommu_type1.c |   7 ++-
 include/linux/dma-iommu.h       |   5 ++
 include/linux/iommu.h           |  18 +++++--
 9 files changed, 127 insertions(+), 31 deletions(-)
Signature · 1 line
2.11.0.dirty