]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Octeon: Update DMA mapping operations for OCTEON II processors.
authorDavid Daney <david.daney@cavium.com>
Tue, 22 Nov 2011 14:47:04 +0000 (14:47 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 7 Dec 2011 22:03:29 +0000 (22:03 +0000)
commitbcd436a85651496428f87bac9427e33d297843c2
tree23e47a57ecfac9ad6b70efcb9bf59e6a94b5bc93
parenta1d1c44d70012adb4194af07ad6edeaa913df1ed
MIPS: Octeon: Update DMA mapping operations for OCTEON II processors.

OCTEON II has a new dma to phys mapping method for PCIe.  Define
OCTEON_DMA_BAR_TYPE_PCIE2 to denote this case, and handle it.

OCTEON II also needs a swiotlb if the OHCI USB driver is enabled, so
allocate this too.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2983/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/cavium-octeon/dma-octeon.c
arch/mips/include/asm/octeon/pci-octeon.h