From owner-cvs-src-old@FreeBSD.ORG Fri Jul 15 21:09:29 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2FF4C106568F for ; Fri, 15 Jul 2011 21:09:29 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 1C9258FC23 for ; Fri, 15 Jul 2011 21:09:29 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p6FL9TgV064657 for ; Fri, 15 Jul 2011 21:09:29 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p6FL9S1m064656 for cvs-src-old@freebsd.org; Fri, 15 Jul 2011 21:09:28 GMT (envelope-from jhb@repoman.freebsd.org) Message-Id: <201107152109.p6FL9S1m064656@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jhb@repoman.freebsd.org using -f From: John Baldwin Date: Fri, 15 Jul 2011 21:08:58 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/acpica acpi_pcib_acpi.c src/sys/dev/pci pci_pci.c pci_subr.c pcib_private.h src/sys/sys bus.h src/sys/x86/include mptable.h src/sys/x86/x86 mptable.c mptable_pci.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Jul 2011 21:09:29 -0000 jhb 2011-07-15 21:08:58 UTC FreeBSD src repository Modified files: sys/dev/acpica acpi_pcib_acpi.c sys/dev/pci pci_pci.c pci_subr.c pcib_private.h sys/sys bus.h sys/x86/include mptable.h sys/x86/x86 mptable.c mptable_pci.c Log: SVN rev 224069 on 2011-07-15 21:08:58Z by jhb Respect the BIOS/firmware's notion of acceptable address ranges for PCI resource allocation on x86 platforms: - Add a new helper API that Host-PCI bridge drivers can use to restrict resource allocation requests to a set of address ranges for different resource types. - For the ACPI Host-PCI bridge driver, use Producer address range resources in _CRS to enumerate valid address ranges for a given Host-PCI bridge. This can be disabled by including "hostres" in the debug.acpi.disabled tunable. - For the MPTable Host-PCI bridge driver, use entries in the extended MPTable to determine the valid address ranges for a given Host-PCI bridge. This required adding code to parse extended table entries. Similar to the new PCI-PCI bridge driver, these changes are only enabled if the NEW_PCIB kernel option is enabled (which is enabled by default on amd64 and i386). Approved by: re (kib) Revision Changes Path 1.67 +166 -0 src/sys/dev/acpica/acpi_pcib_acpi.c 1.71 +0 -12 src/sys/dev/pci/pci_pci.c 1.2 +156 -1 src/sys/dev/pci/pci_subr.c 1.18 +28 -0 src/sys/dev/pci/pcib_private.h 1.101 +1 -0 src/sys/sys/bus.h 1.2 +61 -1 src/sys/x86/include/mptable.h 1.5 +170 -3 src/sys/x86/x86/mptable.c 1.5 +84 -1 src/sys/x86/x86/mptable_pci.c