11 May, 2007
1 commit
-
Lots of places where we passed a "struct pci_device *" rather than
a "struct device *". One place where we used a "%s" in the format,
but forgot to provide an argument.Acked-by: John Keller
Signed-off-by: Tony Luck
03 Feb, 2007
1 commit
-
Support for dynamic loading and unloading of ACPI SSDT tables upon slot
hotplugs and unplugs.On SN platforms, we now represent every populated root bus slot with a single
ACPI SSDT table containing info for every device and PPB attached to the slot.
These SSDTs are generated by the prom at initial boot and hotplug time. The
info in these SSDT tables is used by the SN kernel IO "fixup" code (which is
called at boot and hotplug time).On hotplugs (i.e. enable_slot()), if running with an ACPI capable prom,
attempt to obtain a new ACPI SSDT table for the slot being hotplugged. If
successful, add the table to the ACPI namespace (acpi_load_table()) and then
walk the new devices and add them to the ACPI infrastructure (acpi_bus_add()).On hot unplugs (i.e. disable_slot()), if running with an ACPI capable prom,
attempt to remove the SSDT table associated with the slot from the ACPI
namespace (acpi_unload_table_id()) and infastructure (acpi_bus_trim()).From: John Keller
A bug was fixed where the sgi hotplug driver was removing
the slot's SSDT table from the ACPI namespace a bit too early in
disable_slot(). Also, we now call acpi_bus_start() subsequent
to acpi_bus_add().Signed-off-by: Aaron Young
Cc: Greg KH
Cc: "Luck, Tony"
Signed-off-by: Andrew Morton
Signed-off-by: Len Brown
02 Dec, 2006
1 commit
-
A few minor changes to the way slot/device fixup is done.
No need to be calling sn_pci_controller_fixup(), as
a root bus cannot be hotplugged.Signed-off-by: John Keller
Signed-off-by: Greg Kroah-Hartman
19 Oct, 2006
1 commit
-
This makes it possible to build pci hotplug drivers outside of the main
kernel tree, and Sam keeps telling me to move local header files to
their proper places...Signed-off-by: Greg Kroah-Hartman
20 Jun, 2006
2 commits
-
This is a repost of a patch submitted by Prarit Bhargava on 01-19-06 that
never got integrated.The get_power_status function is currently reporting a bitwise mapping of
the slot if the slot is powered on. It should return 1 if powered on and
0 if powered off.Signed-off-by: Mike Habeck
Signed-off-by: Greg Kroah-Hartman -
SGI hotplug driver changes required to support Tollhouse system PCI
hotplug, and implements the PRF_HOTPLUG_SUPPORT feature bit.Signed-off-by: Prarit Bhargava
Signed-off-by: Greg Kroah-Hartman
27 Mar, 2006
1 commit
-
Semaphore to mutex conversion.
The conversion was generated via scripts, and the result was validated
automatically via a script as well.Signed-off-by: Ingo Molnar
Cc: Dave Jones
Cc: Paul Mackerras
Cc: Ralf Baechle
Cc: Jens Axboe
Cc: Neil Brown
Acked-by: Alasdair G Kergon
Cc: Greg KH
Cc: Dominik Brodowski
Cc: Adam Belay
Cc: Martin Schwidefsky
Cc: "David S. Miller"
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
24 Mar, 2006
1 commit
-
When doing a hotplug removal of a PPB, sn_bus_store_sysdata()
needs to be called for the PPB and all of its children.Acked-by: Prarit Bhargava
Signed-off-by: John Keller
Signed-off-by: Greg Kroah-Hartman
22 Sep, 2005
1 commit
-
This patch converts kcalloc(1, ...) calls to use the new kzalloc() function.
Signed-off-by: Pekka Enberg
Signed-off-by: Andrew Morton
Signed-off-by: Greg Kroah-Hartman
Signed-off-by: Linus Torvalds
09 Sep, 2005
1 commit
-
These fixes were suggested by pcihpd-discuss, but were dropped in the
initial checkin of the code. These fixes include cleaning up the
hotplug driver sysfs filename, and some minor code cleanups. The driver
also requires at least PROM 4.30, not 4.20.Signed-off-by: Prarit Bhargava
Signed-off-by: Greg Kroah-Hartman
07 Jul, 2005
1 commit
-
This patch is the SGI hotplug driver and additional changes required for
the driver. These modifications include changes to the SN io_init.c code
for memory management, the inclusion of new SAL calls to enable and disable
PCI slots, and a hotplug-style driver.Signed-off-by: Prarit Bhargava
Signed-off-by: Tony Luck