From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Subject: Re: [PATCH 3/3] Altix: Add ACPI SSDT PCI device support (hotplug) Date: Mon, 29 Jan 2007 16:12:24 -0800 Message-ID: <20070130001224.GA7238@suse.de> References: <20061115152454.6047.64973.sendpatchset@attica.americas.sgi.com> <200701270157.43631.lenb@kernel.org> <200701270203.15772.lenb@kernel.org> <200701270204.43835.lenb@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <200701270204.43835.lenb@kernel.org> Sender: linux-ia64-owner@vger.kernel.org To: Len Brown Cc: Andrew Morton , John Keller , linux-acpi@vger.kernel.org, tony.luck@intel.com, linux-ia64@vger.kernel.org, pcihpd-discuss@lists.sourceforge.net, linux-kernel@vger.kernel.org, ayoung@sgi.com, jes@sgi.com, "Starikovskiy, Alexey" List-Id: linux-acpi@vger.kernel.org On Sat, Jan 27, 2007 at 02:04:43AM -0500, Len Brown wrote: > From: John Keller > > 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 This should go through Kristen, as she is now the pci hotplug maintainer, not I. thanks, greg k-h