[PATCH] i386/x86-64: Only do MCFG e820 check when type 1 works
authorAndi Kleen <ak@suse.de>
Tue, 26 Sep 2006 08:52:40 +0000 (10:52 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Tue, 26 Sep 2006 08:52:40 +0000 (10:52 +0200)
commit9abd79280bbb9f56049f0168f412c3538cadb6eb
treefb72faaf2fddf382c3ab57e716d182ab9dd1406e
parent5e544d618f0fb21011f36f28d5e3952b9dc109d2
[PATCH] i386/x86-64: Only do MCFG e820 check when type 1 works

Needs earlier patch to split type 1 probing from use.

This patch should fix the x86 macs where type 1 PCI config space access
doesn't work, but MCFG does. They also don't have a usable e820 table
so the e820 sanity check failed.

Instead assume now that if type 1 doesn't work then MCFG must work
and don't do the e820 check.

Signed-off-by: Andi Kleen <ak@suse.de>
arch/i386/pci/mmconfig.c
arch/x86_64/pci/mmconfig.c