Fiona Ebner <f.ebner@proxmox.com> reported that "hot-plugging SCSI disks for QEMU virtual machines booting with UEFI and with guest kernels >= 6.5 might be broken. It's not consistently broken, hinting there might be a race somewhere." Reverting the following two commits seems to make it work reliably again: cc22522fd55e2 ("PCI: acpiphp: Use pci_assign_unassigned_bridge_resources() only for non-root bus") 40613da52b13f ("PCI: acpiphp: Reassign resources on bridge if necessary"
Created attachment 305587 [details] v6.7.0-rc3 dmesg log, fails From https://pastebin.com/UvpGAYf2, see https://lore.kernel.org/r/a5121397-2a40-4c77-9dd3-8f0f47ec1360@proxmox.com
Created attachment 305592 [details] v6.7.0-rc3+reverts dmesg log, works
Created attachment 305593 [details] v6.7.0-rc3 dmesg log, works The problem does not happen consistently, but it is racy. This is for a run without the reverts where the issue didn't trigger by chance.
There is another report. [Regression report] commit 40613da52b13 ("PCI: acpiphp: Reassign resources on bridge if necessary") https://lore.kernel.org/all/3c4a446a-b167-11b8-f36f-d3c1b49b42e9@oracle.com/ Thank you very much!