diff options
author | Christoph Hellwig <hch@lst.de> | 2018-04-12 09:33:30 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-05-07 07:15:41 +0200 |
commit | 325ef1857fff8b2049322921e19421b6c5ad74e5 (patch) | |
tree | d4f0dc35d4e37e18c432e76292e3a453462dd02e /arch/arm64/include | |
parent | ab74cfebafa3b71caa1e82793032b4867dcf5ea6 (diff) | |
download | linux-325ef1857fff8b2049322921e19421b6c5ad74e5.tar.gz linux-325ef1857fff8b2049322921e19421b6c5ad74e5.tar.bz2 linux-325ef1857fff8b2049322921e19421b6c5ad74e5.zip |
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>
Diffstat (limited to 'arch/arm64/include')
-rw-r--r-- | arch/arm64/include/asm/pci.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm64/include/asm/pci.h b/arch/arm64/include/asm/pci.h index 8747f7c5e0e7..9e690686e8aa 100644 --- a/arch/arm64/include/asm/pci.h +++ b/arch/arm64/include/asm/pci.h @@ -18,11 +18,6 @@ #define pcibios_assign_all_busses() \ (pci_has_flag(PCI_REASSIGN_ALL_BUS)) -/* - * PCI address space differs from physical memory address space - */ -#define PCI_DMA_BUS_IS_PHYS (0) - #define ARCH_GENERIC_PCI_MMAP_RESOURCE 1 extern int isa_dma_bridge_buggy; |