]> git.neil.brown.name Git - history.git/commit
[PATCH] PCI: Disable mmconfig on AMD CPUs.
authorAndi Kleen <ak@suse.de>
Mon, 29 Nov 2004 03:13:49 +0000 (19:13 -0800)
committerGreg Kroah-Hartman <greg@kroah.com>
Mon, 29 Nov 2004 03:13:49 +0000 (19:13 -0800)
commitb0b63a9da65e17ed43fcaef6a854326d3d73ecbc
tree00aab35c47f5a600ce65d8d1346e0c717170642b
parent415ca964a6cc73c91cdc9f481f7336c62a102d86
[PATCH] PCI: Disable mmconfig on AMD CPUs.

Disable mmconfig on AMD CPUs.

This patch fixes various problems on PCI Express boards, like the
Nforce4. They have a MCFG table in ACPI, but not all devices can be
accessed using MMCONFIG.  e.g. the CPU builtin PCI devices in the A64
Northbridge can't.  Linux happily uses mmconfig for all PCI devices and
that cause failures and memory corruption.

Right solution apparently is to get more information from MCFG which is
supposed to tell for which busses mmconfig is legal and for which ones
not. But that would be a much more complicated patch and I don't have
a specification of this enhanced table.

This patch just disable MMCONFIG on all AMD CPUs. This is a kludge,
but works around the problem for now.

Patch for both i386 and x86-64

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
arch/i386/pci/mmconfig.c
arch/x86_64/pci/mmconfig.c