From: David Daney Date: Fri, 1 Oct 2010 20:27:34 +0000 (-0700) Subject: MIPS: Octeon: Rewrite DMA mapping functions. X-Git-Tag: v2.6.37-rc1~38^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b93b2abce497873be97d765b848e0a955d29f200;p=pandora-kernel.git MIPS: Octeon: Rewrite DMA mapping functions. All Octeon chips can support more than 4GB of RAM. Also due to how Octeon PCI is setup, even some configurations with less than 4GB of RAM will have portions that are not accessible from 32-bit devices. Enable the swiotlb code to handle the cases where a device cannot directly do DMA. This is a complete rewrite of the Octeon DMA mapping code. Signed-off-by: David Daney Patchwork: http://patchwork.linux-mips.org/patch/1639/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed