RFC PCI: acpiphp: workaround race between hotplug and SCSI_SCAN_ASYNC job
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 19 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | PCI: acpiphp: enable slot only if it hasn't been enabled alreadydrivers/ | +3 | 4 replies | |
| 2/2 | PCI: acpiphp: slowdown hotplug if hotplugging multiple devices at a timedrivers/ | +6 | 12 replies |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by.
| Patch | Fiona Ebner |
|---|---|
| 1/2 | T-b |
| 2/2 | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC 0/2] PCI: acpiphp: workaround race between hotplug and SCSI_SCAN_ASYNC job
Hacks to mask a race between HBA scan job and bridge re-configuration(s) during hotplug.
I don't like it a bit but it something that could be done quickly and solves problems that were reported.
Other options to discuss/possibly more invasive:
1: make sure pci_assign_unassigned_bridge_resources() doesn't reconfigure
bridge if it's not necessary.
2. make SCSI_SCAN_ASYNC job wait till hotplug is finished for all slots on the bridge or somehow restart the job if it fails
3. any other ideas?
1st reported: https://lore.kernel.org/r/[email protected]
Igor Mammedov (2):
PCI: acpiphp: enable slot only if it hasn't been enabled already
PCI: acpiphp: slowdown hotplug if hotplugging multiple devices at a
time
drivers/pci/hotplug/acpiphp_glue.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)
Signature · 1 line
2.39.3