Skip to content

Additional improvements for dma coherent allocator

Abdiel Janulgue linux-iommu lkml rust-for-linux 4 versions – Applied

Status from this message: Applied to alloc-next, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 6 repliesApplied
  2. v33 patches 1 replySuperseded
  3. v23 patches 6 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches21 repliesSuperseded

Changes in v4 from the cover letter

- 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/[email protected]/

Patches in v4 Applied

#Subject and filesSizeRepliesApplied
1/3rust: dma: clarify wording and be consistent in `coherent` nomenclaturerust/kernel/dma.rs+5 -51 reply
2/3rust: dma: convert the read/write macros to return Resultrust/kernel/dma.rs samples/rust/rust_dma.rs+46 -360 replies
3/3rust: dma: add as_slice/write functions for CoherentAllocationrust/kernel/dma.rs+86 -04 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchBenno LossinAndreas HindborgAlexandre Courbot
1/3R-b R-b
2/3R-b
3/3R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

Cover letter [PATCH v4 0/3] Additional improvements for dma coherent allocator

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/[email protected]/

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/[email protected]/

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

Signature · 1 line
2.43.0