• Gavin Shan's avatar
    powerpc/eeh: pseries platform config space access in EEH · 3780444c
    Gavin Shan authored
    With the original EEH implementation, the access to config space of
    the corresponding PCI device is done by RTAS sensitive function. That
    depends on pci_dn heavily. That would limit EEH extension to other
    platforms like powernv because other platforms might have different
    ways to access PCI config space.
    
    The patch splits those functions used to access PCI config space
    and implement them in platform related EEH component. It would be
    helpful to support EEH on multiple platforms simutaneously in future.
    Signed-off-by: default avatarGavin Shan <shangw@linux.vnet.ibm.com>
    Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
    3780444c
eeh.h 8.84 KB