From: Neil Armstrong <narmstrong@baylibre.com>
To: Carlo Caione <ccaione@baylibre.com>,
robh+dt@kernel.org, mark.rutland@arm.com, khilman@baylibre.com,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-amlogic@lists.infradead.org,
martin.blumenstingl@googlemail.com
Subject: Re: [PATCH 1/2] arm64: dts: meson: Fix IRQ trigger type for macirq
Date: Tue, 04 Dec 2018 20:52:45 +0100 [thread overview]
Message-ID: <5C06DB0D.3010306@baylibre.com> (raw)
In-Reply-To: <20181204160447.27869-2-ccaione@baylibre.com>
Hi Carlo,
Le 04/12/2018 17:04, Carlo Caione a écrit :
> 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.
This is a good news !
Kevin,
What's the best procedure here to make it apply on the 4.19, 4.14 and 4.9 stable
trees ? for 4.14 and 4.9 it will need to be reworked to apply correctly.
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
>
> Signed-off-by: Carlo Caione <ccaione@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 df017dbd2e57..b1a42e99cb67 100644
> --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
> +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
> @@ -143,7 +143,7 @@
> compatible = "amlogic,meson-axg-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 f1e5cdbade5e..58e6bcaac1d8 100644
> --- a/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
> +++ b/arch/arm64/boot/dts/amlogic/meson-gx.dtsi
> @@ -462,7 +462,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";
> };
>
next prev parent reply other threads:[~2018-12-04 19:52 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-04 16:04 [PATCH 0/2] meson: Fix IRQ trigger type Carlo Caione
2018-12-04 16:04 ` [PATCH 1/2] arm64: dts: meson: Fix IRQ trigger type for macirq Carlo Caione
2018-12-04 19:52 ` Neil Armstrong [this message]
2018-12-05 1:12 ` Kevin Hilman
2018-12-04 16:04 ` [PATCH 2/2] arm64: dts: meson: Remove eee-broken-1000t quirk Carlo Caione
2018-12-04 19:59 ` [PATCH 0/2] meson: Fix IRQ trigger type Martin Blumenstingl
2018-12-04 20:51 ` Carlo Caione
2018-12-06 12:43 ` Emiliano Ingrassia
2018-12-06 13:17 ` Carlo Caione
2018-12-06 15:52 ` Emiliano Ingrassia
2018-12-06 18:51 ` Emiliano Ingrassia
2018-12-07 10:49 ` Jerome Brunet
2018-12-07 11:03 ` Carlo Caione
2018-12-07 18:33 ` Emiliano Ingrassia
2018-12-07 18:28 ` Emiliano Ingrassia
2018-12-07 19:58 ` Jerome Brunet
2018-12-07 21:56 ` Martin Blumenstingl
2018-12-06 13:26 ` Jerome Brunet
2018-12-06 16:24 ` Emiliano Ingrassia
2018-12-06 13:26 ` Jerome Brunet
2018-12-07 4:17 ` Kevin Hilman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5C06DB0D.3010306@baylibre.com \
--to=narmstrong@baylibre.com \
--cc=ccaione@baylibre.com \
--cc=devicetree@vger.kernel.org \
--cc=khilman@baylibre.com \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=mark.rutland@arm.com \
--cc=martin.blumenstingl@googlemail.com \
--cc=robh+dt@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).