From: ebiederm@xmission.com (Eric W. Biederman) Subject: Re: [discuss] Re: 2.6.19-rc4: known unfixed regressions (v3) Date: Wed, 08 Nov 2006 10:38:27 -0700 Message-ID: References: <20061107171143.GU27140@parisc-linux.org> <200611080839.46670.ak@suse.de> <20061108122237.GF27140@parisc-linux.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Cc: Andrew Morton , len.brown@intel.com, Thierry Vignaud , Matthew Wilcox , Ernst Herzberg , Aaron Durbin , Alex Romosan , openib-general@openib.org, Andi Kleen , linux-ide@vger.kernel.org, oprofile-list@lists.sourceforge.net, Jens Axboe , Adrian Bunk , linux-pci@atrey.karlin.mff.cuni.cz, Elimar Riesebieter , discuss@x86-64.org, linux-pm@osdl.org, Komuro , Jeff Chua , Tim Chen , phil.el@wanadoo.fr, gregkh@suse.de, neilb@cse.unsw.edu.au, Linux Kernel Mailing List , linux-acpi@vger.kernel.org, mingo@redhat.com, nfs@lists.sourceforge.net, cpufreq@lists.linux.o Return-path: To: Linus Torvalds In-Reply-To: (Linus Torvalds's message of "Wed, 8 Nov 2006 08:05:18 -0800 (PST)") List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.osdl.org Errors-To: linux-pm-bounces@lists.osdl.org List-ID: Linus Torvalds writes: > On Wed, 8 Nov 2006, Matthew Wilcox wrote: >> >> On Wed, Nov 08, 2006 at 08:39:44AM +0100, Andi Kleen wrote: >> > ACPI knows the number of busses. >> = >> But what if the number of busses increases later, eg by hotplugging >> a card with a PCI-PCI bridge on it? Or does it know the number of >> busses which can be supported by this machine's MMCONFIG region? > > ACPI will give the maximum number. > > However, in this case, the correct thing to do (always _has_ been) is to = > not use ACPI for _anything_, but just read the base and the size of the = > MMCONFIG region from the hardware itself. > > Anyway, I do not consider this a regression. MMCONFIG has _never_ worked = > reliably. It has always been a case of "we can make it work on some = > machines by making it break on others". The implementations I have seen, I believe have all been on bridges and the maximum size is actually generated from the bus number below the bridge. Eric