]> www.infradead.org Git - users/jedix/linux-maple.git/commit
iommu: Restore iommu_flush_iotlb_all()
authorJoerg Roedel <jroedel@suse.de>
Tue, 29 Oct 2024 11:11:49 +0000 (12:11 +0100)
committerJoerg Roedel <jroedel@suse.de>
Tue, 29 Oct 2024 13:36:25 +0000 (14:36 +0100)
commita33bf8d8ce7e06bf0f033865b0cea5887cd2ac8c
tree9590fc4425bfe74114191f29bff7c0b32682a350
parentd14772c0d88c387f881a577aa136e1e9b1291d07
iommu: Restore iommu_flush_iotlb_all()

This patch restores the iommu_flush_iotlb_all() function.
Commit

69e5a17511f6 ("iommu: Remove useless flush from iommu_create_device_direct_mappings()")

claims it removed the last call-site, except it did not. There is still
at least one caller in

drivers/gpu/drm/msm/msm_iommu.c

so keep the function around until all call-sites are updated.

Cc: Jason Gunthorpe <jgg@ziepe.ca>
Fixes: 69e5a17511f6 ("iommu: Remove useless flush from iommu_create_device_direct_mappings()")
Acked-by: Will Deacon <will@kernel.org>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
include/linux/iommu.h