rpms/kernel/F-8 linux-2.6-mmc-wbsd-fix-request_irq.patch, NONE, 1.1 linux-2.6.25-utrace-bugon.patch, NONE, 1.1 kernel.spec, 1.463, 1.464

Chuck Ebbert (cebbert) fedora-extras-commits at redhat.com
Tue Jun 10 18:38:27 UTC 2008


Author: cebbert

Update of /cvs/pkgs/rpms/kernel/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23326

Modified Files:
	kernel.spec 
Added Files:
	linux-2.6-mmc-wbsd-fix-request_irq.patch 
	linux-2.6.25-utrace-bugon.patch 
Log Message:
* Mon Jun 09 2008 Chuck Ebbert <cebbert at redhat.com> 2.6.25.6-23
- Fix init of af_key sockets (#450499)


linux-2.6-mmc-wbsd-fix-request_irq.patch:

--- NEW FILE linux-2.6-mmc-wbsd-fix-request_irq.patch ---
MMC: wbsd: initialize tasklets before requesting interrupt

With CONFIG_DEBUG_SHIRQ set we will get an interrupt as soon as we
request one. Tasklets may be scheduled in the interrupt handler but
they will be initialized after the handler returns, causing a BUG()
in kernel/softirq.c when they run.

https://bugzilla.redhat.com/show_bug.cgi?id=449817

Signed-off-by: Chuck Ebbert <cebbert at redhat.com>

--- linux-2.6.25.noarch.orig/drivers/mmc/host/wbsd.c
+++ linux-2.6.25.noarch/drivers/mmc/host/wbsd.c
@@ -1457,17 +1457,7 @@ static int __devinit wbsd_request_irq(st
 	int ret;
 
 	/*
-	 * Allocate interrupt.
-	 */
-
-	ret = request_irq(irq, wbsd_irq, IRQF_SHARED, DRIVER_NAME, host);
-	if (ret)
-		return ret;
-
-	host->irq = irq;
-
-	/*
-	 * Set up tasklets.
+	 * Set up tasklets. Must be done before requesting interrupt.
 	 */
 	tasklet_init(&host->card_tasklet, wbsd_tasklet_card,
 			(unsigned long)host);
@@ -1480,6 +1470,15 @@ static int __devinit wbsd_request_irq(st
 	tasklet_init(&host->finish_tasklet, wbsd_tasklet_finish,
 			(unsigned long)host);
 
+	/*
+	 * Allocate interrupt.
+	 */
+	ret = request_irq(irq, wbsd_irq, IRQF_SHARED, DRIVER_NAME, host);
+	if (ret)
+		return ret;
+
+	host->irq = irq;
+
 	return 0;
 }
 

linux-2.6.25-utrace-bugon.patch:

--- NEW FILE linux-2.6.25-utrace-bugon.patch ---
--- linux-2.6.25.noarch/kernel/exit.c
+++ linux-2.6.25.noarch/kernel/exit.c
@@ -177,6 +177,13 @@ repeat:
 		 * that case.
 		 */
 		zap_leader = (leader->exit_signal == -1);
+
+		/*
+		 * This maintains the invariant that release_task()
+		 * only runs on a task in EXIT_DEAD, just for sanity.
+		 */
+		if (zap_leader)
+			leader->exit_state = EXIT_DEAD;
 	}
 
 	write_unlock_irq(&tasklist_lock);



Index: kernel.spec
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/F-8/kernel.spec,v
retrieving revision 1.463
retrieving revision 1.464
diff -u -r1.463 -r1.464
--- kernel.spec	9 Jun 2008 22:47:41 -0000	1.463
+++ kernel.spec	10 Jun 2008 18:37:44 -0000	1.464
@@ -565,6 +565,7 @@
 Patch05: linux-2.6-upstream-reverts.patch
 
 Patch21: linux-2.6-utrace.patch
+Patch22: linux-2.6.25-utrace-bugon.patch
 
 Patch41: linux-2.6-sysrq-c.patch
 Patch60: linux-2.6-x86-tune-generic.patch
@@ -623,6 +624,8 @@
 
 Patch440: linux-2.6-sha_alignment.patch
 Patch450: linux-2.6-input-kill-stupid-messages.patch
+# fix oops in wbsd mmc driver
+Patch453: linux-2.6-mmc-wbsd-fix-request_irq.patch
 Patch460: linux-2.6-serial-460800.patch
 Patch510: linux-2.6-silence-noise.patch
 Patch570: linux-2.6-selinux-mprotect-checks.patch
@@ -970,6 +973,7 @@
 
 # Roland's utrace ptrace replacement.
 ApplyPatch linux-2.6-utrace.patch
+ApplyPatch linux-2.6.25-utrace-bugon.patch
 
 # ALSA Thinkpad X300 support
 ApplyPatch linux-2.6-alsa-hda-codec-add-AD1884A.patch
@@ -1104,6 +1108,8 @@
 ApplyPatch linux-2.6-sha_alignment.patch
 # The input layer spews crap no-one cares about.
 ApplyPatch linux-2.6-input-kill-stupid-messages.patch
+# fix oops in wbsd driver
+ApplyPatch linux-2.6-mmc-wbsd-fix-request_irq.patch
 # Allow to use 480600 baud on 16C950 UARTs
 ApplyPatch linux-2.6-serial-460800.patch
 # add ids for new wacom tablets
@@ -1815,6 +1821,9 @@
 
 
 %changelog
+* Mon Jun 09 2008 Chuck Ebbert <cebbert at redhat.com> 2.6.25.6-24
+- Copy utrace and mmc driver bug fixes from F-9.
+
 * Mon Jun 09 2008 Chuck Ebbert <cebbert at redhat.com> 2.6.25.6-23
 - Fix init of af_key sockets (#450499)
 




More information about the fedora-extras-commits mailing list