Skip to content

iommu: Move iommu_fwspec out of 'struct device'

Joerg Roedel linux-arm-msm linux-iommu linux-mediatek lkml 4 versions – Applied

Status from this message: Applied.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest16 patches 5 repliesApplied
  2. v315 patches 4 repliesSuperseded
  3. v215 patches 16 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v114 patches6 repliesSuperseded

Changes to v2 from the cover letter

- Addressed Robins review comments

- Added Robins patch to optimize arm-smmu changes

- Rebased to v5.6-rc7

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/16iommu: Define dev_iommu_fwspec_get() for !CONFIG_IOMMU_APIinclude/linux/iommu.h+4 -00 replies
2/16ACPI/IORT: Remove direct access of dev->iommu_fwspecdrivers/acpi/arm64/iort.c+4 -22 replies
3/16drm/msm/mdp5: Remove direct access of dev->iommu_fwspecdrivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c+1 -10 replies
4/16iommu/tegra-gart: Remove direct access of dev->iommu_fwspecdrivers/iommu/tegra-gart.c+1 -10 replies
5/16iommu: Rename struct iommu_param to dev_iommudrivers/iommu/iommu.c include/linux/device.h include/linux/iommu.h+19 -191 reply
6/16iommu: Move iommu_fwspec to struct dev_iommudrivers/iommu/iommu.c include/linux/device.h include/linux/iommu.h+11 -71 reply
7/16iommu/arm-smmu: Fix uninitilized variable warningdrivers/iommu/arm-smmu.c+1 -10 replies
8/16iommu: Introduce accessors for iommu private datainclude/linux/iommu.h+10 -00 replies
9/16iommu/arm-smmu-v3: Use accessor functions for iommu private datadrivers/iommu/arm-smmu-v3.c+5 -50 replies
10/16iommu/arm-smmu: Refactor master_cfg/fwspec usagedrivers/iommu/arm-smmu.c+22 -200 replies
11/16iommu/arm-smmu: Use accessor functions for iommu private datadrivers/iommu/arm-smmu.c+9 -80 replies
12/16iommu/renesas: Use accessor functions for iommu private datadrivers/iommu/ipmmu-vmsa.c+2 -50 replies
13/16iommu/mediatek: Use accessor functions for iommu private datadrivers/iommu/mtk_iommu.c drivers/iommu/mtk_iommu_v1.c+13 -140 replies
14/16iommu/qcom: Use accessor functions for iommu private datadrivers/iommu/qcom_iommu.c+36 -250 replies
15/16iommu/virtio: Use accessor functions for iommu private datadrivers/iommu/virtio-iommu.c+5 -60 replies
16/16iommu: Move fwspec->iommu_priv to struct dev_iommuinclude/linux/iommu.h+4 -30 replies

Reviews trailers per patch

13 of 16 patches have a Reviewed-by or Acked-by.

PatchJean-Philippe BruckerHanjun GuoWill DeaconGreg Kroah-Hartman
1/16R-b
2/16R-b T-b
3/16R-b
4/16R-b
5/16R-b T-b R-b
6/16R-b T-b R-b
7/16R-b T-b
8/16R-b T-b
9/16R-b T-b
10/16
11/16T-b
12/16R-b
13/16R-b
14/16
15/16R-b
16/16R-b T-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 4 reviewers.

Read the v4 thread

Cover letter [PATCH v4 00/16] iommu: Move iommu_fwspec out of 'struct device'

Hi,

here is the updated version of the changes to move iommu_fwspec out of 'struct device'. Previous versions of this patch-set can be found here:

	v3: https://lore.kernel.org/lkml/[email protected]/

	v2: https://lore.kernel.org/lkml/[email protected]/

	v1: https://lore.kernel.org/lkml/[email protected]/

Changes to v2:

- Addressed Robins review comments

- Added Robins patch to optimize arm-smmu changes

- Rebased to v5.6-rc7

Please review.

Thanks,

Joerg

Joerg Roedel (15):
iommu: Define dev_iommu_fwspec_get() for !CONFIG_IOMMU_API ACPI/IORT: Remove direct access of dev->iommu_fwspec drm/msm/mdp5: Remove direct access of dev->iommu_fwspec iommu/tegra-gart: Remove direct access of dev->iommu_fwspec
iommu: Rename struct iommu_param to dev_iommu
iommu: Move iommu_fwspec to struct dev_iommu iommu/arm-smmu: Fix uninitilized variable warning
iommu: Introduce accessors for iommu private data iommu/arm-smmu-v3: Use accessor functions for iommu private data iommu/arm-smmu: Use accessor functions for iommu private data iommu/renesas: Use accessor functions for iommu private data iommu/mediatek: Use accessor functions for iommu private data iommu/qcom: Use accessor functions for iommu private data iommu/virtio: Use accessor functions for iommu private data
iommu: Move fwspec->iommu_priv to struct dev_iommu

Robin Murphy (1):
iommu/arm-smmu: Refactor master_cfg/fwspec usage

 drivers/acpi/arm64/iort.c                |  6 ++-
 drivers/gpu/drm/msm/disp/mdp5/mdp5_kms.c |  2 +-
 drivers/iommu/arm-smmu-v3.c              | 10 ++--
 drivers/iommu/arm-smmu.c                 | 55 +++++++++++----------
 drivers/iommu/iommu.c                    | 31 ++++++------
 drivers/iommu/ipmmu-vmsa.c               |  7 +--
 drivers/iommu/mtk_iommu.c                | 13 +++--
 drivers/iommu/mtk_iommu_v1.c             | 14 +++---
 drivers/iommu/qcom_iommu.c               | 61 ++++++++++++++----------
 drivers/iommu/tegra-gart.c               |  2 +-
 drivers/iommu/virtio-iommu.c             | 11 ++---
 include/linux/device.h                   |  9 ++--
 include/linux/iommu.h                    | 33 ++++++++++---
 13 files changed, 142 insertions(+), 112 deletions(-)
Signature · 1 line
2.17.1