[PATCH v4 0/3] Additional improvements for dma coherent allocator
From: Abdiel Janulgue
Date: Mon Jun 02 2025 - 04:55:03 EST
Changes since v3:
- Improve document clarity and move the range checker in as_slice/write
to a common function (Alexandre Courbot).
Link to v3: https://lore.kernel.org/lkml/20250425073726.1027068-1-abdiel.janulgue@xxxxxxxxx/
Changes since v2:
- Rebase update, add fix from Alexandre Courbot, commit clarifications,
minor sample driver improvements in error handling.
Link to v1: https://lore.kernel.org/lkml/20250410085916.546511-1-abdiel.janulgue@xxxxxxxxx/
Changes since v1:
- Pull in reviewed-by tags and include links.
- Improve error handling in rust dma sample driver.
- Clarifications in documentation.
Abdiel Janulgue (3):
rust: dma: clarify wording and be consistent 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 | 150 +++++++++++++++++++++++++++++++--------
samples/rust/rust_dma.rs | 28 ++++----
2 files changed, 137 insertions(+), 41 deletions(-)
base-commit: 7a17bbc1d952057898cb0739e60665908fbb8c72
--
2.43.0