iommu/ipmmu-vmsa: Update to {map,unmap}_pages
authorRobin Murphy <robin.murphy@arm.com>
Tue, 15 Nov 2022 15:26:39 +0000 (15:26 +0000)
committerJoerg Roedel <jroedel@suse.de>
Sat, 19 Nov 2022 09:44:14 +0000 (10:44 +0100)
commit0a17bbab2330aecd026696d4decc2636bd31e790
treeabaca68f33587cf49b24cba6fc3f13d1e2f49a74
parent8b35cdcf9bf82098dd15ed02a2a51cdf5f5ca090
iommu/ipmmu-vmsa: Update to {map,unmap}_pages

Update map/unmap to the new multi-page interfaces, which is dead easy
since we just pass them through to io-pgtable anyway. Since these are
domain ops now, the domain is inherently valid (not to mention that
container_of() wouldn't return NULL anyway), so garbage-collect that
check in the process.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Acked-by: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/ad859ccc24720d72f8eafd03817c1fc11255ddc1.1668100209.git.robin.murphy@arm.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/ipmmu-vmsa.c