Skip to content

Introduce device_iommu_mapped() function

Joerg Roedel dmaengine linux-acpi linux-iommu linux-usb lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 9 repliesIn review
  2. v15 patches 8 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6driver core: Introduce device_iommu_mapped() functioninclude/linux/device.h+10 -06 replies
2/6iommu/of: Use device_iommu_mapped()drivers/iommu/of_iommu.c+1 -10 replies
3/6ACPI/IORT: Use device_iommu_mapped()drivers/acpi/arm64/iort.c+1 -11 reply
4/6powerpc/iommu: Use device_iommu_mapped()arch/powerpc/kernel/eeh.c arch/powerpc/kernel/iommu.c+4 -40 replies
5/6xhci: Use device_iommu_mapped()drivers/usb/host/xhci.c+1 -11 reply
6/6dmaengine: sh: rcar-dmac: Use device_iommu_mapped()drivers/dma/sh/rcar-dmac.c+1 -11 reply

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchGreg Kroah-HartmanRobin MurphyVinod KoulHanjun GuoMathias Nyman
1/6A-b A-b
2/6A-b
3/6A-b A-b
4/6A-b
5/6A-b A-b
6/6A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 5 reviewers.

Read the v2 thread

Cover letter [PATCH 0/6 v2] Introduce device_iommu_mapped() function

Hi,

here is the second version of this patch-set. It replaces the various (dev->iommu_group) checks with a function call which better expresses their intend.

Changes to the first version are the added patch for rcar-dmac, a driver I missed before. I also added all Acked-By's I received on the first version.

Please review and provide Acks, if there are no objections. I have some iommu patches that depend on these, so I'd like to carry this patch-set in the IOMMU tree.

Regards,

Joerg

Joerg Roedel (6):
driver core: Introduce device_iommu_mapped() function iommu/of: Use device_iommu_mapped() ACPI/IORT: Use device_iommu_mapped() powerpc/iommu: Use device_iommu_mapped()
xhci: Use device_iommu_mapped()
dmaengine: sh: rcar-dmac: Use device_iommu_mapped()

 arch/powerpc/kernel/eeh.c   |  2 +-
 arch/powerpc/kernel/iommu.c |  6 +++---
 drivers/acpi/arm64/iort.c   |  2 +-
 drivers/dma/sh/rcar-dmac.c  |  2 +-
 drivers/iommu/of_iommu.c    |  2 +-
 drivers/usb/host/xhci.c     |  2 +-
 include/linux/device.h      | 10 ++++++++++
 7 files changed, 18 insertions(+), 8 deletions(-)
Signature · 1 line
2.17.1