]> git.ipfire.org Git - people/arne_f/kernel.git/commit
powerpc/eeh: Fix fetching bus for single-dev-PE
authorGavin Shan <shangw@linux.vnet.ibm.com>
Wed, 5 Jun 2013 07:34:02 +0000 (15:34 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Jul 2013 17:55:23 +0000 (10:55 -0700)
commitba94200678873543591a50a5de36811ca99131aa
tree39cd88898c734d037202a394fc6c7dbada3bb83a
parent56bd6ad3d86567697c4e3937583b117dcdf096bb
powerpc/eeh: Fix fetching bus for single-dev-PE

commit ea461abf61753b4b79e625a7c20650105b990f21 upstream.

While running Linux as guest on top of phyp, we possiblly have
PE that includes single PCI device. However, we didn't return
its PCI bus correctly and it leads to failure on recovery from
EEH errors for single-dev-PE. The patch fixes the issue.

Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Cc: Steve Best <sbest@us.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/platforms/pseries/eeh_pe.c