From owner-cvs-all@FreeBSD.ORG Wed Oct 6 19:25:07 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 516A616A4CE for ; Wed, 6 Oct 2004 19:25:07 +0000 (GMT) Received: from mail2.speakeasy.net (mail2.speakeasy.net [216.254.0.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2004743D31 for ; Wed, 6 Oct 2004 19:25:07 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 1431 invoked from network); 6 Oct 2004 19:25:06 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 6 Oct 2004 19:25:06 -0000 Received: from [10.50.40.210] (gw1.twc.weather.com [216.133.140.1]) (authenticated bits=0) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id i96JP3ak074634; Wed, 6 Oct 2004 15:25:04 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: "M. Warner Losh" Date: Wed, 6 Oct 2004 15:22:30 -0400 User-Agent: KMail/1.6.2 References: <200410060722.i967MwsJ014694@repoman.freebsd.org> <200410061054.42956.jhb@FreeBSD.org> <20041006.130850.64789190.imp@bsdimp.com> In-Reply-To: <20041006.130850.64789190.imp@bsdimp.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200410061522.30987.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/pci pci_bus.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Oct 2004 19:25:07 -0000 On Wednesday 06 October 2004 03:08 pm, M. Warner Losh wrote: > In message: <200410061054.42956.jhb@FreeBSD.org> > > John Baldwin writes: > : On Wednesday 06 October 2004 03:22 am, Warner Losh wrote: > : > imp 2004-10-06 07:22:58 UTC > : > > : > FreeBSD src repository > : > > : > Modified files: > : > sys/i386/pci pci_bus.c > : > Log: > : > For legacy PCI bridges, limit memory allocation to the top 32MB of > : > RAM. Many older, legacy bridges only allow allocation from this > : > range. This only appies to devices who don't have their memory > : > assigned by the BIOS (since we allocate the ranges so assigned > : > exactly), so should have minimal impact. > : > > : > Hoewver, for CardBus bridges (cbb), they rarely get the resources > : > allocated by the BIOS, and this patch helps them greatly. Typically > : > the 'bad Vcc' messages are caused by this problem. > : > : We really should be looking at the SMAP to find out what the real limits > : of PCI space are I think since I think the SMAP includes an entry for PCI > : memory mapped I/O. > > Can you point me at the details on how to do this? I'd be absolutely > thrilled to do this correctly, but so far my research has been focused > on the actual host bridges. Sadly, these aren't standardized. If > there's another area I can research, I'd be thrilled. Ugh, it turns out that the SMAP doesn't list memio space, it just lists where there is memory. This might be a start at least but it's only part of a fix. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org