linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] Rust ALLOC & DMA for v6.17
@ 2025-07-15 13:32 Danilo Krummrich
  2025-07-16 22:50 ` Miguel Ojeda
  0 siblings, 1 reply; 2+ messages in thread
From: Danilo Krummrich @ 2025-07-15 13:32 UTC (permalink / raw)
  To: Miguel Ojeda
  Cc: Lorenzo Stoakes, Vlastimil Babka, Liam R. Howlett,
	Uladzislau Rezki, Alex Gaynor, Boqun Feng, Gary Guo,
	Björn Roy Baron, Benno Lossin, Andreas Hindborg, Alice Ryhl,
	Trevor Gross, rust-for-linux, linux-kernel

Hi Miguel,

Please pull the following ALLOC & DMA changes.

All commits have been in linux-next for a couple of weeks. I did a test merge
without any conflicts.

- Danilo

The following changes since commit 19272b37aa4f83ca52bdf9c16d5d81bdd1354494:

  Linux 6.16-rc1 (2025-06-08 13:44:43 -0700)

are available in the Git repository at:

  https://github.com/Rust-for-Linux/linux.git tags/alloc-next-v6.17-2025-07-15

for you to fetch changes up to d49ac7744f578bcc8708a845cce24d3b91f86260:

  MAINTAINERS: add mm folks as reviewers to rust alloc (2025-07-09 16:01:17 +0200)

----------------------------------------------------------------
Alloc & DMA changes for v6.17

Box:
  - Implement Borrow / BorrowMut for Box<T, A>.

Vec:
  - Implement Default for Vec<T, A>.

  - Implement Borrow / BorrowMut for Vec<T, A>.

DMA:
  - Clarify wording and be consistent in 'coherent' nomenclature.

  - Convert the read!() / write!() macros to return a Result.

  - Add as_slice() / write() methods in CoherentAllocation.

  - Fix doc-comment of dma_handle().

  - Expose count() and size() in CoherentAllocation and add the
    corresponding type invariants.

  - Implement CoherentAllocation::dma_handle_with_offset().

  - Require mutable reference for as_slice_mut() and write().

- Add Vlastimil Babka, Liam R. Howlett, Uladzislau Rezki and Lorenzo Stoakes
  as reviewers (thanks everyone).

----------------------------------------------------------------
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

Alexandre Courbot (5):
      rust: alloc: implement `Borrow` and `BorrowMut` for `Vec`
      rust: alloc: implement `Borrow` and `BorrowMut` for `KBox`
      rust: dma: fix doc-comment of dma_handle()
      rust: dma: expose the count and size of CoherentAllocation
      rust: dma: add dma_handle_with_offset method to CoherentAllocation

Alice Ryhl (1):
      rust: vec: impl Default for Vec with any allocator

Danilo Krummrich (2):
      Merge tag 'topic/dma-features-2025-06-23' into alloc-next
      rust: dma: require mutable reference for as_slice_mut() and write()

Lorenzo Stoakes (1):
      MAINTAINERS: add mm folks as reviewers to rust alloc

 MAINTAINERS               |   4 +++
 rust/kernel/alloc/kbox.rs |  57 +++++++++++++++++++++++++++++++++++++
 rust/kernel/alloc/kvec.rs |  55 ++++++++++++++++++++++++++++++++++-
 rust/kernel/dma.rs        | 199 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------
 samples/rust/rust_dma.rs  |  28 +++++++++---------
 5 files changed, 295 insertions(+), 48 deletions(-)

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

* Re: [GIT PULL] Rust ALLOC & DMA for v6.17
  2025-07-15 13:32 [GIT PULL] Rust ALLOC & DMA for v6.17 Danilo Krummrich
@ 2025-07-16 22:50 ` Miguel Ojeda
  0 siblings, 0 replies; 2+ messages in thread
From: Miguel Ojeda @ 2025-07-16 22:50 UTC (permalink / raw)
  To: Danilo Krummrich
  Cc: Miguel Ojeda, Lorenzo Stoakes, Vlastimil Babka, Liam R. Howlett,
	Uladzislau Rezki, Alex Gaynor, Boqun Feng, Gary Guo,
	Björn Roy Baron, Benno Lossin, Andreas Hindborg, Alice Ryhl,
	Trevor Gross, rust-for-linux, linux-kernel

On Tue, Jul 15, 2025 at 3:32 PM Danilo Krummrich <dakr@kernel.org> wrote:
>
> Please pull the following ALLOC & DMA changes.
>
> All commits have been in linux-next for a couple of weeks. I did a test merge
> without any conflicts.

Merged (yesterday) into `rust-next` -- thanks!

And, indeed, thanks to the MM folks.

(I see you needed to merged the DMA ones into Nova too.)

Cheers,
Miguel

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

end of thread, other threads:[~2025-07-16 22:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-15 13:32 [GIT PULL] Rust ALLOC & DMA for v6.17 Danilo Krummrich
2025-07-16 22:50 ` Miguel Ojeda

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).