* [PATCH] ARM64: dts: meson-axg: fix ethernet stability issue
@ 2018-06-25 12:56 ` Jerome Brunet
0 siblings, 0 replies; 9+ messages in thread
From: Jerome Brunet @ 2018-06-25 12:56 UTC (permalink / raw)
To: Kevin Hilman, Carlo Caione
Cc: Jerome Brunet, devicetree, linux-arm-kernel, linux-amlogic, linux-kernel
Like the odroid-c2 and wetek, the s400 uses the RTL8211F and seems to
suffer from the kind of stability issue.
Doing an iperf3 download test, we can see a significant number of LPI
interrupts on the tx path. After a short while (5 to 15 seconds), the
network connection dies. If using rootfs over NFS, the connection may
also break during the boot sequence.
We still don't have a real explanation for this problem so let's disable
EEE once again.
Fixes: f6f6ac914b82 ("ARM64: dts: meson-axg: enable ethernet for A113D S400 board")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
---
arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts
index 4b3331fbfe39..dff9b15eb3c0 100644
--- a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts
@@ -66,9 +66,22 @@
ðmac {
status = "okay";
- phy-mode = "rgmii";
pinctrl-0 = <ð_rgmii_y_pins>;
pinctrl-names = "default";
+ phy-handle = <ð_phy0>;
+ phy-mode = "rgmii";
+
+ mdio {
+ compatible = "snps,dwmac-mdio";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ eth_phy0: ethernet-phy@0 {
+ /* Realtek RTL8211F (0x001cc916) */
+ reg = <0>;
+ eee-broken-1000t;
+ };
+ };
};
&uart_A {
--
2.14.4
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH] ARM64: dts: meson-axg: fix ethernet stability issue
@ 2018-06-25 12:56 ` Jerome Brunet
0 siblings, 0 replies; 9+ messages in thread
From: Jerome Brunet @ 2018-06-25 12:56 UTC (permalink / raw)
To: linux-arm-kernel
Like the odroid-c2 and wetek, the s400 uses the RTL8211F and seems to
suffer from the kind of stability issue.
Doing an iperf3 download test, we can see a significant number of LPI
interrupts on the tx path. After a short while (5 to 15 seconds), the
network connection dies. If using rootfs over NFS, the connection may
also break during the boot sequence.
We still don't have a real explanation for this problem so let's disable
EEE once again.
Fixes: f6f6ac914b82 ("ARM64: dts: meson-axg: enable ethernet for A113D S400 board")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
---
arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts
index 4b3331fbfe39..dff9b15eb3c0 100644
--- a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts
@@ -66,9 +66,22 @@
ðmac {
status = "okay";
- phy-mode = "rgmii";
pinctrl-0 = <ð_rgmii_y_pins>;
pinctrl-names = "default";
+ phy-handle = <ð_phy0>;
+ phy-mode = "rgmii";
+
+ mdio {
+ compatible = "snps,dwmac-mdio";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ eth_phy0: ethernet-phy at 0 {
+ /* Realtek RTL8211F (0x001cc916) */
+ reg = <0>;
+ eee-broken-1000t;
+ };
+ };
};
&uart_A {
--
2.14.4
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH] ARM64: dts: meson-axg: fix ethernet stability issue
@ 2018-06-25 12:56 ` Jerome Brunet
0 siblings, 0 replies; 9+ messages in thread
From: Jerome Brunet @ 2018-06-25 12:56 UTC (permalink / raw)
To: linus-amlogic
Like the odroid-c2 and wetek, the s400 uses the RTL8211F and seems to
suffer from the kind of stability issue.
Doing an iperf3 download test, we can see a significant number of LPI
interrupts on the tx path. After a short while (5 to 15 seconds), the
network connection dies. If using rootfs over NFS, the connection may
also break during the boot sequence.
We still don't have a real explanation for this problem so let's disable
EEE once again.
Fixes: f6f6ac914b82 ("ARM64: dts: meson-axg: enable ethernet for A113D S400 board")
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
---
arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts
index 4b3331fbfe39..dff9b15eb3c0 100644
--- a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts
@@ -66,9 +66,22 @@
ðmac {
status = "okay";
- phy-mode = "rgmii";
pinctrl-0 = <ð_rgmii_y_pins>;
pinctrl-names = "default";
+ phy-handle = <ð_phy0>;
+ phy-mode = "rgmii";
+
+ mdio {
+ compatible = "snps,dwmac-mdio";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ eth_phy0: ethernet-phy at 0 {
+ /* Realtek RTL8211F (0x001cc916) */
+ reg = <0>;
+ eee-broken-1000t;
+ };
+ };
};
&uart_A {
--
2.14.4
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH] ARM64: dts: meson-axg: fix ethernet stability issue
2018-06-25 12:56 ` Jerome Brunet
(?)
@ 2018-06-26 8:07 ` Neil Armstrong
-1 siblings, 0 replies; 9+ messages in thread
From: Neil Armstrong @ 2018-06-26 8:07 UTC (permalink / raw)
To: Jerome Brunet, Kevin Hilman, Carlo Caione
Cc: devicetree, linux-amlogic, linux-kernel, linux-arm-kernel
On 25/06/2018 14:56, Jerome Brunet wrote:
> Like the odroid-c2 and wetek, the s400 uses the RTL8211F and seems to
> suffer from the kind of stability issue.
>
> Doing an iperf3 download test, we can see a significant number of LPI
> interrupts on the tx path. After a short while (5 to 15 seconds), the
> network connection dies. If using rootfs over NFS, the connection may
> also break during the boot sequence.
>
> We still don't have a real explanation for this problem so let's disable
> EEE once again.
>
> Fixes: f6f6ac914b82 ("ARM64: dts: meson-axg: enable ethernet for A113D S400 board")
> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
> ---
> arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 15 ++++++++++++++-
> 1 file changed, 14 insertions(+), 1 deletion(-)
>
[...]
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH] ARM64: dts: meson-axg: fix ethernet stability issue
@ 2018-06-26 8:07 ` Neil Armstrong
0 siblings, 0 replies; 9+ messages in thread
From: Neil Armstrong @ 2018-06-26 8:07 UTC (permalink / raw)
To: linux-arm-kernel
On 25/06/2018 14:56, Jerome Brunet wrote:
> Like the odroid-c2 and wetek, the s400 uses the RTL8211F and seems to
> suffer from the kind of stability issue.
>
> Doing an iperf3 download test, we can see a significant number of LPI
> interrupts on the tx path. After a short while (5 to 15 seconds), the
> network connection dies. If using rootfs over NFS, the connection may
> also break during the boot sequence.
>
> We still don't have a real explanation for this problem so let's disable
> EEE once again.
>
> Fixes: f6f6ac914b82 ("ARM64: dts: meson-axg: enable ethernet for A113D S400 board")
> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
> ---
> arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 15 ++++++++++++++-
> 1 file changed, 14 insertions(+), 1 deletion(-)
>
[...]
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH] ARM64: dts: meson-axg: fix ethernet stability issue
@ 2018-06-26 8:07 ` Neil Armstrong
0 siblings, 0 replies; 9+ messages in thread
From: Neil Armstrong @ 2018-06-26 8:07 UTC (permalink / raw)
To: linus-amlogic
On 25/06/2018 14:56, Jerome Brunet wrote:
> Like the odroid-c2 and wetek, the s400 uses the RTL8211F and seems to
> suffer from the kind of stability issue.
>
> Doing an iperf3 download test, we can see a significant number of LPI
> interrupts on the tx path. After a short while (5 to 15 seconds), the
> network connection dies. If using rootfs over NFS, the connection may
> also break during the boot sequence.
>
> We still don't have a real explanation for this problem so let's disable
> EEE once again.
>
> Fixes: f6f6ac914b82 ("ARM64: dts: meson-axg: enable ethernet for A113D S400 board")
> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
> ---
> arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 15 ++++++++++++++-
> 1 file changed, 14 insertions(+), 1 deletion(-)
>
[...]
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] ARM64: dts: meson-axg: fix ethernet stability issue
2018-06-26 8:07 ` Neil Armstrong
(?)
@ 2018-06-27 23:10 ` Kevin Hilman
-1 siblings, 0 replies; 9+ messages in thread
From: Kevin Hilman @ 2018-06-27 23:10 UTC (permalink / raw)
To: Neil Armstrong
Cc: Jerome Brunet, Carlo Caione, devicetree, linux-amlogic,
linux-kernel, linux-arm-kernel
Neil Armstrong <narmstrong@baylibre.com> writes:
> On 25/06/2018 14:56, Jerome Brunet wrote:
>> Like the odroid-c2 and wetek, the s400 uses the RTL8211F and seems to
>> suffer from the kind of stability issue.
>>
>> Doing an iperf3 download test, we can see a significant number of LPI
>> interrupts on the tx path. After a short while (5 to 15 seconds), the
>> network connection dies. If using rootfs over NFS, the connection may
>> also break during the boot sequence.
>>
>> We still don't have a real explanation for this problem so let's disable
>> EEE once again.
>>
>> Fixes: f6f6ac914b82 ("ARM64: dts: meson-axg: enable ethernet for A113D S400 board")
>> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
>> ---
>> arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 15 ++++++++++++++-
>> 1 file changed, 14 insertions(+), 1 deletion(-)
>>
> [...]
> Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Applied to v4.18/fixes (which I'll be sending upstream today.)
Kevin
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH] ARM64: dts: meson-axg: fix ethernet stability issue
@ 2018-06-27 23:10 ` Kevin Hilman
0 siblings, 0 replies; 9+ messages in thread
From: Kevin Hilman @ 2018-06-27 23:10 UTC (permalink / raw)
To: linux-arm-kernel
Neil Armstrong <narmstrong@baylibre.com> writes:
> On 25/06/2018 14:56, Jerome Brunet wrote:
>> Like the odroid-c2 and wetek, the s400 uses the RTL8211F and seems to
>> suffer from the kind of stability issue.
>>
>> Doing an iperf3 download test, we can see a significant number of LPI
>> interrupts on the tx path. After a short while (5 to 15 seconds), the
>> network connection dies. If using rootfs over NFS, the connection may
>> also break during the boot sequence.
>>
>> We still don't have a real explanation for this problem so let's disable
>> EEE once again.
>>
>> Fixes: f6f6ac914b82 ("ARM64: dts: meson-axg: enable ethernet for A113D S400 board")
>> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
>> ---
>> arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 15 ++++++++++++++-
>> 1 file changed, 14 insertions(+), 1 deletion(-)
>>
> [...]
> Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Applied to v4.18/fixes (which I'll be sending upstream today.)
Kevin
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH] ARM64: dts: meson-axg: fix ethernet stability issue
@ 2018-06-27 23:10 ` Kevin Hilman
0 siblings, 0 replies; 9+ messages in thread
From: Kevin Hilman @ 2018-06-27 23:10 UTC (permalink / raw)
To: linus-amlogic
Neil Armstrong <narmstrong@baylibre.com> writes:
> On 25/06/2018 14:56, Jerome Brunet wrote:
>> Like the odroid-c2 and wetek, the s400 uses the RTL8211F and seems to
>> suffer from the kind of stability issue.
>>
>> Doing an iperf3 download test, we can see a significant number of LPI
>> interrupts on the tx path. After a short while (5 to 15 seconds), the
>> network connection dies. If using rootfs over NFS, the connection may
>> also break during the boot sequence.
>>
>> We still don't have a real explanation for this problem so let's disable
>> EEE once again.
>>
>> Fixes: f6f6ac914b82 ("ARM64: dts: meson-axg: enable ethernet for A113D S400 board")
>> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
>> ---
>> arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 15 ++++++++++++++-
>> 1 file changed, 14 insertions(+), 1 deletion(-)
>>
> [...]
> Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Applied to v4.18/fixes (which I'll be sending upstream today.)
Kevin
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2018-06-27 23:10 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-25 12:56 [PATCH] ARM64: dts: meson-axg: fix ethernet stability issue Jerome Brunet
2018-06-25 12:56 ` Jerome Brunet
2018-06-25 12:56 ` Jerome Brunet
2018-06-26 8:07 ` Neil Armstrong
2018-06-26 8:07 ` Neil Armstrong
2018-06-26 8:07 ` Neil Armstrong
2018-06-27 23:10 ` Kevin Hilman
2018-06-27 23:10 ` Kevin Hilman
2018-06-27 23:10 ` Kevin Hilman
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.