[GIT PULL] Driver core fixes for 6.16-rc3
From: Danilo Krummrich
Date: Wed Jun 18 2025 - 16:57:24 EST
Hi Linus,
Please pull these driver-core fixes.
The code changes have been in linux-next for a couple rounds.
There is a trivial conflict with your tree, also reported (and resolved) by
Stephen in [1].
- Danilo
[1] https://lore.kernel.org/lkml/20250616093830.49011634@xxxxxxxxxxxxxxxx/
The following changes since commit 19272b37aa4f83ca52bdf9c16d5d81bdd1354494:
Linux 6.16-rc1 (2025-06-08 13:44:43 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/driver-core/driver-core.git tags/driver-core-6.16-rc3
for you to fetch changes up to eab9dcb76b9fca47402c9e93afca243e745a0f02:
Documentation: embargoed-hardware-issues.rst: Add myself for Power (2025-06-18 16:38:50 +0200)
----------------------------------------------------------------
Driver core fixes for 6.16-rc3
- Fix a race condition in Devres::drop(). This depends on two other
patches:
- (Minimal) Rust abstractions for struct completion.
- Let Revocable indicate whether its data is already being revoked.
- Fix Devres to avoid exposing the internal Revocable.
- Add .mailmap entry for Danilo Krummrich.
- Add Madhavan Srinivasan to embargoed-hardware-issues.rst.
----------------------------------------------------------------
Danilo Krummrich (5):
rust: completion: implement initial abstraction
rust: revocable: indicate whether `data` has been revoked already
rust: devres: fix race in Devres::drop()
rust: devres: do not dereference to the internal Revocable
mailmap: add entry for Danilo Krummrich
Madhavan Srinivasan (1):
Documentation: embargoed-hardware-issues.rst: Add myself for Power
.mailmap | 1 +
Documentation/process/embargoed-hardware-issues.rst | 1 +
rust/bindings/bindings_helper.h | 1 +
rust/helpers/completion.c | 8 ++++++++
rust/helpers/helpers.c | 1 +
rust/kernel/devres.rs | 60 ++++++++++++++++++++++++++++++++++++++----------------
rust/kernel/revocable.rs | 18 ++++++++++++----
rust/kernel/sync.rs | 2 ++
rust/kernel/sync/completion.rs | 112 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
9 files changed, 183 insertions(+), 21 deletions(-)
create mode 100644 rust/helpers/completion.c
create mode 100644 rust/kernel/sync/completion.rs