]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/arm-smmu: Implement the unmap_pages() IOMMU driver callback
authorIsaac J. Manjarres <isaacm@codeaurora.org>
Wed, 16 Jun 2021 13:38:55 +0000 (06:38 -0700)
committerJoerg Roedel <jroedel@suse.de>
Mon, 26 Jul 2021 10:37:07 +0000 (12:37 +0200)
commit295f2c5cefb536fd4e122d8ee3a4432da0cc6ad2
tree72b6ca41a9493d7a0fa8eccfa54e30fa6b2d9415
parent18798b65e8b6bd5bca2cef2ff862668568c14858
iommu/arm-smmu: Implement the unmap_pages() IOMMU driver callback

Implement the unmap_pages() callback for the ARM SMMU 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 SMMU driver, as it will no longer be used.

Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org>
Suggested-by: Will Deacon <will@kernel.org>
Signed-off-by: Georgi Djakov <quic_c_gdjako@quicinc.com>
Link: https://lore.kernel.org/r/1623850736-389584-15-git-send-email-quic_c_gdjako@quicinc.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/arm/arm-smmu/arm-smmu.c