diff options
author | Gavin Shan <gwshan@linux.vnet.ibm.com> | 2016-09-06 06:34:01 (GMT) |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-09-15 03:53:19 (GMT) |
commit | 29bf282dec94f6015a675c007614cb29563f1c18 (patch) | |
tree | a725a9e457f7a5445a20c649071ac0ea017cdf73 /.cocciconfig | |
parent | 6eaed1665fc6864fbdbffcc6f43a7f5d012f3052 (diff) | |
download | linux-29bf282dec94f6015a675c007614cb29563f1c18.tar.xz |
powerpc/powernv: Detach from PE on releasing PCI device
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@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions