|
@@ -549,7 +549,8 @@ static int ioda_eeh_reset(struct eeh_pe *pe, int option)
|
|
|
ret = ioda_eeh_phb_reset(hose, option);
|
|
|
} else {
|
|
|
bus = eeh_pe_bus_get(pe);
|
|
|
- if (pci_is_root_bus(bus))
|
|
|
+ if (pci_is_root_bus(bus) ||
|
|
|
+ pci_is_root_bus(bus->parent))
|
|
|
ret = ioda_eeh_root_reset(hose, option);
|
|
|
else
|
|
|
ret = ioda_eeh_bridge_reset(hose, bus->self, option);
|