firmware_loader: Fix shutdown ordering and reference counting
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | firmware_loader: Stop pinning modules on registrationdrivers/ | +14 | 0 replies | |
| 2/3 | firmware_loader: Stop pinning parent device per workqueue invocationdrivers/ | +2 | 0 replies | |
| 3/3 | treewide: firmware_loader: Drop the unused @module argumentDocumentation/ drivers/ drivers/ +7 more | +22 | 1 reply |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Chao Gao | Conor Dooley |
|---|---|---|
| 1/3 | T-b | |
| 2/3 | ||
| 3/3 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] firmware_loader: Fix shutdown ordering and reference counting
Chao Gao raised a module reference circular dependency report resulting from *correct* usage of the firmware_upload_register() API [1]. The module reference count is not necessary nor sufficient for protecting against racing unregister against in-flight requests. After that is fixed, a couple more cleanups fall out.
[1]: https://sashiko.dev/#/patchset/20260326084448.29947-1-chao.gao%40intel.com?patch=10705
Dan Williams (3):
firmware_loader: Stop pinning modules on registration
firmware_loader: Stop pinning parent device per workqueue invocation
treewide: firmware_loader: Drop the unused @module argument
.../driver-api/firmware/fw_upload.rst | 2 +- include/linux/firmware.h | 15 +++--- drivers/base/firmware_loader/sysfs_upload.c | 48 ++++++++----------- drivers/cxl/core/memdev.c | 4 +- drivers/firmware/microchip/mpfs-auto-update.c | 2 +- drivers/fpga/intel-m10-bmc-sec-update.c | 4 +- drivers/greybus/gb-beagleplay.c | 2 +- drivers/media/i2c/thp7312.c | 2 +- drivers/net/pse-pd/pd692x0.c | 4 +- lib/test_firmware.c | 3 +- 10 files changed, 38 insertions(+), 48 deletions(-)
base-commit: f338e77383789c0cae23ca3d48adcc5e9e137e3c
Signature · 1 line
2.53.0