Skip to contentSkip to conversation

3.4.3-rt12-rc1 stable review

PATCH In review Steven Rostedt 2 participants 6 messages Jun 23, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

cover 3.4.3-rt12-rc1 stable review

Dear RT Folks,

This is the RT stable review cycle of patch 3.4.3-rt12-rc1.

Please scream at me if I messed something up. Please test the patches too.

The -rc release will be uploaded to kernel.org and will be deleted when the final release is out. This is just a review release (or release candidate).

The pre-releases will not be pushed to the git repository, only the final release is.

If all goes well, this patch will be converted to the next main release on 6/24/2012.

Enjoy,

-- Steve

To build 3.4.3-rt12-rc1 directly, the following patches should be applied:

http://www.kernel.org/pub/linux/kernel/v3.x/linux-3.4.tar.xz

http://www.kernel.org/pub/linux/kernel/v3.x/patch-3.4.3.xz

http://www.kernel.org/pub/linux/kernel/projects/rt/3.4/patch-3.4.3-rt12-rc1.patch.xz

You can also build from 3.4.3-rt11 by applying the incremental patch:

http://www.kernel.org/pub/linux/kernel/projects/rt/3.4/incr/patch-3.4.3-rt11-rt12-rc1.patch.xz

Changes from 3.4.3-rt11:

---

Steven Rostedt (2):
spinlock/rt: Include bug.h in spinlock_rt.h to satisfy BUG() usage Linux 3.4.3-rt12-rc1

Thomas Gleixner (1):
Oops during Init IRQ

----

 arch/powerpc/platforms/8xx/m8xx_setup.c |    1 +
 arch/powerpc/sysdev/cpm1.c              |    1 +
 include/linux/spinlock_rt.h             |    2 ++
 localversion-rt                         |    2 +-
 4 files changed, 5 insertions(+), 1 deletion(-)
#1 lore raw

PATCH 1/3 spinlock/rt: Include bug.h in spinlock_rt.h to satisfy BUG() usage

From: Steven Rostedt <[email protected]>

Some archs (powerpc) failed to compile because of the reference to BUG() in spinlock_rt.h. Although bug.h is included in many headers, if spinlock.h is included in a C file before that, it will fail to compile.

---
 include/linux/spinlock_rt.h |    2 ++
 1 file changed, 2 insertions(+)
include/linux/spinlock_rt.h +2 -0
index 3b555b4..0618387 100644
@@ -5,6 +5,8 @@
 #error Do not include directly. Use spinlock.h
 #endif
 
+#include <linux/bug.h>
+
 extern void
 __rt_spin_lock_init(spinlock_t *lock, char *name, struct lock_class_key *key);
 
Signature · 1 line
1.7.10
#2 lore raw

PATCH 2/3 Oops during Init IRQ

In reply to Steven Rostedt

From: Thomas Gleixner <[email protected]>

Quoted 8 lines · leroy christophe

Hello,

I'm trying to use the rt10 patch on a 3.4.2 kernel on a powerpc (MPC8xx) system, and I'm having the following Oops during Irq initialisation. This happens with CONFIG_PREEMPT_RT_FULL.
It doesn't happen with CONFIG_PREEMPT__LL

May someone help ?

Does the following uncompiled and untested patch fix it for you ?

Thanks,

tglx

Cc leroy christophe <[email protected]>
---
 arch/powerpc/platforms/8xx/m8xx_setup.c |    1 +
 arch/powerpc/sysdev/cpm1.c              |    1 +
 2 files changed, 2 insertions(+)
arch/powerpc/platforms/8xx/m8xx_setup.c +1 -0
index 1e12108..806cbbd 100644
@@ -43,6 +43,7 @@ static irqreturn_t timebase_interrupt(int irq, void *dev)
 
 static struct irqaction tbint_irqaction = {
 	.handler = timebase_interrupt,
+	.flags = IRQF_NO_THREAD,
 	.name = "tbint",
 };
 
arch/powerpc/sysdev/cpm1.c +1 -0
index d4fa03f..5e6ff38 100644
@@ -120,6 +120,7 @@ static irqreturn_t cpm_error_interrupt(int irq, void *dev)
 
 static struct irqaction cpm_error_irqaction = {
 	.handler = cpm_error_interrupt,
+	.flags = IRQF_NO_THREAD,
 	.name = "error",
 };
 
Signature · 1 line
1.7.10
#3 lore raw

Re: [PATCH RT 2/3] Oops during Init IRQ

On Fri, 22 Jun 2012, Steven Rostedt wrote:

You asked for a changelog. Here you go:

Subject: powerpc: Mark low level irq handlers NO_THREAD

These low level handlers cannot be threaded. Mark them NO_THREAD

#4 lore raw

Re: [PATCH RT 2/3] Oops during Init IRQ

Quoted 9 lines · Thomas Gleixner

On Fri, 22 Jun 2012, Steven Rostedt wrote:

You asked for a changelog. Here you go:

Subject: powerpc: Mark low level irq handlers NO_THREAD

These low level handlers cannot be threaded. Mark them NO_THREAD

Thanks! I'll add this when I commit it into the git tree.

-- Steve