[PATCH 0/2] Add dma coherent allocator abstraction

From: Abdiel Janulgue
Date: Wed Oct 23 2024 - 07:34:16 EST


This series adds support for the dma coherent allocator. This is based
on code developed by Andreas Hindborg for the rnvme driver. We adapted
this for basic use in the Nova driver to access the GSP via DMA [0].

[0] https://gitlab.freedesktop.org/abj/nova-drm

Abdiel Janulgue (2):
rust: error: Add EOVERFLOW
rust: add dma coherent allocator abstraction.

rust/kernel/dma.rs | 153 +++++++++++++++++++++++++++++++++++++++++++
rust/kernel/error.rs | 1 +
rust/kernel/lib.rs | 1 +
3 files changed, 155 insertions(+)
create mode 100644 rust/kernel/dma.rs


base-commit: 15541c9263ce34ff95a06bc68f45d9bc5c990bcd
--
2.43.0