Re: r8169: regression on MIPS/Loongson

2019-08-22 Thread Aaro Koskinen
Hi, On Fri, Aug 23, 2019 at 12:52:34AM +0200, Heiner Kallweit wrote: > On 23.08.2019 00:25, Aaro Koskinen wrote: > > After upgrading from v5.2 to v5.3-rc5 on MIPS/Loongson board, copying > > large files from network with scp started to fail with "Integrity err

r8169: regression on MIPS/Loongson

2019-08-22 Thread Aaro Koskinen
Hi, After upgrading from v5.2 to v5.3-rc5 on MIPS/Loongson board, copying large files from network with scp started to fail with "Integrity error". Bisected to: f072218cca5b076dd99f3dfa3aaafedfd0023a51 is the first bad commit commit f072218cca5b076dd99f3dfa3aaafedfd0023a51 Author: Heiner Kallweit

Re: [PATCH net] net: phy: marvell: Only configure RGMII delays when using RGMII

2017-10-31 Thread Aaro Koskinen
: phy: marvell: logical vs bitwise OR typo") > Signed-off-by: Andrew Lunn Tested-by: Aaro Koskinen > Aaro > > Please can you test this and see if it fixes your OpenRD. This should > cause it to leave the bootloader configuration alone. That will fix > the regression for

Re: [REGRESSION, BISECTED] Broken networking with net/phy/marvell

2017-10-29 Thread Aaro Koskinen
Hi, On Sat, Oct 28, 2017 at 09:01:39PM +0200, Andrew Lunn wrote: > On Thu, Oct 26, 2017 at 03:28:36PM +0300, Aaro Koskinen wrote: > > When upgrading from v4.13 to v4.14-rc6 on OpenRD Client, the box loses > > network connectivity. > > What exactly is the PHY in the OpenRD?

[REGRESSION, BISECTED] Broken networking with net/phy/marvell

2017-10-26 Thread Aaro Koskinen
Hi, When upgrading from v4.13 to v4.14-rc6 on OpenRD Client, the box loses network connectivity. Bisection points to: commit 5987feb38aa55e035ce5376c02aba88a604cc881 Author: Dan Carpenter Date: Fri Aug 4 11:17:21 2017 +0300 net: phy: marvell: logical vs bitwise OR typo However, it s

Re: [BISECTED] v4.9: OCTEON ethernet crash

2016-12-14 Thread Aaro Koskinen
Hi, On Wed, Dec 14, 2016 at 05:00:59PM -0800, Florian Fainelli wrote: > On 12/14/2016 04:57 PM, Aaro Koskinen wrote: > > On Wed, Dec 14, 2016 at 04:41:13PM -0800, Florian Fainelli wrote: > >> On 12/14/2016 04:32 PM, Aaro Koskinen wrote: > >>> Git bisect

Re: [BISECTED] v4.9: OCTEON ethernet crash

2016-12-14 Thread Aaro Koskinen
Hi, On Wed, Dec 14, 2016 at 04:41:13PM -0800, Florian Fainelli wrote: > On 12/14/2016 04:32 PM, Aaro Koskinen wrote: > > Git bisect points to: > > > > commit ec988ad78ed6d184a7f4ca6b8e962b0e8f1de461 > > Author: Florian Fainelli > > Date: Tue Dec 6 20:54:43 2

[BISECTED] v4.9: OCTEON ethernet crash

2016-12-14 Thread Aaro Koskinen
Hi, I'm getting the following crash on every boot on OCTEON (EdgeRouter Lite) with v4.9 (right after setting up ethernet bridging): [ 16.814902] CPU 0 Unable to handle kernel paging request at virtual address 0080, epc == 81458570, ra == 81458804 [ 16.827805] Oops

Re: wl1251 & mac address & calibration data

2016-11-24 Thread Aaro Koskinen
Hi, On Thu, Nov 24, 2016 at 04:20:45PM +0100, Pali Rohár wrote: > Proprietary, signed and closed bootloader NOLO does not support DT. So > for booting you need to append DTS file to kernel image. > > U-Boot is optional and can be used as intermediate bootloader between > NOLO and kernel. But stil

Re: Improving OCTEON II 10G Ethernet performance

2016-08-25 Thread Aaro Koskinen
Hi, On Thu, Aug 25, 2016 at 01:11:45PM -0700, David Daney wrote: > On 08/25/2016 11:22 AM, Aaro Koskinen wrote: > >On Thu, Aug 25, 2016 at 09:50:15AM -0700, David Daney wrote: > >>Ideally we would configure the packet classifiers on the RX side to create > >>multiple R

Re: Improving OCTEON II 10G Ethernet performance

2016-08-25 Thread Aaro Koskinen
Hi, On Thu, Aug 25, 2016 at 09:50:15AM -0700, David Daney wrote: > Ideally we would configure the packet classifiers on the RX side to create > multiple RX queues based on a hash of the TCP 5-tuple, and handle each queue > with a single NAPI instance. That should result in better performance whil

Re: Improving OCTEON II 10G Ethernet performance

2016-08-25 Thread Aaro Koskinen
Hi, On Wed, Aug 24, 2016 at 06:29:49PM -0700, Ed Swierk wrote: > I'm trying to migrate from the Octeon SDK to a vanilla Linux 4.4 > kernel for a Cavium OCTEON II (CN6880) board running in 64-bit > little-endian mode. So far I've gotten most of the hardware features I > need working, including XAUI

Re: __napi_alloc_skb failures locking up the box

2016-05-23 Thread Aaro Koskinen
Hi, On Sat, Apr 30, 2016 at 12:54:12PM -0700, Eric Dumazet wrote: > On Sat, 2016-04-30 at 22:24 +0300, Aaro Koskinen wrote: > > Hi, > > > > I have old NAS box (Thecus N2100) with 512 MB RAM, where rsync from NFS -> > > disk reliably results in temporary out-of-me

__napi_alloc_skb failures locking up the box

2016-04-30 Thread Aaro Koskinen
Hi, I have old NAS box (Thecus N2100) with 512 MB RAM, where rsync from NFS -> disk reliably results in temporary out-of-memory conditions. When this happens the dmesg gets flooded with below logs. If the serial console logging is enabled, this will lock up the box completely and the backup is no

Re: [PATCH] of: of_mdio: Add marvell,88e1145 to whitelist of PHY compatibilities.

2016-02-03 Thread Aaro Koskinen
Hi, On Wed, Feb 03, 2016 at 12:14:05PM -0800, David Daney wrote: > On 02/03/2016 12:08 PM, Andrew Lunn wrote: > >On Wed, Feb 03, 2016 at 09:35:29PM +0200, Aaro Koskinen wrote: > >>Commit ae461131960b ("of: of_mdio: Add a whitelist of PHY > >>compatibilities.")

Re: [PATCH] of: of_mdio: Add marvell,88e1145 to whitelist of PHY compatibilities.

2016-02-03 Thread Aaro Koskinen
Hi, On Wed, Feb 03, 2016 at 09:08:57PM +0100, Andrew Lunn wrote: > On Wed, Feb 03, 2016 at 09:35:29PM +0200, Aaro Koskinen wrote: > > Commit ae461131960b ("of: of_mdio: Add a whitelist of PHY > > compatibilities.") missed one compatible string used in in-tree DTBs: &g

[PATCH] of: of_mdio: Add marvell,88e1145 to whitelist of PHY compatibilities.

2016-02-03 Thread Aaro Koskinen
he whitelist. Add it. The patch fixes broken networking on EdgeRouter Lite. Fixes: ae461131960b ("of: of_mdio: Add a whitelist of PHY compatibilities.") Signed-off-by: Aaro Koskinen --- drivers/of/of_mdio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/of/of_mdio.c b/driv

Re: [PATCH net 1/2] of: of_mdio: Add a whitelist of PHY compatibilities.

2016-01-27 Thread Aaro Koskinen
tch. Generic MDIO devices must have a compatible value, PHYs can > list clause 22 or 45, but nothing else. > > Issue a warning if we find a compatible value known on the whitelist, > and say it is a PHY. > > Fixes: a9049e0c513c ("mdio: Add support for mdio drivers.")

Re: [PATCH net] of: of_mdio: Ensure mdio device is a PHY

2016-01-26 Thread Aaro Koskinen
a PHY before returning it. > > Fixes: a9049e0c513c ("mdio: Add support for mdio drivers.") > Reported-by: Aaro Koskinen > Reported-by: Olof Johansson > Signed-off-by: Andrew Lunn This fixes the crash for me, so: Tested-by: Aaro Koskinen > --- > > This is o

Re: [BISECTED] v4.5-rc1 phylib regression

2016-01-26 Thread Aaro Koskinen
Hi, On Tue, Jan 26, 2016 at 05:46:24AM +0100, Andrew Lunn wrote: > On Mon, Jan 25, 2016 at 05:45:21PM +0200, Aaro Koskinen wrote: > > I get the below crash on OCTEON (with octeon_mgmt interface, genphy) > > always during systemd boot. > > I think i know what is going on now

[BISECTED] v4.5-rc1 phylib regression

2016-01-25 Thread Aaro Koskinen
Hi, I get the below crash on OCTEON (with octeon_mgmt interface, genphy) always during systemd boot. Bisected to: commit a9049e0c513c4521dbfaa302af8ed08b3366b41f Author: Andrew Lunn Date: Wed Jan 6 20:11:26 2016 +0100 mdio: Add support for mdio drivers. [ 250.179887] CPU 2 Unable to ha

[PATCH] broadcom: fix PHY_ID_BCM5481 entry in the id table

2015-11-21 Thread Aaro Koskinen
l PHY_ID's to header") Signed-off-by: Aaro Koskinen --- drivers/net/phy/broadcom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/phy/broadcom.c b/drivers/net/phy/broadcom.c index 07a6119..3ce5d95 100644 --- a/drivers/net/phy/broadcom.c +++ b/drivers/net/p

[iproute PATCH] misc/Makefile: use PKG_CONFIG

2015-11-17 Thread Aaro Koskinen
Use PKG_CONFIG from Config - it works better when cross-compiling. Signed-off-by: Aaro Koskinen --- misc/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/Makefile b/misc/Makefile index 389c1b0..f50e740 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -10,8