[PATCH stable 4.6 1/4] powerpc/eeh: Fix invalid cached PE primary bus

2016-08-09 Thread Michael Ellerman
From: Gavin Shan commit a3aa256b7258b3d19f8b44557cc64525a993b941 upstream. Backport required due to rename of pcibios_add_pci_devices() to pci_hp_add_devices() upstream - mpe. The PE primary bus cannot be got from its child devices when having full hotplug in error recovery. The PE primary bus

Re: powerpc/eeh: Fix invalid cached PE primary bus

2016-06-23 Thread Michael Ellerman
On Fri, 2016-17-06 at 03:05:11 UTC, Gavin Shan wrote: > The PE primary bus cannot be got from its child devices when having > full hotplug in error recovery. The PE primary bus is cached, which > is done in commit <05ba75f84864> ("powerpc/eeh: Fix stale cached primary > bus"). In eeh_reset_device()

[PATCH] powerpc/eeh: Fix invalid cached PE primary bus

2016-06-16 Thread Gavin Shan
The PE primary bus cannot be got from its child devices when having full hotplug in error recovery. The PE primary bus is cached, which is done in commit <05ba75f84864> ("powerpc/eeh: Fix stale cached primary bus"). In eeh_reset_device(), the flag (EEH_PE_PRI_BUS) is cleared before the PCI hot remo