From: Michael Kelley (LINUX) mikelley@microsoft.com Sent: Friday, April 7, 2023 9:15 AM ...
Commit 414428c5da1c ("PCI: hv: Lock PCI bus on device eject") added pci_lock_rescan_remove() and pci_unlock_rescan_remove() in create_root_hv_pci_bus() and in hv_eject_device_work() to address the race between create_root_hv_pci_bus() and hv_eject_device_work(), but it turns that grubing the pci_rescan_remove_lock mutex is not enough:
There's some kind of spelling error or typo above. Should "grubing" be "grabbing"? Or did you intend something else?
Michael
Sorry, it's a typo. The "grubing" should be "grabbing". I suppose the PCI maintainers can help fix this. Let me know if v3 is needed.