Re: [PATCH 1/1] powerpc/eeh: fix deadlock handling dead PHB

2020-02-19 Thread Michael Ellerman
On Fri, 2020-02-07 at 04:57:31 UTC, Sam Bobroff wrote: > Recovering a dead PHB can currently cause a deadlock as the PCI > rescan/remove lock is taken twice. > > This is caused as part of an existing bug in > eeh_handle_special_event(). The pe is processed while traversing the > PHBs even though t

Re: [PATCH 1/1] powerpc/eeh: fix deadlock handling dead PHB

2020-02-07 Thread Frederic Barrat
Le 07/02/2020 à 05:57, Sam Bobroff a écrit : Recovering a dead PHB can currently cause a deadlock as the PCI rescan/remove lock is taken twice. This is caused as part of an existing bug in eeh_handle_special_event(). The pe is processed while traversing the PHBs even though the pe is unrelate

[PATCH 1/1] powerpc/eeh: fix deadlock handling dead PHB

2020-02-06 Thread Sam Bobroff
Recovering a dead PHB can currently cause a deadlock as the PCI rescan/remove lock is taken twice. This is caused as part of an existing bug in eeh_handle_special_event(). The pe is processed while traversing the PHBs even though the pe is unrelated to the loop. This causes the pe to be, incorrect