mirror of
https://github.com/Fishwaldo/build.git
synced 2025-06-08 07:12:09 +00:00
[ meson64 ] patches cleanup
This commit is contained in:
parent
28e8b699ad
commit
a8415d03b4
2 changed files with 0 additions and 62 deletions
|
@ -1,62 +0,0 @@
|
||||||
From e2c70445f3533e8fa62f8c645713508148f8e4f6 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Carlo Caione <ccaione@baylibre.com>
|
|
||||||
Date: Tue, 4 Dec 2018 16:04:46 +0000
|
|
||||||
Subject: [PATCH] arm64: dts: meson: Fix IRQ trigger type for macirq
|
|
||||||
|
|
||||||
A long running stress test on a custom board shipping an AXG SoCs and a
|
|
||||||
Realtek RTL8211F PHY revealed that after a few hours the connection
|
|
||||||
speed would drop drastically, from ~1000Mbps to ~3Mbps. At the same time
|
|
||||||
the 'macirq' (eth0) IRQ would stop being triggered at all and as
|
|
||||||
consequence the GMAC IRQs never ACKed.
|
|
||||||
|
|
||||||
After a painful investigation the problem seemed to be due to a wrong
|
|
||||||
defined IRQ type for the GMAC IRQ that should be LEVEL_HIGH instead of
|
|
||||||
EDGE_RISING.
|
|
||||||
|
|
||||||
Signed-off-by: Carlo Caione <ccaione@baylibre.com>
|
|
||||||
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
|
|
||||||
---
|
|
||||||
arch/arm/boot/dts/meson.dtsi | 2 +-
|
|
||||||
arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 2 +-
|
|
||||||
arch/arm64/boot/dts/amlogic/meson-gx.dtsi | 2 +-
|
|
||||||
3 files changed, 3 insertions(+), 3 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/arch/arm/boot/dts/meson.dtsi b/arch/arm/boot/dts/meson.dtsi
|
|
||||||
index 0d9faf1a51ea..a86b89086334 100644
|
|
||||||
--- a/arch/arm/boot/dts/meson.dtsi
|
|
||||||
+++ b/arch/arm/boot/dts/meson.dtsi
|
|
||||||
@@ -263,7 +263,7 @@
|
|
||||||
compatible = "amlogic,meson6-dwmac", "snps,dwmac";
|
|
||||||
reg = <0xc9410000 0x10000
|
|
||||||
0xc1108108 0x4>;
|
|
||||||
- interrupts = <GIC_SPI 8 IRQ_TYPE_EDGE_RISING>;
|
|
||||||
+ interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
|
|
||||||
interrupt-names = "macirq";
|
|
||||||
status = "disabled";
|
|
||||||
};
|
|
||||||
diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
|
|
||||||
index c518130e5ce7..81dcbde9e674 100644
|
|
||||||
--- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
|
|
||||||
+++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
|
|
||||||
@@ -461,7 +461,7 @@
|
|
||||||
compatible = "amlogic,meson-gxbb-dwmac", "snps,dwmac";
|
|
||||||
reg = <0x0 0xff3f0000 0x0 0x10000
|
|
||||||
0x0 0xff634540 0x0 0x8>;
|
|
||||||
- interrupts = <GIC_SPI 8 IRQ_TYPE_EDGE_RISING>;
|
|
||||||
+ interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
|
|
||||||
interrupt-names = "macirq";
|
|
||||||
clocks = <&clkc CLKID_ETH>,
|
|
||||||
<&clkc CLKID_FCLK_DIV2>,
|
|
||||||
diff --git a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
|
|
||||||
index 5d2820ef9a88..d03737acbae1 100644
|
|
||||||
--- a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
|
|
||||||
+++ b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
|
|
||||||
@@ -511,7 +511,7 @@
|
|
||||||
compatible = "amlogic,meson-gx-dwmac", "amlogic,meson-gxbb-dwmac", "snps,dwmac";
|
|
||||||
reg = <0x0 0xc9410000 0x0 0x10000
|
|
||||||
0x0 0xc8834540 0x0 0x4>;
|
|
||||||
- interrupts = <GIC_SPI 8 IRQ_TYPE_EDGE_RISING>;
|
|
||||||
+ interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
|
|
||||||
interrupt-names = "macirq";
|
|
||||||
status = "disabled";
|
|
||||||
};
|
|
Loading…
Add table
Reference in a new issue