21 Oct, 2008

1 commit


21 Apr, 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
     

29 Nov, 2007

1 commit

  • acpiphp.h: not using kernel-doc, so change /** to /*
    acpiphp_core.c: lots of kernel-doc cleanups
    acpiphp_glue.c: lots of kernel-doc cleanups
    acpiphp_ibm.c: lots of kernel-doc cleanups
    cpqphp_core.c: lots of kernel-doc cleanups
    cpqphp_ctrl.c: lots of kernel-doc cleanups
    fakephp.c: correct kernel-doc notation
    pciehp_ctrl.c: correct kernel-doc notation
    rpadlpar_core.c: correct function names & kernel-doc notation
    rpaphp_core.c: correct kernel-doc notation
    shpchp_ctrl.c: correct kernel-doc notation

    Signed-off-by: Randy Dunlap
    Cc: Kristen Accardi
    Signed-off-by: Greg Kroah-Hartman

    Randy Dunlap
     

03 May, 2007

8 commits


01 Feb, 2006

7 commits


10 Jan, 2006

3 commits


14 Nov, 2005

1 commit


11 Nov, 2005

1 commit


31 Oct, 2005

1 commit

  • I recently picked up my older work to remove unnecessary #includes of
    sched.h, starting from a patch by Dave Jones to not include sched.h
    from module.h. This reduces the number of indirect includes of sched.h
    by ~300. Another ~400 pointless direct includes can be removed after
    this disentangling (patch to follow later).
    However, quite a few indirect includes need to be fixed up for this.

    In order to feed the patches through -mm with as little disturbance as
    possible, I've split out the fixes I accumulated up to now (complete for
    i386 and x86_64, more archs to follow later) and post them before the real
    patch. This way this large part of the patch is kept simple with only
    adding #includes, and all hunks are independent of each other. So if any
    hunk rejects or gets in the way of other patches, just drop it. My scripts
    will pick it up again in the next round.

    Signed-off-by: Tim Schmielau
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Tim Schmielau
     

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

7 commits

  • This patch pulls the PCI-related junk out of struct device_node and
    puts it in a separate structure, struct pci_dn. The device_node now
    just has a void * pointer in it, which points to a struct pci_dn for
    nodes that represent PCI devices. It could potentially be used in
    future for device-specific data for other sorts of devices, such as
    virtual I/O devices.

    Signed-off-by: Paul Mackerras

    Paul Mackerras
     
  • 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