• Paul Mackerras's avatar
    [PATCH] ppc64: Make eeh_init function again · 0160f53e
    Paul Mackerras authored
    My patch "Separate pci bits out of struct device_node" (commit
    1635317f) had the unfortunate
    side-effect that it stopped eeh_init() from working correctly.
    
    It needs the pointers set up by find_and_init_phbs(), but it was being
    called just before find_and_init_phbs().  That meant that we didn't
    enable EEH (pSeries PCI error recovery) on any devices, and that meant
    that on POWER5 systems, the hypervisor wouldn't let us enable memory or
    I/O space access to any devices, and their drivers got somewhat
    confused.
    
    This fixes it by moving the eeh_init call after find_and_init_phbs.
    Tested on a POWER5 partition.
    Signed-of-by: default avatarPaul Mackerras <paulus@samba.org>
    Signed-of-by: default avatarLinus Torvalds <torvalds@osdl.org>
    0160f53e
pSeries_setup.c 14.9 KB