realtek: use higher priority for timer interrupts
authorSander Vanheule <sander@svanheule.net>
Sun, 20 Feb 2022 15:25:43 +0000 (16:25 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 20 Feb 2022 16:23:55 +0000 (16:23 +0000)
The assigned output index for the event timers was quite low, lower even
than the ethernet interrupt. This means that high network load could
preempt timer interrupts, possibly leading to all sorts of strange
behaviour.

Increase the interrupt output index of the event timers to 5, which is
the highest priority output and corresponds to the (otherwise unused)
MIPS CPU timer interrupt.

Fixes: a75b9e3ecb61 ("realtek: Adding RTL930X sub-target")
Signed-off-by: Sander Vanheule <sander@svanheule.net>
target/linux/realtek/dts-5.10/rtl930x.dtsi

index 12407a3073139fb5f61b90c0e88ba1dcb77a2338..31c0211342614382d01fdbcf805f0e569df38e63 100644 (file)
@@ -64,7 +64,7 @@
                        #interrupt-cells = <1>;
 
                        interrupt-parent = <&intc>;
-                       interrupts = <7 1>, <8 2>;
+                       interrupts = <7 5>, <8 5>;
                };
 
                spi0: spi@1200 {