885014bcf284cdfbe3428f2cfa3882edde5ff5fa |
|
27-Sep-2013 |
Felix Fietkau <nbd@openwrt.org> |
MIPS: improve checks for noncoherent DMA Only one MIPS development board actually supports enabling/disabling DMA coherency at runtime, so it's not a good idea to push the overhead of checking that configuration setting onto every other supported target as well. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John Crispin <blogic@openwrt.org> Patchwork: http://patchwork.linux-mips.org/patch/5912/
|
4e7f72660c39a81cc5745d5c6f23f9500f80d8d8 |
|
15-Aug-2013 |
Felix Fietkau <nbd@openwrt.org> |
MIPS: Remove unnecessary platform dma helper functions The semantics stay the same - on Cavium Octeon the functions were dead code (it overrides the MIPS DMA ops) - on other platforms they contained no code at all. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/5720/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
4954a9a211f1863e3ca3958fd56ad06e1bddc22d |
|
10-Jun-2013 |
Jayachandran C <jchandra@broadcom.com> |
MIPS: Support SWIOTLB in default dma operations Provide a default implementation of phys_to_dma and dma_to_phys in mach-generic/dma_coherence.h. If CONFIG_NEED_SG_DMA_LENGTH is defined, the dma_length field in struct scatterlist is used. Set this up in mips_dma_map_sg so that the default mips DMA ops can be used when SWIOTLB is enabled. Signed-off-by: Jayachandran C <jchandra@broadcom.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/5409/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
b6d92b4a6bdb880b39789c677b952c53a437028d |
|
25-Mar-2013 |
Steven J. Hill <Steven.Hill@imgtec.com> |
MIPS: Add option to disable software I/O coherency. Some MIPS controllers have hardware I/O coherency. This patch detects those and turns off software coherency. A new kernel command line option also allows the user to manually turn software coherency on or off. Signed-off-by: Steven J. Hill <Steven.Hill@imgtec.com>
|
98f4a2c27c76e7eaf75c2f3f25487fabca62ef3d |
|
25-Jul-2011 |
Ralf Baechle <ralf@linux-mips.org> |
MIPS: Remove pointless return statement from empty void functions. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> To: Sergei Shtylyov <sshtylyov@mvista.com> Cc: linux-mips@linux-mips.org Patchwork: https://patchwork.linux-mips.org/patch/2391/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
3807ef3f61e094c9417d1a12f18d6b3c8e27d96f |
|
24-Apr-2009 |
Kevin Cernekee <cernekee@gmail.com> |
MIPS: Pass struct device to plat_dma_addr_to_phys() Signed-off-by: Kevin Cernekee <cernekee@gmail.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
d3f634b96a86521f51bbaf04a81e34e7adb0eeb4 |
|
24-Apr-2009 |
Kevin Cernekee <cernekee@gmail.com> |
MIPS: Add size and direction arguments to plat_unmap_dma_mem() Signed-off-by: Kevin Cernekee <cernekee@gmail.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
843aef4930b9953c9ca624a990b201440304b56f |
|
12-Dec-2008 |
David Daney <ddaney@caviumnetworks.com> |
MIPS: Adjust the dma-common.c platform hooks. We add a dev parameter to plat_unmap_dma_mem(), and hooks for plat_dma_supported() and plat_extra_sync_for_device() which should be nop changes for all existing targets. Signed-off-by: David Daney <ddaney@caviumnetworks.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|
384740dc49ea651ba350704d13ff6be9976e37fe |
|
16-Sep-2008 |
Ralf Baechle <ralf@linux-mips.org> |
MIPS: Move headfiles to new location below arch/mips/include Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
|