powerpc/powernv: Detach from PE on releasing PCI device

Michael Ellerman patch-notifications at ellerman.id.au
Fri Sep 16 08:07:41 AEST 2016


On Tue, 2016-06-09 at 06:34:01 UTC, Gavin Shan wrote:
> The PCI hotplug can be part of EEH error recovery. The @pdn and
> the device's PE number aren't removed and added afterwords. The
> PE number in @pdn should be set to an invalid one. Otherwise, the
> PE's device count is decreased on removing devices while failing
> to be increased on adding devices. It leads to unbalanced PE's
> device count and make normal PCI hotplug path broken.
> 
> Fixes: c5f7700bbd2e ("powerpc/powernv: Dynamically release PE")
> Signed-off-by: Gavin Shan <gwshan at linux.vnet.ibm.com>

Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/29bf282dec94f6015a675c0076

cheers


More information about the Linuxppc-dev mailing list