Re: [PATCH] x86: Add PCI extended config space access for AMDBarcelona

From: Ingo Molnar
Date: Mon Jun 02 2008 - 05:10:37 EST



* Robert Richter <robert.richter@xxxxxxx> wrote:

> 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.

applied to -tip for more testing, thanks Robert. It needed some porting
(64-bit setup code got restructured in -tip) and the trivial build fix
below.

Ingo

------------->
commit fe8aef82b5040c39fb3bee28047db5c896421382
Author: Ingo Molnar <mingo@xxxxxxx>
Date: Mon Jun 2 10:54:16 2008 +0200

fix build bug in "x86: add PCI extended config space access for AMD Barcelona"

Signed-off-by: Ingo Molnar <mingo@xxxxxxx>

diff --git a/include/asm-x86/mmconfig.h b/include/asm-x86/mmconfig.h
index 95beda0..46d6bb1 100644
--- a/include/asm-x86/mmconfig.h
+++ b/include/asm-x86/mmconfig.h
@@ -9,4 +9,6 @@ static inline void fam10h_check_enable_mmcfg(void) { }
static inline void check_enable_amd_mmconf_dmi(void) { }
#endif

+extern void __cpuinit amd_enable_pci_ext_cfg(struct cpuinfo_x86 *c);
+
#endif
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/