linux/arch/x86/pci
Yinghai Lu a83fe32fa6 x86, pci: detect end_bus_number according to acpi/e820 reserved, v2
Jack Howarth reported that 2.6.26-rc9-git9 doesn't boot on MacBookPro2.

the reason is a faulty BIOS update that reportes faulty resources.

Nevertheless it's possible for Linux to be more resolent about this
situation (and similar situations) and work around this bug, by
cross-checking the mmconf range against the e820 table and ACPI resources.

Change the mconf bus range from [0,0xff] to to [0, 0x3f]
to match range [0xf0000000, 0xf4000000) in e820 tables.

[ v2, yhlu.kernel@gmail.com:
  x86, pci: detect end_bus_number according to acpi/e820 reserved - fix ]

Reported-by: Jack Howarth <howarth@bromo.msbb.uc.edu>
Signed-off-by: Yinghai Lu <yhlu.kernel@gmail.com>
Cc: jbarnes@virtuousgeek.org
Cc: Jack Howarth <howarth@bromo.msbb.uc.edu>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-07-20 08:43:30 +02:00
..
acpi.c Revert "x86/PCI: ACPI based PCI gap calculation" 2008-07-16 16:21:47 -07:00
amd_bus.c generic-ipi: merge fix 2008-07-15 22:03:56 +02:00
common.c Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6 2008-07-16 17:25:46 -07:00
direct.c x86: Move PCI IO ECS code to x86/pci 2008-07-08 07:47:39 +02:00
early.c PCI/x86: early dump pci conf space v2 2008-06-10 10:59:52 -07:00
fixup.c x86/pci: remove flag in pci_cfg_space_size_ext 2008-04-29 15:34:05 -07:00
i386.c x86: max_low_pfn_mapped fix, #2 2008-07-13 08:19:16 +02:00
init.c x86/pci: removing subsys_initcall ordering dependencies 2008-07-09 11:45:03 +02:00
irq.c Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6 2008-07-16 17:25:46 -07:00
legacy.c x86/pci: fix warnings in subsys_initcall functions 2008-07-10 19:14:44 +02:00
Makefile x86, VisWS: turn into generic arch, remove leftover files 2008-07-10 18:55:45 +02:00
mmconfig-shared.c x86, pci: detect end_bus_number according to acpi/e820 reserved, v2 2008-07-20 08:43:30 +02:00
mmconfig_32.c x86: clear pci_mmcfg_virt when mmcfg get rejected 2008-04-26 23:41:03 +02:00
mmconfig_64.c x86: clear pci_mmcfg_virt when mmcfg get rejected 2008-04-26 23:41:03 +02:00
numa.c x86/pci merge: fixing numaq initialization 2008-07-10 19:14:43 +02:00
olpc.c PCI/x86: fix up PCI stuff so that PCI_GOANY supports OLPC 2008-06-05 14:29:25 -07:00
pcbios.c PCI: remove initial bios sort of PCI devices on x86 2008-04-20 21:46:58 -07:00
pci.h Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6 2008-07-16 17:25:46 -07:00
visws.c x86, VisWS: turn into generic arch, create include/asm-x86/visws/ 2008-07-10 18:55:39 +02:00