09 Jan, 2016

1 commit

  • Fix all whitespace issues (missing or needed whitespace) in all files in
    drivers/pci. Code is compiled with allyesconfig before and after code
    changes and objects are recorded and checked with objdiff and they are not
    changed after this commit.

    Signed-off-by: Bogicevic Sasa
    Signed-off-by: Bjorn Helgaas

    Bogicevic Sasa
     

15 Nov, 2013

1 commit


18 Apr, 2013

1 commit


13 Jan, 2012

1 commit


21 Oct, 2008

1 commit


02 Feb, 2008

1 commit

  • Fix presentation of the slot number in the /sys/bus/pci/slots
    directory to match that used in the majority of other drivers.

    > Greg said:
    > How is anyone supposed to write sane managability tools in the
    > presence
    > of such anarchy?
    >
    > > ~ # cat /sys/bus/pci/slots/0000:00:02.2/phy_location
    > > U787A.001.DNZ00Z5-P1-C2
    >
    > Right. This should look like:
    >
    > # cat /sys/bus/pci/slots/U787A.001.DNZ00Z5-P1-C2/address
    > 0000:00:02

    This patch implements exactly what you describe. Boot tested.
    I assume you really mean it -- if so, then please review and
    ack the patch !?

    I have absolutely no clue if this breaks any existing IBM tools.
    I'm pretty sure it doesn't ... but attention Mike Strosaker! does it?

    Signed-off-by: Linas Vepstas
    Cc: Kristen Carlson Accardi
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Greg Kroah-Hartman

    Linas Vepstas
     

03 May, 2007

5 commits


21 Oct, 2006

1 commit


01 Feb, 2006

6 commits


11 Nov, 2005

1 commit


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

6 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
     
  • This patch exports rpaphp_config_pci_adapter() for use by the rpadlpar
    module. It also changes this function by removing any dependencies on
    struct slot. The patch also changes the RPA DLPAR-add path to enable
    newly-added slots in a separate step from that which registers them as
    hotplug slots.

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

    John Rose
     
  • The rpaphp module currently uses a fragile method to find a pci device
    by its device node. This function is unnecessary, so this patch scraps
    it.

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

    John Rose
     
  • The slot structure in the rpaphp module currently references the PCI
    contents of the slot using the PCI device of the parent bridge. This
    is unnecessary, since the module is actually interested in the
    subordinate bus of the bridge. The dependency on a PCI bridge device
    also prohibits the module from registering hotplug slots that have a
    root bridge as a parent, since root bridges on PPC64 don't have PCI
    devices.

    This patch changes struct slot to reference the PCI subsystem using a
    pci_bus rather than a pci_dev.

    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
     
  • Subject line says it all :)

    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