rpms/kernel/F-10 linux-2.6-x86-pci-amd-config-space.patch, NONE, 1.1 kernel.spec, 1.1173, 1.1174
Chuck Ebbert
cebbert at fedoraproject.org
Mon Dec 8 05:03:37 UTC 2008
- Previous message (by thread): rpms/perl-B-Utils/devel perl-B-Utils.spec,1.1,1.2
- Next message (by thread): rpms/kernel/F-10 linux-2.6.27.7-alsa-driver-1.0.18a.patch, NONE, 1.1 linux-2.6.27.7-alsa-driver-fixups.patch, NONE, 1.1 config-generic, 1.196, 1.197 kernel.spec, 1.1174, 1.1175 linux-2.6-alsa-ac97-whitelist-AD1981B.patch, 1.1, NONE linux-2.6-alsa-ac97-whitelist.patch, 1.1, NONE linux-2.6-alsa-revo51-headphone.patch, 1.1, NONE linux-2.6-olpc-speaker-out.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: cebbert
Update of /cvs/pkgs/rpms/kernel/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv9453
Modified Files:
kernel.spec
Added Files:
linux-2.6-x86-pci-amd-config-space.patch
Log Message:
Fix PCI config space size on AMD Barcelona.
linux-2.6-x86-pci-amd-config-space.patch:
--- NEW FILE linux-2.6-x86-pci-amd-config-space.patch ---
From: Andreas Herrmann <andreas.herrmann3 at amd.com>
Date: Tue, 25 Nov 2008 16:18:03 +0000 (+0100)
Subject: x86: fixup config space size of CPU functions for AMD family 11h
X-Git-Tag: v2.6.28-rc7~45^2~1
X-Git-Url: http://git.kernel.org/?p=linux%2Fkernel%2Fgit%2Ftorvalds%2Flinux-2.6.git;a=commitdiff_plain;h=ffd565a8b817d1eb4b25184e8418e8d96c3f56f6
x86: fixup config space size of CPU functions for AMD family 11h
Impact: extend allowed configuration space access on 11h CPUs from 256 to 4K
Signed-off-by: Andreas Herrmann <andreas.herrmann3 at amd.com>
Acked-by: Jesse Barnes <jbarnes at virtuousgeek.org>
Signed-off-by: Ingo Molnar <mingo at elte.hu>
---
diff --git a/arch/x86/pci/fixup.c b/arch/x86/pci/fixup.c
index 3c27a80..2051dc9 100644
--- a/arch/x86/pci/fixup.c
+++ b/arch/x86/pci/fixup.c
@@ -496,18 +496,21 @@ DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_SIEMENS, 0x0015,
pci_siemens_interrupt_controller);
/*
- * Regular PCI devices have 256 bytes, but AMD Family 10h Opteron ext config
- * have 4096 bytes. Even if the device is capable, that doesn't mean we can
- * access it. Maybe we don't have a way to generate extended config space
- * accesses. So check it
+ * Regular PCI devices have 256 bytes, but AMD Family 10h/11h CPUs have
+ * 4096 bytes configuration space for each function of their processor
+ * configuration space.
*/
-static void fam10h_pci_cfg_space_size(struct pci_dev *dev)
+static void amd_cpu_pci_cfg_space_size(struct pci_dev *dev)
{
dev->cfg_size = pci_cfg_space_size_ext(dev);
}
-
-DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_AMD, 0x1200, fam10h_pci_cfg_space_size);
-DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_AMD, 0x1201, fam10h_pci_cfg_space_size);
-DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_AMD, 0x1202, fam10h_pci_cfg_space_size);
-DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_AMD, 0x1203, fam10h_pci_cfg_space_size);
-DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_AMD, 0x1204, fam10h_pci_cfg_space_size);
+DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_AMD, 0x1200, amd_cpu_pci_cfg_space_size);
+DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_AMD, 0x1201, amd_cpu_pci_cfg_space_size);
+DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_AMD, 0x1202, amd_cpu_pci_cfg_space_size);
+DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_AMD, 0x1203, amd_cpu_pci_cfg_space_size);
+DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_AMD, 0x1204, amd_cpu_pci_cfg_space_size);
+DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_AMD, 0x1300, amd_cpu_pci_cfg_space_size);
+DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_AMD, 0x1301, amd_cpu_pci_cfg_space_size);
+DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_AMD, 0x1302, amd_cpu_pci_cfg_space_size);
+DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_AMD, 0x1303, amd_cpu_pci_cfg_space_size);
+DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_AMD, 0x1304, amd_cpu_pci_cfg_space_size);
Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-10/kernel.spec,v
retrieving revision 1.1173
retrieving revision 1.1174
diff -u -r1.1173 -r1.1174
--- kernel.spec 4 Dec 2008 02:00:38 -0000 1.1173
+++ kernel.spec 8 Dec 2008 05:03:06 -0000 1.1174
@@ -590,6 +590,7 @@
Patch31: linux-2.6-x86-sb600-skip-acpi-irq0-override-if-not-routed-to-int2.patch
Patch32: linux-2.6-x86-more-general-id-for-phoenix-bios.patch
Patch33: linux-2.6-xen-dont-reserve-2-pages-of-padding.patch
+Patch34: linux-2.6-x86-pci-amd-config-space.patch
Patch41: linux-2.6-sysrq-c.patch
@@ -1112,6 +1113,8 @@
# additional fixes for lowmem 64k reservation (scheduled for -stable)
ApplyPatch linux-2.6-x86-more-general-id-for-phoenix-bios.patch
ApplyPatch linux-2.6-xen-dont-reserve-2-pages-of-padding.patch
+# fix Barcelona config space size
+ApplyPatch linux-2.6-x86-pci-amd-config-space.patch
# enable sysrq-c on all kernels, not only kexec
ApplyPatch linux-2.6-sysrq-c.patch
@@ -1929,6 +1932,9 @@
%kernel_variant_files -k vmlinux %{with_kdump} kdump
%changelog
+* Wed Dec 03 2008 Chuck Ebbert <cebbert at redhat.com> 2.6.27.7-138
+- Fix PCI config space size on AMD Barcelona.
+
* Wed Dec 03 2008 Chuck Ebbert <cebbert at redhat.com> 2.6.27.7-137
- Update applesmc driver to 2.6.28-rc7-git1
Adds: module autoloading
- Previous message (by thread): rpms/perl-B-Utils/devel perl-B-Utils.spec,1.1,1.2
- Next message (by thread): rpms/kernel/F-10 linux-2.6.27.7-alsa-driver-1.0.18a.patch, NONE, 1.1 linux-2.6.27.7-alsa-driver-fixups.patch, NONE, 1.1 config-generic, 1.196, 1.197 kernel.spec, 1.1174, 1.1175 linux-2.6-alsa-ac97-whitelist-AD1981B.patch, 1.1, NONE linux-2.6-alsa-ac97-whitelist.patch, 1.1, NONE linux-2.6-alsa-revo51-headphone.patch, 1.1, NONE linux-2.6-olpc-speaker-out.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list