]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
x86, pci: detect end_bus_number according to acpi/e820 reserved, v2
authorYinghai Lu <yhlu.kernel@gmail.com>
Fri, 18 Jul 2008 20:22:36 +0000 (13:22 -0700)
committerIngo Molnar <mingo@elte.hu>
Sun, 20 Jul 2008 06:43:30 +0000 (08:43 +0200)
commita83fe32fa668c0a17b3f99a1480b006f7d649924
treec9b27f822506affbba02a08253c73eff326f4303
parent0679c2f47d50651018dd5e0bf35330f6e6ae35ec
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>
arch/x86/pci/mmconfig-shared.c