Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c42d95d6 authored by Thomas Koeller's avatar Thomas Koeller Committed by Ralf Baechle
Browse files

[MIPS] 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.

Signed-off-by: default avatarThomas Koeller <thomas.koeller@baslerweb.com>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 2eaa7ec2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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)
+1 −0
Original line number Diff line number Diff line
@@ -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 = {