Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=90fdd6130f5c0053c48e8c8e247091739b6e4092
Commit:     90fdd6130f5c0053c48e8c8e247091739b6e4092
Parent:     147d6a37500348b6bda5738453d84c46678209cf
Author:     Linas Vepstas <[EMAIL PROTECTED]>
AuthorDate: Mon Mar 19 14:55:10 2007 -0500
Committer:  Paul Mackerras <[EMAIL PROTECTED]>
CommitDate: Thu Mar 22 22:52:52 2007 +1100

    [POWERPC] EEH: hotplug recovery bugfix
    
    If a device driver does not have native PCI error recovery,
    a hotplug error recovery will be attemped. In this case,
    the device driver will not report back whether its healthy
    or not; simply assume that it is.
    
    Signed-off-by: Linas Vepstas <[EMAIL PROTECTED]>
    Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>
---
 arch/powerpc/platforms/pseries/eeh_driver.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/arch/powerpc/platforms/pseries/eeh_driver.c 
b/arch/powerpc/platforms/pseries/eeh_driver.c
index 550fad2..d73c297 100644
--- a/arch/powerpc/platforms/pseries/eeh_driver.c
+++ b/arch/powerpc/platforms/pseries/eeh_driver.c
@@ -438,7 +438,8 @@ struct pci_dn * handle_eeh_events (struct eeh_event *event)
        }
 
        /* All devices should claim they have recovered by now. */
-       if (result != PCI_ERS_RESULT_RECOVERED) {
+       if ((result != PCI_ERS_RESULT_RECOVERED) &&
+           (result != PCI_ERS_RESULT_NONE)) {
                printk(KERN_WARNING "EEH: Not recovered\n");
                goto hard_fail;
        }
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to