Date: Fri, 15 Jul 2011 21:08:58 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: cvs-src-old@freebsd.org 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 Message-ID: <201107152109.p6FL9S1m064656@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107152109.p6FL9S1m064656>