mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-06 02:56:44 +07:00
a32073bffc
- 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>
15 lines
298 B
C
15 lines
298 B
C
#ifndef _ASM_K8_H
|
|
#define _ASM_K8_H 1
|
|
|
|
#include <linux/pci.h>
|
|
|
|
extern struct pci_device_id k8_nb_ids[];
|
|
|
|
extern int early_is_k8_nb(u32 value);
|
|
extern struct pci_dev **k8_northbridges;
|
|
extern int num_k8_northbridges;
|
|
extern int cache_k8_northbridges(void);
|
|
extern void k8_flush_garts(void);
|
|
|
|
#endif
|