[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6254f754-eb37-6b1e-deea-7443d185d49b@redhat.com>
Date: Mon, 16 Sep 2019 11:14:22 +0200
From: Auger Eric <eric.auger@...hat.com>
To: Thierry Reding <thierry.reding@...il.com>,
Joerg Roedel <joro@...tes.org>
Cc: Jean-Philippe Brucker <jean-philippe@...aro.org>,
Will Deacon <will@...nel.org>, linux-kernel@...r.kernel.org,
virtualization@...ts.linux-foundation.org,
iommu@...ts.linux-foundation.org,
Robin Murphy <robin.murphy@....com>,
David Woodhouse <dwmw2@...radead.org>,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH 0/5] iommu: Implement iommu_put_resv_regions_simple()
Hi Thierry,
On 8/29/19 1:17 PM, Thierry Reding wrote:
> From: Thierry Reding <treding@...dia.com>
>
> Most IOMMU drivers only need to free the memory allocated for each
> reserved region. Instead of open-coding the loop to do this in each
> driver, extract the code into a common function that can be used by
> all these drivers.
If I am not wrong, all the drivers now use the
iommu_put_resv_regions_simple helper. So we can wonder if the callback
is still relevant?
Thanks
Eric
>
> Thierry
>
> Thierry Reding (5):
> iommu: Implement iommu_put_resv_regions_simple()
> iommu: arm: Use iommu_put_resv_regions_simple()
> iommu: amd: Use iommu_put_resv_regions_simple()
> iommu: intel: Use iommu_put_resv_regions_simple()
> iommu: virt: Use iommu_put_resv_regions_simple()
>
> drivers/iommu/amd_iommu.c | 11 +----------
> drivers/iommu/arm-smmu-v3.c | 11 +----------
> drivers/iommu/arm-smmu.c | 11 +----------
> drivers/iommu/intel-iommu.c | 11 +----------
> drivers/iommu/iommu.c | 19 +++++++++++++++++++
> drivers/iommu/virtio-iommu.c | 14 +++-----------
> include/linux/iommu.h | 2 ++
> 7 files changed, 28 insertions(+), 51 deletions(-)
>
Powered by blists - more mailing lists