[PATCH v3 2/3] riscv: dma-mapping: skip invalidation before bidirectional DMA

Arnd Bergmann arnd at arndb.de
Sun Aug 27 12:41:08 PDT 2023


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



More information about the linux-riscv mailing list