lkml.org 
[lkml]   [2022]   [Aug]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/3] iommu: Retire detach_dev callback
Date
Hi folks,

This is a follow-up series after several discussions on blocking domain.
The latest discussion could be found here.

https://lore.kernel.org/linux-iommu/20220510140238.GD49344@nvidia.com/

As .detach_dev equals to setting the blocking domain to the device, this
callback is not needed anymore. This replace .detach_dev callback in the
IOMMU drivers with a static blocking domain and retires this callback.

With .detach_dev retired, rename .attach_dev to .set_dev as it actually
means setting an iommu domain to the device.

This series depends on below series which includes blocking domain
support for VT-d and SMMUv3 drivers.
[1] https://lore.kernel.org/linux-iommu/20220826121141.50743-1-baolu.lu@linux.intel.com/

This series is available on github:
[2] https://github.com/LuBaolu/intel-iommu/commits/iommu-blocking_domain-v2

Please review and suggest.

Best regards,
baolu

Change log:
v2:
- Replace .detach_dev callback with static block domain ops;
- Rename .attach_dev to .set_dev.

v1:
- https://lore.kernel.org/linux-iommu/20220516015759.2952771-1-baolu.lu@linux.intel.com/

Lu Baolu (3):
iommu: Replace detach_dev with real blocking domains
iommu: Retire detach_dev domain ops
iommu: Rename attach_dev to set_dev

include/linux/iommu.h | 6 ++--
drivers/iommu/amd/iommu.c | 24 ++++++++++++--
drivers/iommu/apple-dart.c | 26 ++++++++++++---
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 4 +--
drivers/iommu/arm/arm-smmu/arm-smmu.c | 2 +-
drivers/iommu/arm/arm-smmu/qcom_iommu.c | 25 +++++++++++++--
drivers/iommu/exynos-iommu.c | 25 +++++++++++++--
drivers/iommu/fsl_pamu_domain.c | 24 ++++++++++++--
drivers/iommu/intel/iommu.c | 4 +--
drivers/iommu/iommu.c | 35 ++++-----------------
drivers/iommu/ipmmu-vmsa.c | 24 ++++++++++++--
drivers/iommu/msm_iommu.c | 25 +++++++++++++--
drivers/iommu/mtk_iommu.c | 24 ++++++++++++--
drivers/iommu/mtk_iommu_v1.c | 24 ++++++++++++--
drivers/iommu/omap-iommu.c | 22 +++++++++++--
drivers/iommu/rockchip-iommu.c | 22 +++++++++++--
drivers/iommu/s390-iommu.c | 27 ++++++++++++++--
drivers/iommu/sprd-iommu.c | 25 +++++++++++++--
drivers/iommu/sun50i-iommu.c | 25 +++++++++++++--
drivers/iommu/tegra-gart.c | 22 +++++++++++--
drivers/iommu/tegra-smmu.c | 25 +++++++++++++--
drivers/iommu/virtio-iommu.c | 2 +-
22 files changed, 368 insertions(+), 74 deletions(-)

--
2.25.1

\
 
 \ /
  Last update: 2022-08-26 14:38    [W:0.055 / U:0.760 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site