rust-for-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [GIT PULL] Rust ALLOC & DMA for v6.18
@ 2025-09-04 17:38 Danilo Krummrich
  2025-09-07 22:28 ` Miguel Ojeda
  0 siblings, 1 reply; 2+ messages in thread
From: Danilo Krummrich @ 2025-09-04 17:38 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. There are two trivial
conflicts with the -mm and Linus' tree [1][2].

Some patches that would usually go through this tree went through the -mm tree
[3][4]; [5] and [6] go through drm-rust together with their first user -- one
minor import conflict in samples/rust/rust_dma.rs expected.

- Danilo

[1] https://lore.kernel.org/all/20250818122053.355aab17@canb.auug.org.au/
[2] https://lore.kernel.org/all/20250826173041.3140da7b@canb.auug.org.au/
[3] https://lore.kernel.org/all/20250806124034.1724515-1-vitaly.wool@konsulko.se/
[4] https://lore.kernel.org/all/d2e3d6454c1435713be0fe3c0dc444d2c60bba51.1753929369.git.zhuhui@kylinos.cn/
[5] https://lore.kernel.org/all/20250820145434.94745-1-dakr@kernel.org/
[6] https://lore.kernel.org/all/20250828133323.53311-1-dakr@kernel.org/

The following changes since commit 8f5ae30d69d7543eee0d70083daf4de8fe15d585:

  Linux 6.17-rc1 (2025-08-10 19:41:16 +0300)

are available in the Git repository at:

  https://github.com/Rust-for-Linux/linux.git tags/alloc-next-v6.18-2025-09-04

for you to fetch changes up to fe927defbb4f31c15a52f0372d7f5d608f161086:

  rust: alloc: remove `allocator_test` (2025-08-24 15:30:40 +0200)

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

Allocator:
  - Provide information about the minimum alignment guarantees of
    Kmalloc, Vmalloc and KVmalloc.
  - Take minimum alignment guarantees of allocators for ForeignOwnable
    into account.
  - Remove the `allocator_test` incl. `Cmalloc`.

Box:
  - Implement Box::pin_slice(), which constructs a pinned slice of
    elements.

Vec:
  - Simplify KUnit test module name to "rust_kvec".
  - Add doc-test for Vec::as_slice().
  - Constify various methods.

DMA:
  - Update ARef and AlwaysRefCounted imports.

MISC:
  - Remove support for unused host `#[test]`s.
  - Constify ArrayLayout::new_unchecked().

----------------------------------------------------------------
Alice Ryhl (3):
      rust: alloc: specify the minimum alignment of each allocator
      rust: alloc: take the allocator into account for FOREIGN_ALIGN
      rust: alloc: implement Box::pin_slice()

Danilo Krummrich (1):
      rust: alloc: add ARCH_KMALLOC_MINALIGN to bindgen blocklist

Hui Zhu (2):
      rust: alloc: kvec: add doc example for as_slice method
      rust: alloc: kvec: simplify KUnit test module name to "rust_kvec"

Miguel Ojeda (2):
      rust: kernel: remove support for unused host `#[test]`s
      rust: alloc: remove `allocator_test`

Onur Özkan (2):
      rust: make `ArrayLayout::new_unchecked` a `const fn`
      rust: make `kvec::Vec` functions `const fn`

Shankari Anand (1):
      rust: dma: Update ARef and AlwaysRefCounted imports from sync::aref

 rust/Makefile                       |   9 +--------
 rust/bindgen_parameters             |   1 +
 rust/bindings/bindings_helper.h     |   1 +
 rust/kernel/alloc.rs                |  15 ++++++++-------
 rust/kernel/alloc/allocator.rs      |   8 ++++++++
 rust/kernel/alloc/allocator_test.rs | 113 -----------------------------------------------------------------------------------------------------------------
 rust/kernel/alloc/kbox.rs           |  90 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----
 rust/kernel/alloc/kvec.rs           |  22 ++++++++++++++++------
 rust/kernel/alloc/layout.rs         |   2 +-
 rust/kernel/dma.rs                  |   2 +-
 rust/kernel/error.rs                |   4 ++--
 rust/kernel/lib.rs                  |   2 +-
 rust/kernel/sync/arc.rs             |   6 +++---
 samples/rust/rust_dma.rs            |   2 +-
 14 files changed, 130 insertions(+), 147 deletions(-)
 delete mode 100644 rust/kernel/alloc/allocator_test.rs

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

* Re: [GIT PULL] Rust ALLOC & DMA for v6.18
  2025-09-04 17:38 [GIT PULL] Rust ALLOC & DMA for v6.18 Danilo Krummrich
@ 2025-09-07 22:28 ` Miguel Ojeda
  0 siblings, 0 replies; 2+ messages in thread
From: Miguel Ojeda @ 2025-09-07 22:28 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 Thu, Sep 4, 2025 at 7:38 PM Danilo Krummrich <dakr@kernel.org> wrote:
>
> Please pull the following ALLOC & DMA changes.

Merged into `rust-next` -- thanks for the summary and sending it early!

Cheers,
Miguel

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

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

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-04 17:38 [GIT PULL] Rust ALLOC & DMA for v6.18 Danilo Krummrich
2025-09-07 22:28 ` 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).