Skip to contentSkip to conversation

Rust fixes for 6.15

GIT PULL Merged Miguel Ojeda 2 participants 2 messages Apr 19, 2025 Rust

lore
Share & tools
lore

Miguel Ojeda

author maintainer
#0 lore raw

Hi Linus,

Please pull these fixes for Rust.

They have all been in linux-next for at least a couple rounds.

No conflicts expected.

Thanks!

Cheers,
Miguel

The following changes since commit 0af2f6be1b4281385b618cb86ad946eded089ac8:

Linux 6.15-rc1 (2025-04-06 13:11:33 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/ojeda/linux.git tags/rust-fixes-6.15

for you to fetch changes up to c1b4071ec3a6a594df6c49bf8f04a60a88072525:

rust: helpers: Add dma_alloc_attrs() and dma_free_attrs() (2025-04-15 23:06:03 +0200)

----------------------------------------------------------------
Rust fixes for v6.15

Toolchain and infrastructure:

- Fix missing KASAN LLVM flags on first build (and fix spurious rebuilds) by skipping '--target'.

- Fix Make < 4.3 build error by using '$(pound)'.

- Fix UML build error by removing 'volatile' qualifier from io helpers.

- Fix UML build error by adding 'dma_{alloc,free}_attrs()' helpers.

- Clean gendwarfksyms warnings by avoiding to export '__pfx' symbols.

- Clean objtool warning by adding a new 'noreturn' function for 1.86.0.

- Disable 'needless_continue' Clippy lint due to new 1.86.0 warnings.

- Add missing 'ffi' crate to 'generate_rust_analyzer.py'.

'pin-init' crate:

- Import a couple fixes from upstream.

----------------------------------------------------------------
FUJITA Tomonori (2):
rust: helpers: Remove volatile qualifier from io helpers
rust: helpers: Add dma_alloc_attrs() and dma_free_attrs()

Lukas Fischer (1):
scripts: generate_rust_analyzer: Add ffi crate

Miguel Ojeda (6):
rust: pin-init: alloc: restrict impl ZeroableOption for Box to T: Sized
rust: pin-init: use Markdown autolinks in Rust comments
rust: disable clippy::needless_continue
rust: kasan/kbuild: fix missing flags on first build objtool/rust: add one more noreturn Rust function for Rust 1.86.0
rust: kbuild: use pound to support GNU Make < 4.3

Sami Tolvanen (1):
rust: kbuild: Don't export __pfx symbols

 MAINTAINERS                             |  1 +
 Makefile                                |  1 -
 rust/Makefile                           |  2 +-
 rust/helpers/dma.c                      | 16 ++++++++++++++++
 rust/helpers/helpers.c                  |  1 +
 rust/helpers/io.c                       | 34 ++++++++++++++++-----------------
 rust/pin-init/examples/pthread_mutex.rs |  2 +-
 rust/pin-init/src/alloc.rs              |  8 +++-----
 rust/pin-init/src/lib.rs                |  2 +-
 scripts/Makefile.compiler               |  4 ++--
 scripts/generate_rust_analyzer.py       | 12 +++++++++---
 tools/objtool/check.c                   |  1 +
 12 files changed, 53 insertions(+), 31 deletions(-)
 create mode 100644 rust/helpers/dma.c
merge bot Merged
#1 lore raw
The pull request you sent on Sat, 19 Apr 2025 12:34:43 +0200:

The pull request you sent on Sat, 19 Apr 2025 12:34:43 +0200:

Quoted 1 line

https://git.kernel.org/pub/scm/linux/kernel/git/ojeda/linux.git tags/rust-fixes-6.15

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/0bd2f269ae892ce7283fee8fcfe2c6c971d871bc

Thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html