aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/platforms/powernv/eeh-powernv.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/powernv/eeh-powernv.c b/arch/powerpc/platforms/powernv/eeh-powernv.c
index 6fb5522acd70..d2f19821d71d 100644
--- a/arch/powerpc/platforms/powernv/eeh-powernv.c
+++ b/arch/powerpc/platforms/powernv/eeh-powernv.c
@@ -1102,6 +1102,13 @@ static int pnv_eeh_reset(struct eeh_pe *pe, int option)
1102 return -EIO; 1102 return -EIO;
1103 } 1103 }
1104 1104
1105 /*
1106 * If dealing with the root bus (or the bus underneath the
1107 * root port), we reset the bus underneath the root port.
1108 *
1109 * The cxl driver depends on this behaviour for bi-modal card
1110 * switching.
1111 */
1105 if (pci_is_root_bus(bus) || 1112 if (pci_is_root_bus(bus) ||
1106 pci_is_root_bus(bus->parent)) 1113 pci_is_root_bus(bus->parent))
1107 return pnv_eeh_root_reset(hose, option); 1114 return pnv_eeh_root_reset(hose, option);