12 Jul, 2007

1 commit

  • On systems where the optional _PS3 ACPI object is not implemented
    acpiphp fails to power off the slot. This is happening because the
    current code does not attempt to remove power using the _EJ0 ACPI
    object. This patch restores the _EJ0 evaluation attempt which was
    apparently inadvertently removed from the power-off sequence when the
    _EJ0 evaluation code was relocated from power_off_slot() to
    acpiphp_eject_slot().

    Signed-off-by: Gary Hade
    Cc:
    Signed-off-by: Kristen Carlson Accardi
    Signed-off-by: Greg Kroah-Hartman

    Gary Hade
     

02 Dec, 2006

1 commit

  • Change memory allocation for acpiphp slots

    Change the "struct slot" that acpiphp uses for managing it's slots to
    directly contain the memory for the needed struct hotplug_slot_info and
    the slot's name. This way we need only two memory allocations per slot
    instead of four.

    While we are at it: make_slot_name() is just a wrapper around snprintf()
    knowing the right arguments to call it. Since the function makes just one
    function call and is only called from one place I inlined it by hand.

    Finally this fixes a possible bug waiting for someone to hit it. There were
    two unused local variables in acpiphp_register_hotplug_slot(). gcc did not
    find them because they were used in memory allocations with sizeof(*var).
    They had the same types as the target of the allocation, but nevertheless
    this was just weird.

    Signed-off-by: Rolf Eike Beer
    Acked-by: Matthew Wilcox
    Signed-off-by: Kristen Carlson Accardi
    Signed-off-by: Greg Kroah-Hartman

    Rolf Eike Beer
     

19 Oct, 2006

1 commit


27 Sep, 2006

1 commit


28 Jun, 2006

2 commits


20 Jun, 2006

1 commit

  • o hotplug slots add
    When the hot-added PCI device is p2p bridge, acpiphp calls
    find_p2p_bridge() to add hotplug slots.

    o hotplug slots remove
    When the hot-removing PCI device is p2p bridge, acpiphp
    calls cleanup_p2p_bridge() to remove hotplug slots.

    o notify handler exchange
    When the p2p bridge is added, acpiphp changes the notify
    hanlder.
    If no bridge device is inserted into the hotpluggable PCI
    slot, acpiphp installs the notify handler for function.
    After the p2p bridge hot-add, acpiphp has to install the
    notify handler for bridge. Because, the role of the
    handlers are not same. The hot-remove case is ditto.

    Signed-off-by: MUNEDA Takahiro
    Signed-off-by: Greg Kroah-Hartman

    MUNEDA Takahiro
     

24 Mar, 2006

4 commits

  • shpchprm_acpi.c and pciehprm_acpi.c are nearly identical. In addition,
    there are functions in both these files that are also in acpiphp_glue.c.
    This patch will remove duplicate functions from shpchp, pciehp, and
    acpiphp and move this functionality to pci_hotplug, as it is not
    hardware specific. Get rid of shpchprm* and pciehprm* files since they
    are no longer needed. shpchprm_nonacpi.c and pciehprm_nonacpi.c are
    identical, as well as shpchprm_legacy.c and can be replaced with a
    macro.

    This patch also changes acpiphp to use the common hpp code.

    Signed-off-by: Kristen Carlson Accardi
    Signed-off-by: Greg Kroah-Hartman

    Kristen Accardi
     
  • o This patch removes IDs (for slots management).
    o This patch removes the slot register/unregister processes
    from the init/exit phases. Instead, adds these processes
    in the bridge add/cleanup phases.
    o Currently, this change doesn't have any meanings. But
    these changes are needed to support p2p bridge(with
    hotplug slot)

    Signed-off-by: MUNEDA Takahiro
    Signed-off-by: Kristen Carlson Accardi
    Signed-off-by: Greg Kroah-Hartman

    MUNEDA Takahiro
     
  • These patches add generic dock event handling to acpiphp. If there are
    pci devices that need to be inserted/removed after the dock event, the
    event notification will be handed down to the normal pci hotplug event
    handler in acpiphp so that new bridges/devices can be enumerated.

    Because some dock stations do not have pci bridges or pci devices that
    need to be inserted after a dock, acpiphp will remain loaded to handle
    dock events even if no hotpluggable pci slots are discovered.

    You probably need to have the pci=assign-busses kernel parameter enabled
    to use these patches, and you may not allow ibm_acpi to handle docking
    notifications and use this patch.

    This patch incorporates feedback provided by many.

    Signed-off-by: Kristen Carlson Accardi
    Signed-off-by: Greg Kroah-Hartman

    Kristen Accardi
     
  • semaphore to mutex conversion.

    the conversion was generated via scripts, and the result was validated
    automatically via a script as well.

    build tested with allyesconfig.

    Signed-off-by: Ingo Molnar
    Signed-off-by: Greg Kroah-Hartman

    Ingo Molnar
     

28 Jun, 2005

1 commit

  • This patch converts acpiphp to use the generic PCI resource assignment code.
    It's quite large, but most of it is deleting the acpiphp_pci and acpiphp_res
    files. It's tested on an hp Integrity rx8620 (which won't work without this
    patch). Testers with other hardware welcomed.

    Signed-off-by: Matthew Wilcox
    Signed-off-by: Andrew Morton
    Signed-off-by: Greg Kroah-Hartman

    Rajesh Shah
     

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