[PATCH v2 0/3] Additional improvements for dma coherent allocator

Abdiel Janulgue
2025-04-10T08:59:24Z

Changes since v1:
- Pull in reviewed-by tags and include links.
- Improve error handling in rust dma sample driver.
- Clarifications in documentation.
Link to v1: https://lore.kernel.org/all/20250326201230.3193329-1-abdiel.janulgue@gmail.com/

Abdiel Janulgue (3):
rust: dma: clarify wording and consistency in `coherent` nomenclature
rust: dma: convert the read/write macros to return Result
rust: dma: add as_slice/write functions for CoherentAllocation

rust/kernel/dma.rs | 151 +++++++++++++++++++++++++++++++--------
samples/rust/rust_dma.rs | 25 +++----
2 files changed, 133 insertions(+), 43 deletions(-)

base-commit: 0af2f6be1b4281385b618cb86ad946eded089ac8
--
2.43.0