Re: [PATCH] powerpc/pci: reorder pci bus/bridge unregistration during PHB removal

2014-07-29 Thread Tyrel Datwyler
On 07/28/2014 06:44 PM, Michael Ellerman wrote: On Mon, 2014-07-28 at 20:48 -0400, Tyrel Datwyler wrote: Commit bcdde7e made __sysfs_remove_dir() recursive and introduced a BUG_ON during PHB removal while attempting to delete the power managment attribute group of the bus. This is a result of

[PATCH] powerpc/pci: reorder pci bus/bridge unregistration during PHB removal

2014-07-29 Thread Tyrel Datwyler
Commit bcdde7e made __sysfs_remove_dir() recursive and introduced a BUG_ON during PHB removal while attempting to delete the power managment attribute group of the bus. This is a result of tearing the bridge and bus devices down out of order in remove_phb_dynamic. Since, the the bus resides below

[PATCH] powerpc/pci: reorder pci bus/bridge unregistration during PHB removal

2014-07-28 Thread Tyrel Datwyler
Commit bcdde7e made __sysfs_remove_dir() recursive and introduced a BUG_ON during PHB removal while attempting to delete the power managment attribute group of the bus. This is a result of tearing the bridge and bus devices down out of order in remove_phb_dynamic. Since, the the bus resides below

Re: [PATCH] powerpc/pci: reorder pci bus/bridge unregistration during PHB removal

2014-07-28 Thread Michael Ellerman
On Mon, 2014-07-28 at 20:48 -0400, Tyrel Datwyler wrote: Commit bcdde7e made __sysfs_remove_dir() recursive and introduced a BUG_ON during PHB removal while attempting to delete the power managment attribute group of the bus. This is a result of tearing the bridge and bus devices down out of