iommu/arm-smmu-v3: Implement the unmap_pages() IOMMU driver callback
authorXiang Chen <chenxiang66@hisilicon.com>
Sat, 31 Jul 2021 02:17:10 +0000 (10:17 +0800)
committerJoerg Roedel <jroedel@suse.de>
Mon, 2 Aug 2021 14:52:55 +0000 (16:52 +0200)
commit59103c79f46ab49453270ec9165cfdb38422088f
treefe481057f6c8a668515cdb89178c019ac16faff1
parent75cc1018a9e1e57d4ae43a101fc08a070894d439
iommu/arm-smmu-v3: Implement the unmap_pages() IOMMU driver callback

Implement the unmap_pages() callback for ARM SMMUV3 driver to allow calls
from iommu_unmap to unmap multiple pages of the same size in one call.
Also remove the unmap() callback for the ARM SMMUV3 driver as it will
no longer be used.

Signed-off-by: Xiang Chen <chenxiang66@hisilicon.com>
Acked-by: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/1627697831-158822-2-git-send-email-chenxiang66@hisilicon.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c