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 <h...@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.th...@huawei.com which Joerg has queued up already. It looks like the cleanup still makes sense though, so that's good. Will _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu