rpms/kernel/F-9 linux-2.6-pci-fix-pciehp.patch, NONE, 1.1 kernel.spec, 1.848, 1.849

Chuck Ebbert cebbert at fedoraproject.org
Wed Nov 12 20:47:43 UTC 2008


Author: cebbert

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

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

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-9/kernel.spec,v
retrieving revision 1.848
retrieving revision 1.849
diff -u -r1.848 -r1.849
--- kernel.spec	12 Nov 2008 20:14:50 -0000	1.848
+++ kernel.spec	12 Nov 2008 20:47:10 -0000	1.849
@@ -630,6 +630,7 @@
 Patch380: linux-2.6-defaults-pci_no_msi.patch
 Patch381: linux-2.6-pciehp-update.patch
 Patch382: linux-2.6-defaults-pciehp.patch
+Patch383: linux-2.6-pci-fix-pciehp.patch
 
 Patch390: linux-2.6-acpi-ignore-ae_not_found-error-of-ec-reg-method.patch
 Patch391: linux-2.6-acpi-dock-avoid-check-sta-method.patch
@@ -1169,6 +1170,8 @@
 ApplyPatch linux-2.6-pciehp-update.patch
 # enable pcie hotplug passive mode by default
 ApplyPatch linux-2.6-defaults-pciehp.patch
+# fix backtrace
+ApplyPatch linux-2.6-pci-fix-pciehp.patch
 
 #
 # SCSI Bits.
@@ -1891,6 +1894,9 @@
 %kernel_variant_files -a /%{image_install_path}/xen*-%{KVERREL}.xen -e /etc/ld.so.conf.d/kernelcap-%{KVERREL}.xen.conf %{with_xen} xen
 
 %changelog
+* Wed Nov 12 2008 Chuck Ebbert <cebbert at redhat.com> 2.6.27.5-36
+- Fix backtrace in pciehp driver. (from F10)
+
 * Wed Nov 12 2008 Chuck Ebbert <cebbert at redhat.com> 2.6.27.5-35
 - Fix "scheduling from idle thread" bug (F10#468896)
 




More information about the fedora-extras-commits mailing list