[PATCH v3 0/3] riscv: dma-mapping: unify support for cache flushes
From: Prabhakar
Date: Wed Aug 16 2023 - 19:24:42 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
v2->v3
* Got rid of dma-sync.h and included the changes directly into dma-noncoherent.c
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 (2):
riscv: dma-mapping: only invalidate after DMA, not flush
riscv: dma-mapping: skip invalidation before bidirectional DMA
Lad Prabhakar (1):
riscv: dma-mapping: switch over to generic implementation
arch/riscv/mm/dma-noncoherent.c | 60 ++++++++++++++++++++++++++++-----
1 file changed, 51 insertions(+), 9 deletions(-)
--
2.34.1