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

Matthew Garrett mjg59 at fedoraproject.org
Wed Nov 12 22:54:53 UTC 2008


Author: mjg59

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

Modified Files:
	kernel.spec 
Added Files:
	linux-2.6-pci-fix-pciehp-irq0.patch 
Log Message:
* Wed Nov 12 2008 Matthew Garrett <mjg at redhat.com> 2.6.27.5-103
- Ensure that the pciehp driver doesn't attempt to claim IRQ 0


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

--- NEW FILE linux-2.6-pci-fix-pciehp-irq0.patch ---
diff -ur linux-2.6.27.noarch/drivers/pci/hotplug/pciehp_hpc.c linux-2.6.27.noarch.hack/drivers/pci/hotplug/pciehp_hpc.c
--- linux-2.6.27.noarch/drivers/pci/hotplug/pciehp_hpc.c	2008-11-12 22:24:32.000000000 +0000
+++ linux-2.6.27.noarch.hack/drivers/pci/hotplug/pciehp_hpc.c	2008-11-12 22:23:35.000000000 +0000
@@ -234,6 +234,9 @@
 		return 0;
 	}
 
+	if (!irq)
+		return -ENODEV;
+
 	/* Installs the interrupt handler */
 	retval = request_irq(irq, pcie_isr, IRQF_SHARED, MY_NAME, ctrl);
 	if (retval)
Only in linux-2.6.27.noarch.hack/drivers/pci/hotplug: pciehp_hpc.c~


Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-10/kernel.spec,v
retrieving revision 1.1138
retrieving revision 1.1139
diff -u -r1.1138 -r1.1139
--- kernel.spec	12 Nov 2008 20:30:21 -0000	1.1138
+++ kernel.spec	12 Nov 2008 22:54:22 -0000	1.1139
@@ -719,6 +719,8 @@
 Patch2804: linux-2.6.27-pci-hush-allocation-failures.patch
 # Fix backtrace
 Patch2805: linux-2.6-pci-fix-pciehp.patch
+# Don't attempt to assign IRQ 0
+Patch2806: linux-2.6-pci-fix-pciehp-irq0.patch
 
 # ext4 fun - new & improved, now with less dev!
 Patch2900: linux-2.6.27-ext4-2.6.28-rc3-git6.patch
@@ -1334,6 +1336,8 @@
 ApplyPatch linux-2.6.27-pci-hush-allocation-failures.patch
 # fix backtrace in pciehp
 ApplyPatch linux-2.6-pci-fix-pciehp.patch
+# don't allocate IRQ 0 in pciehp
+ApplyPatch linux-2.6-pci-fix-pciehp-irq0.patch
 
 # SELinux on ppc64 without plymouth can't boot
 ApplyPatch linux-2.6-selinux-empty-tty-files.patch
@@ -1915,6 +1919,9 @@
 %kernel_variant_files -k vmlinux %{with_kdump} kdump
 
 %changelog
+* Wed Nov 12 2008 Matthew Garrett <mjg at redhat.com> 2.6.27.5-103
+- Ensure that the pciehp driver doesn't attempt to claim IRQ 0
+
 * Wed Nov 12 2008 Dave Jones <davej at redhat.com> 2.6.27.5-102
 - Fix backtrace in pciehp driver.
 




More information about the scm-commits mailing list