Re: [PATCH] usb: atm: use request_firmware_direct() for firmware probing
From: patchwork-bot+netdevbpf
Date: Tue Sep 29 2026 - 19:50:50 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Thu, 24 Sep 2026 08:06:54 +0300 you wrote:
> When disconnecting a device while firmware is not present on the system,
> usbatm_usb_disconnect() waits for the heavy_init thread to finish:
> wait_for_completion(&instance->thread_exited);
>
> If CONFIG_FW_LOADER_USER_HELPER_FALLBACK is enabled, missing firmware
> causes request_firmware() to fall back to sysfs/udevd. This creates a
> circular dependency during disconnect:
> 1. usb_disconnect() holds device_lock(&udev->dev).
> 2. usbatm_usb_disconnect() waits for instance->thread to exit.
> 3. instance->thread waits for request_firmware() sysfs fallback.
> 4. udevd receives the firmware uevent and attempts to read sysfs
> attributes (e.g. serial), blocking on device_lock(&udev->dev).
>
> [...]
Here is the summary with links:
- usb: atm: use request_firmware_direct() for firmware probing
https://git.kernel.org/netdev/net-next/c/f10883b37d9c
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html