Page 7 of 13

Re: Kernel 4.15

Posted: Wed Jan 10, 2018 6:31 pm
by xeno74
JamieKrueger wrote: I have joined the linuxppc-dev mailing list, and I just sent off a (slightly reformatted) version of the results I posted here.

@Christian, I sent you a copy directly in case you wanted to add any further notes.
Hi Jamie,

Many thanks for posting the issue with the DPAA Ethernet driver on the linuxppc-dev mailing list! I appreciate it very much.

@All
Link to the thread: DPAA Ethernet problems with mainstream Linux kernels

Cheers,
Christian

Re: Kernel 4.15

Posted: Wed Jan 10, 2018 8:04 pm
by Skateman
@xeno74

I have just read the PPC dev thread in the link.
The way Jamie has described the problem could not have been better, so i dont see what i can add to this.

@Jamie Great work!

Hopefully a fix wil be on the way.

Re: Kernel 4.15

Posted: Wed Jan 10, 2018 8:29 pm
by xeno74
Skateman wrote:@xeno74

I have just read the PPC dev thread in the link.
The way Jamie has described the problem could not have been better, so i dont see what i can add to this.

@Jamie Great work!

Hopefully a fix wil be on the way.
Hi Skateman,

You can acknowledge the issue with your own report on the linuxppc-dev mailing list.

Cheers,
Christian

Re: Kernel 4.15

Posted: Wed Jan 10, 2018 9:44 pm
by Skateman
@xeno74

Done... https://lists.ozlabs.org/pipermail/linu ... 67637.html

Not even close to the detailed description by Jamie, but hey, now there are two people with the same issue and the same machine.

Re: Kernel 4.15

Posted: Wed Jan 10, 2018 9:46 pm
by xeno74
Skateman wrote:@xeno74

Done... https://lists.ozlabs.org/pipermail/linu ... 67637.html

Not even close to the detailed description by Jamie, but hey, now there are two people with the same issue and the same machine.
Thanks a lot! :-)

Re: Kernel 4.15

Posted: Fri Jan 12, 2018 10:06 pm
by xeno74
FYI:
Madalin wrote: Hi Jamie,

We are testing the DPAA driver on several DS and RDB platforms and it
is working properly. The issues you encounter with it on the X5000/20
are likely caused by some issues specific to that particular platform.
The device tree that you mention, cyrus_p5020.eth.dts is not found in
the Linux kernel sources. The cyrus_p5020.dts file from the fsl ppc
device tree folder does not include the PHY information for the DPAA
interfaces. The problems that you experience may be caused by some
issues with the PHY configuration (i.e. internal delay). I suggest
that you connect the DPAA interface to a traffic analyzer or directly
to another device on which you can capture the incoming traffic and
check that the received frames are correct.

Madalin
Further information: DPAA Ethernet problems with mainstream Linux kernels -- linuxppc-dev mailing list

Re: Kernel 4.15

Posted: Mon Jan 15, 2018 12:53 pm
by xeno74
Hi All,

I compiled the RC8 of kernel 4.15 for the X5000 and X1000 today.

New:
Download: vmlinux-4.15-rc8-AmigaOne_X1000_X5000.tar.gz

Screenshot of Lubuntu 16.04.3 LTS PowerPC with the new kernel 4.15-rc8 on an AmigaOne X5000:

Image

Please test the RC8.

Thanks,
Christian

Re: Kernel 4.15

Posted: Mon Jan 15, 2018 6:11 pm
by Skateman
@xeno74

Can u doe something with this patch for the Ethernet interfaces.??

Thanks


Hi, just saw this and thought of a small patch I just wrote for mdio bus, o idea
if it is relevant but here goes:

From fe0b98d54a79779482700676331b4d10a0f3cada Mon Sep 17 00:00:00 2001
From: Joakim Tjernlund <joakim.tjernlund@infinera.com>
Date: Sun, 14 Jan 2018 21:27:20 +0100
Subject: [PATCH] of_mdiobus_register: Continue after error

of_mdiobus_register unregister itself if one phy fails to register
which is bad for system having all its PHYs on the same MDIO bus.
Just log the error and continue with the remaining PHYs instead.

Signed-off-by: Joakim Tjernlund <joakim.tjernlund@infinera.com>
---
drivers/of/of_mdio.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/drivers/of/of_mdio.c b/drivers/of/of_mdio.c
index 98258583abb0..76ff28a41dad 100644
--- a/drivers/of/of_mdio.c
+++ b/drivers/of/of_mdio.c
@@ -229,7 +229,8 @@ int of_mdiobus_register(struct mii_bus *mdio, struct device_node *np)
else
rc = of_mdiobus_register_device(mdio, child, addr);
if (rc)
- goto unregister;
+ pr_warn(FW_WARN
+ "%pOF: Failed to register MDIO device.\n", child);
}

if (!scanphys)
@@ -253,7 +254,8 @@ int of_mdiobus_register(struct mii_bus *mdio, struct device_node *np)
if (of_mdiobus_child_is_phy(child)) {
rc = of_mdiobus_register_phy(mdio, child, addr);
if (rc)
- goto unregister;
+ pr_warn(FW_WARN
+ "%pOF: Failed to register MDIO PHY.\n", child);
}
}
}

Re: Kernel 4.15

Posted: Mon Jan 15, 2018 8:21 pm
by xeno74
@Skateman
Here you are. Link: uImage-4.15-rc8_with_mdio_patch.tar.gz

-- Christian

Re: Kernel 4.15

Posted: Tue Jan 16, 2018 6:13 am
by xeno74
xeno74 wrote:@Skateman
Here you are. Link: uImage-4.15-rc8_with_mdio_patch.tar.gz

-- Christian
Result