• Linas Vepstas's avatar
    [PATCH] ppc64: serialize reports of PCI errors · fd761fd8
    Linas Vepstas authored
    07-eeh-report-race.patch
    
    When a PCI slot is isolated, all PCI functions under that slot are affected.
    If hese functions have separate device drivers, the EEH isolation event
    might be reported multiple times. This patch adds a lock to prevent the
    racing of such multiple reports. It also marks every device under the slot
    as having experienced an EEH event, so that multiple reports may be
    recognized more easily.
    Signed-off-by: default avatarLinas Vepstas <linas@linas.org>
    Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
    fd761fd8
eeh.c 31.5 KB