OSDN Git Service

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

Implement the map_pages() callback for ARM SMMUV3 driver to allow calls
from iommu_map to map multiple pages of the same size in one call.
Also remove the map() 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-3-git-send-email-chenxiang66@hisilicon.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c