All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] mips/rt: convert timer interrupt handler to no threaded
@ 2011-08-25  7:11 Liming Wang
  2011-08-25  7:11 ` [PATCH 1/1] " Liming Wang
  0 siblings, 1 reply; 3+ messages in thread
From: Liming Wang @ 2011-08-25  7:11 UTC (permalink / raw)
  To: Bruce.Ashfield; +Cc: yocto, dvhart

This patch fixes yocto bug:
[Bug 1392] qemumips: linux-yocto-rt_3.0 panics at boot

Liming Wang (1):
      mips/rt: convert timer interrupt handler to no threaded

 arch/mips/kernel/i8259.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/1] mips/rt: convert timer interrupt handler to no threaded
  2011-08-25  7:11 [PATCH 0/1] mips/rt: convert timer interrupt handler to no threaded Liming Wang
@ 2011-08-25  7:11 ` Liming Wang
  2011-08-25  8:01   ` Liming Wang
  0 siblings, 1 reply; 3+ messages in thread
From: Liming Wang @ 2011-08-25  7:11 UTC (permalink / raw)
  To: Bruce.Ashfield; +Cc: yocto, dvhart

It's a known issue that preempt_rt kernel must convert the
main timer interrupt handler to no threaded, otherwise kernel
can't work well.

Signed-off-by: Liming Wang <liming.wang@windriver.com>
---
 arch/mips/kernel/i8259.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/mips/kernel/i8259.c b/arch/mips/kernel/i8259.c
index 5c74eb7..fb338db 100644
--- a/arch/mips/kernel/i8259.c
+++ b/arch/mips/kernel/i8259.c
@@ -295,6 +295,7 @@ static void init_8259A(int auto_eoi)
 static struct irqaction irq2 = {
 	.handler = no_action,
 	.name = "cascade",
+	.flags = IRQF_NO_THREAD,
 };
 
 static struct resource pic1_io_resource = {
-- 
1.7.0.4



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1] mips/rt: convert timer interrupt handler to no threaded
  2011-08-25  7:11 ` [PATCH 1/1] " Liming Wang
@ 2011-08-25  8:01   ` Liming Wang
  0 siblings, 0 replies; 3+ messages in thread
From: Liming Wang @ 2011-08-25  8:01 UTC (permalink / raw)
  To: Bruce.Ashfield; +Cc: yocto, dvhart

On 2011-8-25 15:11, Liming Wang wrote:
> It's a known issue that preempt_rt kernel must convert the
> main timer interrupt handler to no threaded, otherwise kernel
> can't work well.
Sorry,  I'm wrong, irq2 is not the timer interrupt handler, it's 
described as:
"IRQ2 is cascade interrupt to second interrupt controller".
I will re-send the the mail.

Liming Wang
> Signed-off-by: Liming Wang<liming.wang@windriver.com>
> ---
>   arch/mips/kernel/i8259.c |    1 +
>   1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/arch/mips/kernel/i8259.c b/arch/mips/kernel/i8259.c
> index 5c74eb7..fb338db 100644
> --- a/arch/mips/kernel/i8259.c
> +++ b/arch/mips/kernel/i8259.c
> @@ -295,6 +295,7 @@ static void init_8259A(int auto_eoi)
>   static struct irqaction irq2 = {
>   	.handler = no_action,
>   	.name = "cascade",
> +	.flags = IRQF_NO_THREAD,
>   };
>
>   static struct resource pic1_io_resource = {



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-08-25  8:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-25  7:11 [PATCH 0/1] mips/rt: convert timer interrupt handler to no threaded Liming Wang
2011-08-25  7:11 ` [PATCH 1/1] " Liming Wang
2011-08-25  8:01   ` Liming Wang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.