From: Lu Baolu <baolu.lu@linux.intel.com>
To: Joerg Roedel <joro@8bytes.org>, Jason Gunthorpe <jgg@nvidia.com>,
Christoph Hellwig <hch@infradead.org>,
Kevin Tian <kevin.tian@intel.com>,
Ashok Raj <ashok.raj@intel.com>, Will Deacon <will@kernel.org>,
Robin Murphy <robin.murphy@arm.com>,
Jean-Philippe Brucker <jean-philippe@linaro.com>
Cc: Eric Auger <eric.auger@redhat.com>, Liu Yi L <yi.l.liu@intel.com>,
Jacob jun Pan <jacob.jun.pan@intel.com>,
iommu@lists.linux.dev, linux-kernel@vger.kernel.org,
Lu Baolu <baolu.lu@linux.intel.com>
Subject: [PATCH v2 0/3] iommu: Retire detach_dev callback
Date: Fri, 26 Aug 2022 20:30:11 +0800 [thread overview]
Message-ID: <20220826123014.52709-1-baolu.lu@linux.intel.com> (raw)
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
next reply other threads:[~2022-08-26 12:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-26 12:30 Lu Baolu [this message]
2022-08-26 12:30 ` [PATCH v2 1/3] iommu: Replace detach_dev with real blocking domains Lu Baolu
2022-08-26 15:34 ` Jason Gunthorpe
2022-08-29 3:49 ` Baolu Lu
2022-08-26 12:30 ` [PATCH v2 2/3] iommu: Retire detach_dev domain ops Lu Baolu
2022-08-26 12:30 ` [PATCH v2 3/3] iommu: Rename attach_dev to set_dev Lu Baolu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220826123014.52709-1-baolu.lu@linux.intel.com \
--to=baolu.lu@linux.intel.com \
--cc=ashok.raj@intel.com \
--cc=eric.auger@redhat.com \
--cc=hch@infradead.org \
--cc=iommu@lists.linux.dev \
--cc=jacob.jun.pan@intel.com \
--cc=jean-philippe@linaro.com \
--cc=jgg@nvidia.com \
--cc=joro@8bytes.org \
--cc=kevin.tian@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=robin.murphy@arm.com \
--cc=will@kernel.org \
--cc=yi.l.liu@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).