From owner-cvs-src@FreeBSD.ORG Wed Oct 6 19:16:34 2004 Return-Path: <owner-cvs-src@FreeBSD.ORG> Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE2CE16A4CE; Wed, 6 Oct 2004 19:16:34 +0000 (GMT) Received: from ylpvm43.prodigy.net (ylpvm43-ext.prodigy.net [207.115.57.74]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DEDD43D58; Wed, 6 Oct 2004 19:16:34 +0000 (GMT) (envelope-from nate@root.org) Received: from [10.0.0.34] (adsl-67-119-74-222.dsl.sntc01.pacbell.net [67.119.74.222])i96JGfCE007611; Wed, 6 Oct 2004 15:16:41 -0400 Message-ID: <41644490.3050005@root.org> Date: Wed, 06 Oct 2004 12:16:32 -0700 From: Nate Lawson <nate@root.org> User-Agent: Mozilla Thunderbird 0.7.3 (X11/20040901) X-Accept-Language: en-us, en MIME-Version: 1.0 To: John Baldwin <jhb@FreeBSD.org> References: <200410060722.i967MwsJ014694@repoman.freebsd.org> <200410061054.42956.jhb@FreeBSD.org> In-Reply-To: <200410061054.42956.jhb@FreeBSD.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: Warner Losh <imp@FreeBSD.org> cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/i386/pci pci_bus.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree <cvs-src.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-src>, <mailto:cvs-src-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/cvs-src> List-Post: <mailto:cvs-src@freebsd.org> List-Help: <mailto:cvs-src-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/cvs-src>, <mailto:cvs-src-request@freebsd.org?subject=subscribe> X-List-Received-Date: Wed, 06 Oct 2004 19:16:35 -0000 John Baldwin wrote: > 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. YES! More integrated SMAP awareness is especially important as more complex configs appear with different levels of reservation for upper memory besides just "reserved" or "available". -Nate