Re: [PATCH v8 2/2] rust: add dma coherent allocator abstraction.

Danilo Krummrich
2025-01-08T15:21:40Z

On Wed, Jan 08, 2025 at 04:18:58PM +0100, Christoph Hellwig wrote:
> On Wed, Jan 08, 2025 at 04:16:18PM +0100, Miguel Ojeda wrote:
> > On Wed, Jan 8, 2025 at 3:00 PM Christoph Hellwig <hch@lst.de> wrote:
> > >
> > > No rust code in kernel/dma, please.
> >
> > What do you suggest?
>
> Keep the wrappers in your code instead of making life painful for
> others.
>

What does "your code" mean? Duplicated in every driver? Otherwise
rust/kernel/dma.rs seems reasonable, no?