]> git.baikalelectronics.ru Git - kernel.git/commit
x86/PCI: ACPI based PCI gap calculation
authorAlok Kataria <akataria@vmware.com>
Tue, 15 Jul 2008 18:59:42 +0000 (11:59 -0700)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Tue, 15 Jul 2008 22:49:03 +0000 (15:49 -0700)
commitca380c2a4aa71ffdd1436d035c6b2b7ba45330eb
tree52a090a2a10a126f3b4762fd6c98d58f5441a6d0
parentca7db11375c5720c4ec08d6a3f1d0893f9de6cf1
x86/PCI: ACPI based PCI gap calculation

Using ACPI to find free address space allows us to find a gap for the
unallocated PCI resources or MMIO resources for hotplug devices within
the BIOS allowed PCI regions.

It works by evaluating the _CRS object under PCI0 looking for producer
resources.  Then searches the e820 memory space for a gap within these
producer resources.

Signed-off-by: Alok N Kataria <akataria@vmware.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Len Brown <lenb@kernel.org>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
arch/x86/pci/acpi.c