Skip to contentSkip to conversation

Driver core fixes for 7.0-rc3

GIT PULL Merged Danilo Krummrich 2 participants 2 messages Mar 7

Subsystems (2)
lore
Share & tools
lore

Danilo Krummrich

author maintainer
#0 lore raw

Hi Linus,

Please pull the following revert; no other fixes included.

It has been in linux-next for a couple rounds; no conflicts expected.

Please expect a follow-up regarding the driver_override issue for likely -rc4 or -rc5.

- Danilo

The following changes since commit 11439c4635edd669ae435eec308f4ab8a0804808:

Linux 7.0-rc2 (2026-03-01 15:39:31 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/driver-core/driver-core.git tags/driver-core-7.0-rc3

for you to fetch changes up to 9de68394a61528d40f575c3e6719cc75c56f62c3:

Revert "driver core: enforce device_lock for driver_match_device()" (2026-03-03 13:12:42 +0100)

----------------------------------------------------------------
Driver core fixes for 7.0-rc3

- Revert "driver core: enforce device_lock for driver_match_device()":

When a device is already present in the system and a driver is registered on the same bus, we iterate over all devices registered on this bus to see if one of them matches. If we come across an already bound one where the corresponding driver crashed while holding the device lock (e.g. in probe()) we can't make any progress anymore.

Thus, revert and clarify that an implementer of struct bus_type must not expect match() to be called with the device lock held.

----------------------------------------------------------------
Danilo Krummrich (1):
Revert "driver core: enforce device_lock for driver_match_device()"

 drivers/base/base.h        | 11 +----------
 drivers/base/dd.c          |  2 +-
 include/linux/device/bus.h |  2 ++
 3 files changed, 4 insertions(+), 11 deletions(-)
merge bot Merged
#1 lore raw
The pull request you sent on Sat, 07 Mar 2026 12:39:17 +0100:

The pull request you sent on Sat, 07 Mar 2026 12:39:17 +0100:

Quoted 1 line

git://git.kernel.org/pub/scm/linux/kernel/git/driver-core/driver-core.git tags/driver-core-7.0-rc3

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

Thank you!

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