From: Will Deacon <will@kernel.org>
To: Christoph Hellwig <hch@lst.de>
Cc: Joerg Roedel <joro@8bytes.org>, Sven Peter <sven@svenpeter.dev>,
David Woodhouse <dwmw2@infradead.org>,
Robin Murphy <robin.murphy@arm.com>,
Lu Baolu <baolu.lu@linux.intel.com>,
Yong Wu <yong.wu@mediatek.com>,
Jean-Philippe Brucker <jean-philippe@linaro.org>,
iommu@lists.linux-foundation.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 3/4] iommu: remove the put_resv_regions method
Date: Fri, 8 Jul 2022 11:12:45 +0100 [thread overview]
Message-ID: <20220708101244.GA5395@willie-the-truck> (raw)
In-Reply-To: <20220708080616.238833-4-hch@lst.de>
On Fri, Jul 08, 2022 at 10:06:15AM +0200, Christoph Hellwig wrote:
> All drivers that implement get_resv_regions just use
> generic_put_resv_regions to implement the put side. Remove the
> indirections and document the allocations constraints.
>
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> ---
> drivers/iommu/amd/iommu.c | 1 -
> drivers/iommu/apple-dart.c | 1 -
> drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 1 -
> drivers/iommu/arm/arm-smmu/arm-smmu.c | 1 -
> drivers/iommu/intel/iommu.c | 1 -
> drivers/iommu/iommu.c | 21 ++++-----------------
> drivers/iommu/mtk_iommu.c | 1 -
> drivers/iommu/virtio-iommu.c | 5 ++---
> include/linux/iommu.h | 4 ----
> 9 files changed, 6 insertions(+), 30 deletions(-)
Heads up, but I think this might collide (trivially?) with:
https://lore.kernel.org/r/20220615101044.1972-1-shameerali.kolothum.thodi@huawei.com
which Joerg has queued up already. It looks like the cleanup still makes
sense though, so that's good.
Will
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2022-07-08 10:13 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-08 8:06 remove dead iommu code v2 Christoph Hellwig
2022-07-08 8:06 ` [PATCH 1/4] iommu: remove the unused dev_has_feat method Christoph Hellwig
2022-07-08 8:43 ` Baolu Lu
2022-07-08 8:06 ` [PATCH 2/4] iommu: remove iommu_dev_feature_enabled Christoph Hellwig
2022-07-08 8:47 ` Baolu Lu
2022-07-08 8:06 ` [PATCH 3/4] iommu: remove the put_resv_regions method Christoph Hellwig
2022-07-08 9:00 ` Baolu Lu
2022-07-08 9:33 ` Christoph Hellwig
2022-07-08 10:03 ` Baolu Lu
2022-07-08 10:12 ` Will Deacon [this message]
2022-07-08 10:19 ` Christoph Hellwig
2022-07-08 10:32 ` Will Deacon
2022-07-08 8:06 ` [PATCH 4/4] iommu/arm-smmu-v3: cleanup arm_smmu_dev_{enable,disable}_feature Christoph Hellwig
2022-07-08 10:33 ` Will Deacon
2022-07-15 8:14 ` remove dead iommu code v2 Joerg Roedel
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=20220708101244.GA5395@willie-the-truck \
--to=will@kernel.org \
--cc=baolu.lu@linux.intel.com \
--cc=dwmw2@infradead.org \
--cc=hch@lst.de \
--cc=iommu@lists.linux-foundation.org \
--cc=jean-philippe@linaro.org \
--cc=joro@8bytes.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=robin.murphy@arm.com \
--cc=sven@svenpeter.dev \
--cc=yong.wu@mediatek.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