Hi Christoph,
On 28/01/2025 07:10, Christoph Hellwig wrote:
On Tue, Jan 21, 2025 at 11:54:14AM +0100, Jean-Michel Hautbois wrote:
Introduce `dma_ops` for the Coldfire M5441x platform, enabling both
coherent and streaming DMA operations. This addition should fill the gap
for DMA support integrates with the existing kernel DMA framework.
Arch dma code should not implement DMA OPS, but use the generic
dma-direct code with the right helpes for handling coherency. This
variant looks like it should be using the DMA_COHERENT_POOL allocator
for dma coherent memory.
Thanks for your answer.
I am not sure to understand it though :-) because I can see a few
dma_map_ops implementations in arch code. I tried to let dma_direct do
the work, I can't remember exactly what happened but it was not great :-).
I can give it a second try.
Thanks,
JM