Re: [PATCH v3 2/3] riscv: dma-mapping: skip invalidation before bidirectional DMA
From: Arnd Bergmann
Date: Sun Aug 27 2023 - 15:42:39 EST
On Sun, Aug 27, 2023, at 06:22, Jisheng Zhang wrote:
> On Thu, Aug 17, 2023 at 12:23:35AM +0100, Prabhakar wrote:
>
> The code could be simplified a lot since after this patch, the action
> is always "clean".
>
I think it's better to leave it at the elaborate version, as I still
want to merge my patch series to unify this with the other architectures,
and this would introduce a few compile-time conditionals in here.
Arnd