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)
commit42998ef08aba01643d99f65718903b4414a8922f
tree40383833952894440dedc08b4ceb518a10b8aa0c
parentae626eb97376148bb63c3f3ca9517fde0f39bec3
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