[(subset) PATCH v2 0/3] riscv: dma-mapping: unify support for cache flushes

From: Prabhakar
Date: Mon Aug 14 2023 - 16:30:27 EST


From: Lad Prabhakar <prabhakar.mahadev-lad.rj@xxxxxxxxxxxxxx>

This patch series is a subset from Arnd's original series [0]. Ive just
picked up the bits required for RISC-V unification of cache flushing.
Remaining patches from the series [0] will be taken care by Arnd soon.

Cheers,
Prabhakar

v1->v2
* Dropped others archs
* Included RB and ACKs
* Fixed checkpatch issues

V1:
[0] https://patchwork.kernel.org/project/linux-riscv/cover/20230327121317.4081816-1-arnd@xxxxxxxxxx/

Arnd Bergmann (3):
riscv: dma-mapping: only invalidate after DMA, not flush
riscv: dma-mapping: skip invalidation before bidirectional DMA
riscv: dma-mapping: replace custom code with generic implementation

arch/riscv/mm/dma-noncoherent.c | 50 +++++++-------
include/linux/dma-sync.h | 113 ++++++++++++++++++++++++++++++++
2 files changed, 136 insertions(+), 27 deletions(-)
create mode 100644 include/linux/dma-sync.h

--
2.34.1