15 Apr, 2006

1 commit

  • The init function for the RPA PCI Hotplug driver returns -ENODEV in the
    case that no hotplug-capable slots are detected in the system. This is
    bad, since hot-capable slots can be added after boot to a purely virtual
    POWER partition. This is also bad because DLPAR I/O operations depend
    on the rpaphp module.

    Change the rpaphp init module to return success for the case of
    partitions that own no hotplug-capable slots at boot. Such slots can be
    dynamically added after boot.

    Signed-off-by: John Rose
    Signed-off-by: Greg Kroah-Hartman

    John Rose
     

01 Feb, 2006

4 commits


29 Oct, 2005

1 commit

  • This is a minor patch to the ppc64 PCI hotplug code; it makes the call to
    rpaphp_unconfig_pci_adapter() symmetric with respect to the call to
    rpaphp_config_pci_adapter(). I discussed this with John Rose, who
    had provided the last round of changes for these functions; he
    appearently had this patch but somehow failed to mail it out.

    Tested. (added/removed device).

    Signed-off-by: Linas Vepstas

    drivers/pci/hotplug/rpaphp.h | 3 ++-
    drivers/pci/hotplug/rpaphp_core.c | 5 ++++-
    drivers/pci/hotplug/rpaphp_pci.c | 11 +++--------
    3 files changed, 9 insertions(+), 10 deletions(-)

    linas
     

09 Sep, 2005

2 commits

  • Currently rpaphp registers the following bus types as hotplug slots:
    1) Actual PCI Hotplug slots
    2) Embedded/Internal PCI slots
    3) PCI Host Bridges

    The second and third bus types are not actually direct parents of
    removable adapters. As such, the rpaphp has special case code to fake
    results for attributes like power, adapter status, etc. This patch
    removes types 2 and 3 from the rpaphp module.

    This patch also changes the DLPAR module so that slots can be
    DLPAR-added/removed without having been designated as hotplug-capable.

    Signed-off-by: John Rose
    Signed-off-by: Greg Kroah-Hartman

    John Rose
     
  • Currently, rpaphp registers Virtual I/O slots as hotplug slots. The
    only purpose of this registration is to ensure that the VIO subsystem
    is notified of new VIO buses during DLPAR adds. Similarly, rpaphp
    notifies the VIO subsystem when a VIO bus is DLPAR-removed. The rpaphp
    module has special case code to fake results for attributes like power,
    adapter status, etc.

    The VIO register/unregister functions could just as easily be made from
    the DLPAR module. This patch moves the VIO registration calls to the
    DLPAR module, and removes the VIO fluff from rpaphp altogether.

    Signed-off-by: John Rose
    Signed-off-by: Greg Kroah-Hartman

    John Rose
     

17 Apr, 2005

1 commit

  • Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.

    Let it rip!

    Linus Torvalds