linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: leroy christophe <christophe.leroy@c-s.fr>
To: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-rt-users@vger.kernel.org
Subject: Re: Oops during Init IRQ
Date: Tue, 19 Jun 2012 10:48:14 +0200	[thread overview]
Message-ID: <4FE03CCE.8000603@c-s.fr> (raw)
In-Reply-To: <alpine.LFD.2.02.1206181949160.3086@ionos>

Hello,

Yes it does fix the issue.
Thanks a lot.

Shall I do anything to ask for this change to be included either in the 
kernel or in the rt patch ?

Best regards
Christophe

Le 18/06/2012 19:53, Thomas Gleixner a écrit :
> On Mon, 18 Jun 2012, leroy christophe wrote:
>
>> 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
>
>
> Index: linux-3.4/arch/powerpc/platforms/8xx/m8xx_setup.c
> ===================================================================
> --- linux-3.4.orig/arch/powerpc/platforms/8xx/m8xx_setup.c
> +++ linux-3.4/arch/powerpc/platforms/8xx/m8xx_setup.c
> @@ -43,6 +43,7 @@ static irqreturn_t timebase_interrupt(in
>   
>   static struct irqaction tbint_irqaction = {
>   	.handler = timebase_interrupt,
> +	.flags = IRQF_NO_THREAD,
>   	.name = "tbint",
>   };
>   
> Index: linux-3.4/arch/powerpc/sysdev/cpm1.c
> ===================================================================
> --- linux-3.4.orig/arch/powerpc/sysdev/cpm1.c
> +++ linux-3.4/arch/powerpc/sysdev/cpm1.c
> @@ -120,6 +120,7 @@ static irqreturn_t cpm_error_interrupt(i
>   
>   static struct irqaction cpm_error_irqaction = {
>   	.handler = cpm_error_interrupt,
> +	.flags = IRQF_NO_THREAD,
>   	.name = "error",
>   };
>   
>


--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2012-06-19  8:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-18 13:53 Oops during Init IRQ leroy christophe
2012-06-18 17:53 ` Thomas Gleixner
2012-06-19  8:48   ` leroy christophe [this message]
2012-06-20  6:40     ` Thomas Gleixner
2012-06-20 11:33       ` Steven Rostedt
2012-06-22 11:30       ` Steven Rostedt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FE03CCE.8000603@c-s.fr \
    --to=christophe.leroy@c-s.fr \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=tglx@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).