linux/arch
Bjorn Helgaas 2cd6975a4f x86/PCI: convert to pci_create_root_bus() and pci_scan_root_bus()
x86 has two kinds of PCI root bus scanning:

(1) ACPI-based, using _CRS resources.  This used pci_create_bus(), not
    pci_scan_bus(), because ACPI hotplug needed to split the
    pci_bus_add_devices() into a separate host bridge .start() method.

    This patch parses the _CRS resources earlier, so we can build a list of
    resources and pass it to pci_create_root_bus().

    Note that as before, we parse the _CRS even if we aren't going to use
    it so we can print it for debugging purposes.

(2) All other, which used either default resources (ioport_resource and
    iomem_resource) or information read from the hardware via amd_bus.c or
    similar.  This used pci_scan_bus().

    This patch converts x86_pci_root_bus_res_quirks() (previously called
    from pcibios_fixup_bus()) to x86_pci_root_bus_resources(), which builds
    a list of resources before we call pci_scan_root_bus().

    We also use x86_pci_root_bus_resources() if we have ACPI but are
    ignoring _CRS.

CC: Yinghai Lu <yinghai.lu@oracle.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2012-01-06 12:11:14 -08:00
..
alpha alpha/PCI: convert to pci_scan_root_bus() for correct root bus resources 2012-01-06 12:10:55 -08:00
arm arm/PCI: convert to pci_scan_root_bus() for correct root bus resources 2012-01-06 12:10:56 -08:00
avr32 Merge git://git.infradead.org/mtd-2.6 2011-11-07 09:11:16 -08:00
blackfin PCI: Pull PCI 'latency timer' setup up into the core 2012-01-06 12:10:42 -08:00
cris net: Fix references to deleted NET_ETHERNET Kconfig setting. 2011-11-09 19:26:53 -05:00
frv frv/PCI: convert to pci_scan_root_bus() for correct root bus resources 2012-01-06 12:10:57 -08:00
h8300 PCI: Pull PCI 'latency timer' setup up into the core 2012-01-06 12:10:42 -08:00
hexagon Hexagon: Add basic stacktrace functionality for Hexagon architecture. 2011-11-01 07:34:21 -07:00
ia64 ia64/PCI: convert to pci_create_root_bus() for correct root bus resources 2012-01-06 12:10:58 -08:00
m32r Merge branch 'trivial' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild 2011-11-06 18:54:53 -08:00
m68k m68k: Wire up process_vm_{read,write}v 2011-12-06 20:37:58 +01:00
microblaze microblaze/PCI: use pci_scan_root_bus() 2012-01-06 12:11:01 -08:00
mips mips/PCI: convert to pci_scan_root_bus() for correct root bus resources 2012-01-06 12:11:02 -08:00
mn10300 mn10300/PCI: convert to pci_scan_root_bus() for correct root bus resources 2012-01-06 12:11:03 -08:00
openrisc Merge branch 'trivial' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild 2011-11-06 18:54:53 -08:00
parisc parisc: Add export.h to files needing EXPORT_SYMBOL/THIS_MODULE 2011-10-31 19:31:00 -04:00
powerpc powerpc/PCI: convert to pci_create_root_bus() 2012-01-06 12:11:09 -08:00
s390 procfs: do not confuse jiffies with cputime64_t 2011-12-29 16:31:57 -08:00
score score: drop unused Kconfig symbols 2011-10-31 23:39:51 +01:00
sh sh/PCI: convert to pci_scan_root_bus() for correct root bus resources 2012-01-06 12:11:10 -08:00
sparc sparc32, leon/PCI: convert to pci_scan_root_bus() for correct root bus resources 2012-01-06 12:11:11 -08:00
tile PCI: TILE: convert pcibios_set_master() to a non-inlined function 2012-01-06 12:10:40 -08:00
um Merge branch 'for-linus' of git://github.com/richardweinberger/linux 2011-11-02 09:45:39 -07:00
unicore32 PCI: UniCore: convert pcibios_set_master() to a non-inlined function 2012-01-06 12:10:41 -08:00
x86 x86/PCI: convert to pci_create_root_bus() and pci_scan_root_bus() 2012-01-06 12:11:14 -08:00
xtensa PCI: Xtensa: convert pcibios_set_master() to a non-inlined function 2012-01-06 12:10:41 -08:00
.gitignore
Kconfig