[PATCH 0/3] MIPS: dma-default: fix dma_sync_single_for_*

Denis Orlov denorl2009 at gmail.com
Mon Mar 13 03:53:05 PDT 2023


This fixes a few issues with streaming DMA functions, which should make
those work on real hardware. It also improves the code a bit, removing
unnecessary cache flushing in some cases.

Denis Orlov (3):
  dma: use dma/cpu conversions correctly in dma_map/unmap_single
  MIPS: dma-default: use virtual addresses when flushing caches
  MIPS: dma-default: do not flush caches in dma_sync_single_*
    excessively

 arch/mips/lib/dma-default.c | 36 +++++++++++++++++++-----------------
 drivers/dma/map.c           | 10 ++++------
 2 files changed, 23 insertions(+), 23 deletions(-)

-- 
2.30.2




More information about the barebox mailing list