Re: [PATCH 2/2] PCI: pciehp: Prevent deadlock on disconnect

2019-08-05 Thread Mika Westerberg
On Mon, Aug 05, 2019 at 01:18:54PM +0200, Lukas Wunner wrote: > On Tue, Jun 18, 2019 at 03:50:51PM +0300, Mika Westerberg wrote: > > If there are more than one PCIe switch with hotplug downstream ports > > hot-removing them leads to a following deadlock: > [...] > > What happens here is that the wh

Re: [PATCH 2/2] PCI: pciehp: Prevent deadlock on disconnect

2019-08-05 Thread Lukas Wunner
On Tue, Jun 18, 2019 at 03:50:51PM +0300, Mika Westerberg wrote: > If there are more than one PCIe switch with hotplug downstream ports > hot-removing them leads to a following deadlock: [...] > What happens here is that the whole hierarchy is runtime resumed and the > parent PCIe downstream port,

[PATCH 2/2] PCI: pciehp: Prevent deadlock on disconnect

2019-06-18 Thread Mika Westerberg
If there are more than one PCIe switch with hotplug downstream ports hot-removing them leads to a following deadlock: INFO: task irq/126-pciehp:198 blocked for more than 120 seconds. "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. irq/126-pciehp D0 198 2 0x