[PATCH] x86_64: Clean and enhance up K8 northbridge access code
authorAndi Kleen <ak@suse.de>
Mon, 26 Jun 2006 11:56:40 +0000 (13:56 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 26 Jun 2006 17:48:15 +0000 (10:48 -0700)
commita32073bffc656ca4bde6002b6cf7c1a8e0e22712
tree5ddcd3107eca8807685a19490c2c849d728a51a6
parent7c2d9cd218916276e52a5dae827b84a159fe5c96
[PATCH] x86_64: Clean and enhance up K8 northbridge access code

 - Factor out the duplicated access/cache code into a single file
   * Shared between i386/x86-64.
 - Share flush code between AGP and IOMMU
   * Fix a bug: AGP didn't wait for end of flush before
 - Drop 8 northbridges limit and allocate dynamically
 - Add lock to serialize AGP and IOMMU GART flushes
 - Add PCI ID for next AMD northbridge
 - Random related cleanups

The old K8 NUMA discovery code is unchanged. New systems
should all use SRAT for this.

Cc: "Navin Boppuri" <navin.boppuri@newisys.com>
Cc: Dave Jones <davej@redhat.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/Kconfig
arch/i386/kernel/Makefile
arch/x86_64/Kconfig
arch/x86_64/kernel/Makefile
arch/x86_64/kernel/aperture.c
arch/x86_64/kernel/k8.c [new file with mode: 0644]
arch/x86_64/kernel/pci-gart.c
arch/x86_64/pci/k8-bus.c
drivers/char/agp/amd64-agp.c
include/asm-i386/k8.h [new file with mode: 0644]
include/asm-x86_64/k8.h [new file with mode: 0644]