[PATCH 0/7] MIPS DMA coherence fixes

Jiaxun Yang jiaxun.yang at flygoat.com
Tue Feb 21 23:46:06 AEDT 2023


Jiaxun Yang (7):
  MIPS: Remove DMA_PERDEV_COHERENT
  MIPS: Always select ARCH_HAS_SYNC_DMA_FOR_CPU for noncoherent
    platforms
  MIPS: c-r4k: Always install dma flush functions
  dma-mapping: Always provide dma_default_coherent
  dma-mapping: Provide CONFIG_ARCH_DMA_DEFAULT_COHERENT
  riscv: Select ARCH_DMA_DEFAULT_COHERENT
  of: address: Use dma_default_coherent to determine default coherency

 arch/mips/Kconfig           | 16 ++--------------
 arch/mips/mm/c-r4k.c        | 12 +++---------
 arch/powerpc/Kconfig        |  1 -
 arch/riscv/Kconfig          |  2 +-
 drivers/of/Kconfig          |  4 ----
 drivers/of/address.c        |  2 +-
 include/linux/dma-map-ops.h |  1 +
 kernel/dma/Kconfig          |  3 +++
 kernel/dma/mapping.c        |  6 +++++-
 9 files changed, 16 insertions(+), 31 deletions(-)

-- 
2.37.1 (Apple Git-137.1)



More information about the Linuxppc-dev mailing list