rpms/kernel/F-10 linux-2.6-pci-fix-pciehp.patch, NONE, 1.1 kernel.spec, 1.1137, 1.1138

Dave Jones davej at fedoraproject.org
Wed Nov 12 20:30:24 UTC 2008


Author: davej

Update of /cvs/pkgs/rpms/kernel/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17011

Modified Files:
	kernel.spec 
Added Files:
	linux-2.6-pci-fix-pciehp.patch 
Log Message:
Fix backtrace in pciehp driver.

linux-2.6-pci-fix-pciehp.patch:

--- NEW FILE linux-2.6-pci-fix-pciehp.patch ---
diff -ur linux-2.6.27.noarch/drivers/pci/hotplug/pciehp_core.c linux-2.6.27.noarch.hack/drivers/pci/hotplug/pciehp_core.c
--- linux-2.6.27.noarch/drivers/pci/hotplug/pciehp_core.c	2008-11-12 17:14:05.000000000 +0000
+++ linux-2.6.27.noarch.hack/drivers/pci/hotplug/pciehp_core.c	2008-11-12 19:26:08.000000000 +0000
@@ -216,7 +216,6 @@
 
 		/* register this slot with the hotplug pci core */
 		hotplug_slot->info = info;
-		hotplug_slot->name = slot->name;
 		hotplug_slot->private = slot;
 		hotplug_slot->release = &release_slot;
 		if (pciehp_passive &&
@@ -229,7 +228,12 @@
 		get_latch_status(hotplug_slot, &info->latch_status);
 		get_adapter_status(hotplug_slot, &info->adapter_status);
 		slot->hotplug_slot = hotplug_slot;
+		
+		snprintf(slot->name, SLOT_NAME_SIZE, "%d-%d-%d", slot->bus,
+			 slot->device, slot->number);
 
+		hotplug_slot->name = slot->name;
+		
 		dbg("Registering bus=%x dev=%x hp_slot=%x sun=%x "
 		    "slot_device_offset=%x\n", slot->bus, slot->device,
 		    slot->hp_slot, slot->number, ctrl->slot_device_offset);


Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-10/kernel.spec,v
retrieving revision 1.1137
retrieving revision 1.1138
diff -u -r1.1137 -r1.1138
--- kernel.spec	12 Nov 2008 05:07:19 -0000	1.1137
+++ kernel.spec	12 Nov 2008 20:30:21 -0000	1.1138
@@ -717,6 +717,8 @@
 Patch2803: linux-2.6-amd64-yes-i-know-you-live.patch
 # hush pci bar allocation failures
 Patch2804: linux-2.6.27-pci-hush-allocation-failures.patch
+# Fix backtrace
+Patch2805: linux-2.6-pci-fix-pciehp.patch
 
 # ext4 fun - new & improved, now with less dev!
 Patch2900: linux-2.6.27-ext4-2.6.28-rc3-git6.patch
@@ -1330,6 +1332,8 @@
 ApplyPatch linux-2.6-amd64-yes-i-know-you-live.patch
 # hush pci bar allocation failures
 ApplyPatch linux-2.6.27-pci-hush-allocation-failures.patch
+# fix backtrace in pciehp
+ApplyPatch linux-2.6-pci-fix-pciehp.patch
 
 # SELinux on ppc64 without plymouth can't boot
 ApplyPatch linux-2.6-selinux-empty-tty-files.patch
@@ -1911,6 +1915,9 @@
 %kernel_variant_files -k vmlinux %{with_kdump} kdump
 
 %changelog
+* Wed Nov 12 2008 Dave Jones <davej at redhat.com> 2.6.27.5-102
+- Fix backtrace in pciehp driver.
+
 * Wed Nov 12 2008 Dave Airlie <airlied at redhat.com> 2.6.27.5-101
 - drm/intel: further interrupt fixes
 




More information about the fedora-extras-commits mailing list