x86: mmconf enable mcfg early
commit05c58b8ac77639c17205f0b2a2d9eb1971dc47ad
authorYinghai Lu <Yinghai.Lu@Sun.COM>
Fri, 15 Feb 2008 09:30:14 +0000 (15 01:30 -0800)
committerIngo Molnar <mingo@elte.hu>
Sat, 26 Apr 2008 21:41:03 +0000 (26 23:41 +0200)
tree89dd703cb0905f981dd322e04f55f0c7905f385b
parent0b64ad7123eb013c3de26750f2d4c356cd566231
x86: mmconf enable mcfg early

Patch
"x86: validate against ACPI motherboard resources"

changed the mmconf init sequence, and init MMCONF late in acpi_init.

here change it back to old sequence:

 1. check hostbridge in early
 2. check MCFG with e820 in early
 3. if all fail, will check MCFg with acpi _CRS in acpi_init

So we can make MCONF working again when acpi=off is set if hostbridge
support that.

Signed-off-by: Yinghai Lu <yinghai.lu@sun.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Greg KH <greg@kroah.com>
Cc: Greg KH <greg@kroah.com>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/pci/mmconfig-shared.c