]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/powernv: Fix the state of root PE
authorGavin Shan <gwshan@linux.vnet.ibm.com>
Tue, 13 Sep 2016 06:40:24 +0000 (16:40 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 14 Sep 2016 01:40:09 +0000 (11:40 +1000)
commit1e1a0929f5c7eb3ba173822737091b4d620224b4
tree5f7591de275e9336d4bbaac7bfa204264b9d8f7b
parent66f7c4c12070ca96dcaed6b4297609024f094ebe
powerpc/powernv: Fix the state of root PE

The PE for root bus (root PE) can be removed because of PCI hot
remove in EEH recovery path for fenced PHB error. We need update
@phb->root_pe_populated accordingly so that the root PE can be
populated again in forthcoming PCI hot add path. Also, the PE
shouldn't be destroyed as it's global and reserved resource.

Fixes: 997837a960a0 ("powerpc/powernv: Dynamically release PE")
Reported-by: Frederic Barrat <fbarrat@linux.vnet.ibm.com>
Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/pci-ioda.c