Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965066AbXA3ANZ (ORCPT ); Mon, 29 Jan 2007 19:13:25 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965005AbXA3ANZ (ORCPT ); Mon, 29 Jan 2007 19:13:25 -0500 Received: from ns2.suse.de ([195.135.220.15]:54099 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964860AbXA3ANY (ORCPT ); Mon, 29 Jan 2007 19:13:24 -0500 Date: Mon, 29 Jan 2007 16:12:24 -0800 From: Greg KH 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" Subject: Re: [PATCH 3/3] Altix: Add ACPI SSDT PCI device support (hotplug) 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 Content-Disposition: inline In-Reply-To: <200701270204.43835.lenb@kernel.org> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1779 Lines: 42 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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/