diff options
author | Robert Richter <robert.richter@amd.com> | 2007-09-03 04:17:39 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-06-02 05:51:19 -0400 |
commit | 831d991821daedd4839073dbca55514432ef1768 (patch) | |
tree | f3b9772709fd948c5df7b3e0535d9f62737e7702 /arch/x86/kernel/cpu/amd_64.c | |
parent | 1c47cd638e8302bc38be1f6d81067950e038ebd3 (diff) |
x86: add PCI extended config space access for AMD Barcelona
This patch implements PCI extended configuration space access for
AMD's Barcelona CPUs. It extends the method using CF8/CFC IO
addresses. An x86 capability bit has been introduced that is set for
CPUs supporting PCI extended config space accesses.
Signed-off-by: Robert Richter <robert.richter@amd.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86/kernel/cpu/amd_64.c')
-rw-r--r-- | arch/x86/kernel/cpu/amd_64.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/amd_64.c b/arch/x86/kernel/cpu/amd_64.c index c815c2c0484..180097e9921 100644 --- a/arch/x86/kernel/cpu/amd_64.c +++ b/arch/x86/kernel/cpu/amd_64.c | |||
@@ -217,6 +217,9 @@ void __cpuinit init_amd(struct cpuinfo_x86 *c) | |||
217 | if (c->x86 == 0x10) | 217 | if (c->x86 == 0x10) |
218 | fam10h_check_enable_mmcfg(); | 218 | fam10h_check_enable_mmcfg(); |
219 | 219 | ||
220 | if (c->x86 == 0x10) | ||
221 | amd_enable_pci_ext_cfg(c); | ||
222 | |||
220 | if (amd_apic_timer_broken()) | 223 | if (amd_apic_timer_broken()) |
221 | disable_apic_timer = 1; | 224 | disable_apic_timer = 1; |
222 | 225 | ||