[GIT PULL] Driver core fixes for 7.0-rc3
From: Danilo Krummrich
Date: Sat Mar 07 2026 - 06:39:27 EST
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(-)