diff options
author | Linas Vepstas <linas@austin.ibm.com> | 2006-12-06 12:32:20 -0600 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-12-08 17:10:18 +1100 |
commit | d0e70341c05f6c31375530e0ae29b319153004a7 (patch) | |
tree | a3352c84ca78be992f3a44b721df80b19192e585 /arch/powerpc/platforms/pseries/eeh.c | |
parent | 3a1d1ac279fac16ab1b41b2868478f3085f9223c (diff) | |
download | lwn-d0e70341c05f6c31375530e0ae29b319153004a7.tar.gz lwn-d0e70341c05f6c31375530e0ae29b319153004a7.zip |
[POWERPC] EEH recovery tweaks
If one attempts to create a device driver recovery sequence that
does not depend on a hard reset of the device, but simply just
attempts to resume processing, then one discovers that the
recovery sequence implemented on powerpc is not quite right.
This patch fixes this up.
Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/platforms/pseries/eeh.c')
-rw-r--r-- | arch/powerpc/platforms/pseries/eeh.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/pseries/eeh.c b/arch/powerpc/platforms/pseries/eeh.c index 3c2d63ebf787..da6e5362e7cd 100644 --- a/arch/powerpc/platforms/pseries/eeh.c +++ b/arch/powerpc/platforms/pseries/eeh.c @@ -337,6 +337,7 @@ int eeh_dn_check_failure(struct device_node *dn, struct pci_dev *dev) printk (KERN_ERR "EEH: Device driver ignored %d bad reads, panicing\n", pdn->eeh_check_count); dump_stack(); + msleep(5000); /* re-read the slot reset state */ if (read_slot_reset_state(pdn, rets) != 0) |