[openwrt/openwrt] realtek: use higher priority for timer interrupts

LEDE Commits lede-commits at lists.infradead.org
Sun Feb 20 09:00:19 PST 2022


dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/a39fbaf23a4a6632bcc17d41481238e8179f8524

commit a39fbaf23a4a6632bcc17d41481238e8179f8524
Author: Sander Vanheule <sander at svanheule.net>
AuthorDate: Sun Feb 20 16:25:43 2022 +0100

    realtek: use higher priority for timer interrupts
    
    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 at svanheule.net>
---
 target/linux/realtek/dts-5.10/rtl930x.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/realtek/dts-5.10/rtl930x.dtsi b/target/linux/realtek/dts-5.10/rtl930x.dtsi
index 12407a3073..31c0211342 100644
--- a/target/linux/realtek/dts-5.10/rtl930x.dtsi
+++ b/target/linux/realtek/dts-5.10/rtl930x.dtsi
@@ -64,7 +64,7 @@
 			#interrupt-cells = <1>;
 
 			interrupt-parent = <&intc>;
-			interrupts = <7 1>, <8 2>;
+			interrupts = <7 5>, <8 5>;
 		};
 
 		spi0: spi at 1200 {



More information about the lede-commits mailing list