]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3a89b2e7f9c335b6dd9ed79111e87ce64df90acf
tree40383833952894440dedc08b4ceb518a10b8aa0c
parent80f7d969b0dfb8f934dee34e6dac905abca25a8a
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