[PATCH 0/9 v2] Access dev->iommu_fwspec through functions

Joerg Roedel
2018-12-11T12:20:00Z

Hi,

here is the second patch-set to wrap accesses to
dev->iommu_fwspec into functions so that the pointer
location can be changed more easily later on.

This version is rebased to v4.20-rc6 and addresses Robin's
comments. The Ack from will is also added.

If there are no objections I'd like to queue these patches
soon.

Regards,

Joerg

Joerg Roedel (9):
iommu: Introduce wrappers around dev->iommu_fwspec
ACPI/IORT: Use helper functions to access dev->iommu_fwspec
iommu/arm-smmu: Use helper functions to access dev->iommu_fwspec
iommu/dma: Use helper functions to access dev->iommu_fwspec
iommu/ipmmu-vmsa: Use helper functions to access dev->iommu_fwspec
iommu/mediatek: Use helper functions to access dev->iommu_fwspec
iommu/of: Use helper functions to access dev->iommu_fwspec
iommu/qcom: Use helper functions to access dev->iommu_fwspec
iommu/tegra: Use helper functions to access dev->iommu_fwspec

drivers/acpi/arm64/iort.c | 19 ++++++++++---------
drivers/iommu/arm-smmu-v3.c | 16 +++++++++-------
drivers/iommu/arm-smmu.c | 12 ++++++------
drivers/iommu/dma-iommu.c | 2 +-
drivers/iommu/iommu.c | 14 +++++++-------
drivers/iommu/ipmmu-vmsa.c | 12 ++++++++----
drivers/iommu/mtk_iommu.c | 21 ++++++++++++---------
drivers/iommu/mtk_iommu_v1.c | 28 ++++++++++++++++------------
drivers/iommu/of_iommu.c | 10 +++++++---
drivers/iommu/qcom_iommu.c | 18 ++++++++++--------
drivers/iommu/tegra-smmu.c | 2 +-
include/linux/iommu.h | 11 +++++++++++
12 files changed, 98 insertions(+), 67 deletions(-)

--
2.17.1