To be clear I don’t know anything about the DMA API, but is it that the rust devs want to change the API to be friendlier to Rust code rather than translate it? Couldn’t they make like a library or something instead?
No, this is fallout from a patchset adding exactly the rust library you suggest to use the DMA library. And despite this only having changes in the rust/kernel tree, the maintainer of kernel/dma showed up to NAK the patch just because he doesn’t like the idea of rust code in the kernel.
To be clear I don’t know anything about the DMA API, but is it that the rust devs want to change the API to be friendlier to Rust code rather than translate it? Couldn’t they make like a library or something instead?
No, this is fallout from a patchset adding exactly the rust library you suggest to use the DMA library. And despite this only having changes in the rust/kernel tree, the maintainer of kernel/dma showed up to NAK the patch just because he doesn’t like the idea of rust code in the kernel.
Original Patch Set Thread: https://lore.kernel.org/lkml/20250108122825.136021-1-abdiel.janulgue@gmail.com/