x86: remove arch specific dma_supported implementation
authorChristoph Hellwig <hch@lst.de>
Mon, 22 May 2017 09:38:27 +0000 (11:38 +0200)
committerChristoph Hellwig <hch@lst.de>
Wed, 28 Jun 2017 13:54:46 +0000 (06:54 -0700)
commit5860acc1a905b05c14e9ed9e22c20aad1a72554a
treec7de41ef603b7f179b06241ca055966e65dcc995
parent418a7a7e4f05f36d6e4ab5b8548ea71f0b602140
x86: remove arch specific dma_supported implementation

And instead wire it up as method for all the dma_map_ops instances.

Note that this also means the arch specific check will be fully instead
of partially applied in the AMD iommu driver.

Signed-off-by: Christoph Hellwig <hch@lst.de>
arch/x86/include/asm/dma-mapping.h
arch/x86/include/asm/iommu.h
arch/x86/kernel/amd_gart_64.c
arch/x86/kernel/pci-calgary_64.c
arch/x86/kernel/pci-dma.c
arch/x86/kernel/pci-nommu.c
arch/x86/pci/sta2x11-fixup.c
drivers/iommu/amd_iommu.c
drivers/iommu/intel-iommu.c