diff options
-rw-r--r-- | arch/powerpc/platforms/pseries/eeh_driver.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/pseries/eeh_driver.c b/arch/powerpc/platforms/pseries/eeh_driver.c index 3170e003f76a..e5b7635202fd 100644 --- a/arch/powerpc/platforms/pseries/eeh_driver.c +++ b/arch/powerpc/platforms/pseries/eeh_driver.c | |||
@@ -361,7 +361,6 @@ struct pci_dn * handle_eeh_events (struct eeh_event *event) | |||
361 | goto hard_fail; | 361 | goto hard_fail; |
362 | } | 362 | } |
363 | 363 | ||
364 | eeh_slot_error_detail(frozen_pdn, 1 /* Temporary Error */); | ||
365 | printk(KERN_WARNING | 364 | printk(KERN_WARNING |
366 | "EEH: This PCI device has failed %d times since last reboot: " | 365 | "EEH: This PCI device has failed %d times since last reboot: " |
367 | "location=%s driver=%s pci addr=%s\n", | 366 | "location=%s driver=%s pci addr=%s\n", |
@@ -375,6 +374,11 @@ struct pci_dn * handle_eeh_events (struct eeh_event *event) | |||
375 | */ | 374 | */ |
376 | pci_walk_bus(frozen_bus, eeh_report_error, &result); | 375 | pci_walk_bus(frozen_bus, eeh_report_error, &result); |
377 | 376 | ||
377 | /* Since rtas may enable MMIO when posting the error log, | ||
378 | * don't post the error log until after all dev drivers | ||
379 | * have been informed. */ | ||
380 | eeh_slot_error_detail(frozen_pdn, 1 /* Temporary Error */); | ||
381 | |||
378 | /* If all device drivers were EEH-unaware, then shut | 382 | /* If all device drivers were EEH-unaware, then shut |
379 | * down all of the device drivers, and hope they | 383 | * down all of the device drivers, and hope they |
380 | * go down willingly, without panicing the system. | 384 | * go down willingly, without panicing the system. |