Re: [PATCH 2/4] spi: spi-fsl-dspi: Use non-coherent memory for DMA

From: James Clark
Date: Tue Jun 10 2025 - 05:03:45 EST




On 10/06/2025 9:26 am, Arnd Bergmann wrote:
On Mon, Jun 9, 2025, at 17:32, James Clark wrote:
Using coherent memory here isn't functionally necessary. Because the
change to use non-coherent memory isn't overly complex and only a few
synchronization points are required, we might as well do it while fixing
up some other DMA issues.

Suggested-by: Arnd Bergmann <arnd@xxxxxxxx>
Signed-off-by: James Clark <james.clark@xxxxxxxxxx>

This version looks good to me,

Acked-by: Arnd Bergmann <arnd@xxxxxxxx>

I had reviewed an internal version originally and had some comment
on that, all of which are addressed now. You did not Cc me on the
other patches, so I looked them up in the archive, Patch 3 also

Yes sorry about that. I've just started using "b4 send" and I was under the impression that it would automatically CC all patches the same way, but apparently not. Maybe I'm holding it wrong.

looks good to me and complements this one (i.e. you really want
the combination). I did not understand the logic in patch 4,
and it would be good if someone else can take a closer look
at that in order to Ack that.

Arnd