mips/rt: convert timer interrupt handler to no threaded
cover mips/rt: convert timer interrupt handler to no threaded
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(-)
PATCH 1/1 mips/rt: convert timer interrupt handler to no threaded
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 <[email protected]>
--- arch/mips/kernel/i8259.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
arch/mips/kernel/i8259.c +1 -0
@@ -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 = {
Signature · 1 line
1.7.0.4
Quoted 3 lines · Liming Wang
It's a known issue that
preempt_rtkernel 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
Quoted 17 lines
Signed-off-by Liming Wang<[email protected]>--- arch/mips/kernel/i8259.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)arch/mips/kernel/i8259.c +1
-0@@ -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 = {