Skip to contentSkip to conversation

Fix broken rm7000/rm9000 interrupt handling

PATCH Applied Thomas Koeller 2 participants 2 messages Feb 11, 2008 – Feb 12, 2008 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix broken rm7000/rm9000 interrupt handling

Properly acknowledge RM7K and RM9K interrupts. Before this, interrupts were permanently masked after their first occurrence, making them non-functional.

arch/mips/kernel/irq-rm7000.c +1 -0
index 971adf6..fb50cc7 100644
@@ -33,6 +33,7 @@ static struct irq_chip rm7k_irq_controller = {
 	.mask = mask_rm7k_irq,
 	.mask_ack = mask_rm7k_irq,
 	.unmask = unmask_rm7k_irq,
+	.eoi	= unmask_rm7k_irq
 };
 
 void __init rm7k_cpu_irq_init(void)
arch/mips/kernel/irq-rm9000.c +1 -0
index 7b04583..ed9febe 100644
@@ -75,6 +75,7 @@ static struct irq_chip rm9k_irq_controller = {
 	.mask = mask_rm9k_irq,
 	.mask_ack = mask_rm9k_irq,
 	.unmask = unmask_rm9k_irq,
+	.eoi	= unmask_rm9k_irq
 };
 
 static struct irq_chip rm9k_perfcounter_irq = {
Signature · 1 line
1.5.3.6
Applied
#1 lore raw
Quoted 3 lines · Thomas Koeller

Properly acknowledge RM7K and RM9K interrupts. Before this, interrupts were permanently masked after their first occurrence, making them non-functional.

Applied to 2.6.20 and up. Thanks,

Ralf