mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Miguel Ojeda <ojeda@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: "Miguel Ojeda" <ojeda@kernel.org>,
	"Boqun Feng" <boqun@kernel.org>, "Gary Guo" <gary@garyguo.net>,
	"Björn Roy Baron" <bjorn3_gh@protonmail.com>,
	"Benno Lossin" <lossin@kernel.org>,
	"Andreas Hindborg" <a.hindborg@kernel.org>,
	"Alice Ryhl" <aliceryhl@google.com>,
	"Trevor Gross" <tmgross@umich.edu>,
	"Danilo Krummrich" <dakr@kernel.org>,
	"Daniel Almeida" <daniel.almeida@collabora.com>,
	"Tamir Duberstein" <tamird@kernel.org>,
	"Alexandre Courbot" <acourbot@nvidia.com>,
	"Onur Özkan" <work@onurozkan.dev>,
	rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [GIT PULL] Rust fixes for 7.4
Date: Thu, 29 Oct 2026 19:01:16 +0100	[thread overview]
Message-ID: <20261029180116.49074-1-ojeda@kernel.org> (raw)

Hi Linus,

Please pull these fixes for Rust.

They have been in linux-next for a week.

There is a trivial conflict -- the resolution in linux-next is good.

Thanks!

Cheers,
Miguel

The following changes since commit c03c1a14507dfaf8b856c2608f9ac216021fc222:

  Linux 7.3 (2026-10-18 13:14:58 -1000)

are available in the Git repository at:

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

for you to fetch changes up to 7d109178cd644268326cd31702ed46c7ac8bb300:

  rust: dma: declare cfi_encoding for dma_data_direction (2026-10-22 15:36:01 +0200)

----------------------------------------------------------------
Rust fixes for v7.4

Toolchain and infrastructure:

 - Fix 'objtool' warnings for the upcoming Rust 1.101.0 (expected
   2026-12-24) by adding one more 'noreturn' function.

'kernel' crate:

 - Fix KCFI failures on every call from C to Rust IRQ handlers and
   'hrtimer' callbacks by giving the C enum bindings the correct
   'cfi_encoding'. Also prevent the same issue for DMA callbacks
   taking 'dma_data_direction'.

 - 'workqueue' module: fix a runtime warning when queueing work on the
   deprecated 'system_wq' by switching to 'system_{percpu,dfl}_wq'.

----------------------------------------------------------------
Danilo Krummrich (1):
      rust: workqueue: replace deprecated system_wq with system_{percpu,dfl}_wq

Miguel Ojeda (1):
      objtool/rust: add one more `noreturn` Rust function for Rust 1.101.0

Sami Tolvanen (3):
      rust: irq: declare cfi_encoding for irqreturn
      rust: hrtimer: declare cfi_encoding for hrtimer_restart
      rust: dma: declare cfi_encoding for dma_data_direction

 Documentation/rust/testing.rst                    |  2 +-
 Documentation/translations/zh_CN/rust/testing.rst |  2 +-
 drivers/android/binder/process.rs                 |  4 +-
 rust/bindgen_parameters                           |  6 +++
 rust/kernel/dma.rs                                | 21 ++++-----
 rust/kernel/irq/request.rs                        | 28 +++++++-----
 rust/kernel/sync/completion.rs                    |  2 +-
 rust/kernel/sync/lock/spinlock.rs                 |  2 +-
 rust/kernel/time/hrtimer.rs                       |  6 +--
 rust/kernel/workqueue.rs                          | 52 ++++++++++++-----------
 tools/objtool/check.c                             |  1 +
 11 files changed, 71 insertions(+), 55 deletions(-)

             reply	other threads:[~2026-10-29 18:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-29 18:01 Miguel Ojeda [this message]
2026-10-29 20:43 ` Linus Torvalds
2026-10-29 21:16   ` Miguel Ojeda
2026-10-29 21:19     ` Miguel Ojeda
2026-10-29 20:45 ` pr-tracker-bot

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=20261029180116.49074-1-ojeda@kernel.org \
    --to=ojeda@kernel.org \
    --cc=a.hindborg@kernel.org \
    --cc=acourbot@nvidia.com \
    --cc=aliceryhl@google.com \
    --cc=bjorn3_gh@protonmail.com \
    --cc=boqun@kernel.org \
    --cc=dakr@kernel.org \
    --cc=daniel.almeida@collabora.com \
    --cc=gary@garyguo.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lossin@kernel.org \
    --cc=rust-for-linux@vger.kernel.org \
    --cc=tamird@kernel.org \
    --cc=tmgross@umich.edu \
    --cc=torvalds@linux-foundation.org \
    --cc=work@onurozkan.dev \
    /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®