ARM/dma-mapping: drop .dma_supported for IOMMU ops
authorRobin Murphy <robin.murphy@arm.com>
Thu, 21 Apr 2022 11:36:57 +0000 (12:36 +0100)
committerChristoph Hellwig <hch@lst.de>
Thu, 7 Jul 2022 16:18:57 +0000 (18:18 +0200)
commit4867554e3e716f93abb5e3bb0240b582bb0a22c3
tree40383833952894440dedc08b4ceb518a10b8aa0c
parenta6983ef19c2a364ed624f4648214d482f4d6af6c
ARM/dma-mapping: drop .dma_supported for IOMMU ops

When an IOMMU is present, we trust that it should be capable
of remapping any physical memory, and since the device masks
represent the input (virtual) addresses to the IOMMU it makes
no sense to validate them against physical PFNs anyway.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Tested-by: Marc Zyngier <maz@kernel.org>
arch/arm/mm/dma-mapping.c