On Friday 12 February 2010, Rafael J. Wysocki wrote:
...
In fact there are two problems in there. First, the bridge event notification
calls handle_bridge_insertion() which attempts to install a PM notifier for
the bridge and that deadlocks, because it tries to acquire the mutex
recursively. Second, apparently, init_bridge_misc() may be called in the
notification code path and it attempts to unregister the notifier and register
it again, which can't be done with pci_acpi_notify_mtx held.
I guess there are similar problems on the hot remove notification path.
Anyway, I have a new version of the patch and I'm going to test it a bit
over the weekend. Unfortunately, I don't have hardware with PCI hotplug
capability, so I'll send you the new patch for testing on Monday, if you don't
mind.
Rafael
--