]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: remove PCI_DMA_BUS_IS_PHYS
authorChristoph Hellwig <hch@lst.de>
Thu, 12 Apr 2018 07:33:30 +0000 (09:33 +0200)
committerChristoph Hellwig <hch@lst.de>
Mon, 7 May 2018 05:15:41 +0000 (07:15 +0200)
commit316fd3471aa57586f7b4c30859dc49d98cdf77b7
treed4f0dc35d4e37e18c432e76292e3a453462dd02e
parent167559bda58eb2411228fbbb6e886516dfcee307
PCI: remove PCI_DMA_BUS_IS_PHYS

This was used by the ide, scsi and networking code in the past to
determine if they should bounce payloads.  Now that the dma mapping
always have to support dma to all physical memory (thanks to swiotlb
for non-iommu systems) there is no need to this crude hack any more.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Palmer Dabbelt <palmer@sifive.com> (for riscv)
Reviewed-by: Jens Axboe <axboe@kernel.dk>
31 files changed:
arch/alpha/include/asm/pci.h
arch/arc/include/asm/pci.h
arch/arm/include/asm/pci.h
arch/arm64/include/asm/pci.h
arch/h8300/include/asm/pci.h
arch/hexagon/kernel/dma.c
arch/ia64/hp/common/sba_iommu.c
arch/ia64/include/asm/pci.h
arch/ia64/kernel/setup.c
arch/ia64/sn/kernel/io_common.c
arch/m68k/include/asm/pci.h
arch/microblaze/include/asm/pci.h
arch/mips/include/asm/pci.h
arch/parisc/include/asm/pci.h
arch/parisc/kernel/setup.c
arch/powerpc/include/asm/pci.h
arch/riscv/include/asm/pci.h
arch/s390/include/asm/pci.h
arch/s390/pci/pci_dma.c
arch/sh/include/asm/pci.h
arch/sh/kernel/dma-nommu.c
arch/sparc/include/asm/pci_32.h
arch/sparc/include/asm/pci_64.h
arch/x86/include/asm/pci.h
arch/xtensa/include/asm/pci.h
drivers/parisc/ccio-dma.c
drivers/parisc/sba_iommu.c
include/asm-generic/pci.h
include/linux/dma-mapping.h
lib/dma-direct.c
tools/virtio/linux/dma-mapping.h