mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Danilo Krummrich" <dakr@kernel.org>
To: "Miguel Ojeda" <ojeda@kernel.org>
Cc: "Lorenzo Stoakes" <lorenzo.stoakes@oracle.com>,
	"Vlastimil Babka" <vbabka@suse.cz>,
	"Liam R. Howlett" <Liam.Howlett@oracle.com>,
	"Uladzislau Rezki" <urezki@gmail.com>,
	"Alex Gaynor" <alex.gaynor@gmail.com>,
	"Boqun Feng" <boqun.feng@gmail.com>,
	"Gary Guo" <gary@garyguo.net>,
	"Björn Roy Baron" <bjorn3_gh@protonmail.com>,
	"Benno Lossin" <benno.lossin@proton.me>,
	"Andreas Hindborg" <a.hindborg@kernel.org>,
	"Alice Ryhl" <aliceryhl@google.com>,
	"Trevor Gross" <tmgross@umich.edu>,
	rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [GIT PULL] Rust ALLOC & DMA for v6.17
Date: Tue, 15 Jul 2025 15:32:44 +0200	[thread overview]
Message-ID: <DBCO0KQERIT5.GS89BZ9LY4TM@kernel.org> (raw)

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

             reply	other threads:[~2025-07-15 13:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-15 13:32 Danilo Krummrich [this message]
2025-07-16 22:50 ` Miguel Ojeda

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DBCO0KQERIT5.GS89BZ9LY4TM@kernel.org \
    --to=dakr@kernel.org \
    --cc=Liam.Howlett@oracle.com \
    --cc=a.hindborg@kernel.org \
    --cc=alex.gaynor@gmail.com \
    --cc=aliceryhl@google.com \
    --cc=benno.lossin@proton.me \
    --cc=bjorn3_gh@protonmail.com \
    --cc=boqun.feng@gmail.com \
    --cc=gary@garyguo.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lorenzo.stoakes@oracle.com \
    --cc=ojeda@kernel.org \
    --cc=rust-for-linux@vger.kernel.org \
    --cc=tmgross@umich.edu \
    --cc=urezki@gmail.com \
    --cc=vbabka@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®