rust-for-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/3] Additional improvements for dma coherent allocator
@ 2025-06-02  8:53 Abdiel Janulgue
  2025-06-02  8:53 ` [PATCH v4 1/3] rust: dma: clarify wording and be consistent in `coherent` nomenclature Abdiel Janulgue
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Abdiel Janulgue @ 2025-06-02  8:53 UTC (permalink / raw)
  To: acourbot, dakr
  Cc: Miguel Ojeda, Alex Gaynor, Boqun Feng, Gary Guo,
	Björn Roy Baron, Benno Lossin, Andreas Hindborg, Alice Ryhl,
	Trevor Gross, Valentin Obst, open list, Marek Szyprowski,
	Robin Murphy, airlied, rust-for-linux,
	open list:DMA MAPPING HELPERS, Petr Tesarik, Andrew Morton,
	Herbert Xu, Sui Jingfeng, Randy Dunlap, Michael Kelley,
	Abdiel Janulgue

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@gmail.com/

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@gmail.com/

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-06-23 15:43 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-02  8:53 [PATCH v4 0/3] Additional improvements for dma coherent allocator Abdiel Janulgue
2025-06-02  8:53 ` [PATCH v4 1/3] rust: dma: clarify wording and be consistent in `coherent` nomenclature Abdiel Janulgue
2025-06-13 12:49   ` Andreas Hindborg
2025-06-02  8:53 ` [PATCH v4 2/3] rust: dma: convert the read/write macros to return Result Abdiel Janulgue
2025-06-02  8:53 ` [PATCH v4 3/3] rust: dma: add as_slice/write functions for CoherentAllocation Abdiel Janulgue
2025-06-02 13:05   ` Alexandre Courbot
2025-06-13  9:45     ` Abdiel Janulgue
2025-06-13 10:31       ` Abdiel Janulgue
2025-06-15 12:51       ` Alexandre Courbot
2025-06-23 15:42 ` [PATCH v4 0/3] Additional improvements for dma coherent allocator Danilo Krummrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).