[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1426d8ed40be0927c135aff25dcf989a11326932.camel@baylibre.com>
Date: Thu, 21 Feb 2019 15:21:10 +0100
From: Jerome Brunet <jbrunet@...libre.com>
To: Simon Huelck <simonmail@....de>,
Jose Abreu <jose.abreu@...opsys.com>,
Martin Blumenstingl <martin.blumenstingl@...glemail.com>
Cc: linux-amlogic@...ts.infradead.org, netdev@...r.kernel.org,
alexandre.torgue@...com,
Emiliano Ingrassia <ingrassia@...genesys.com>,
Gpeppe.cavallaro@...com
Subject: Re: stmmac / meson8b-dwmac
On Tue, 2019-02-19 at 20:41 +0100, Simon Huelck wrote:
> Am 19.02.2019 um 09:47 schrieb Jose Abreu:
> > Hi Simon,
> >
> > On 2/18/2019 6:05 PM, Simon Huelck wrote:
> > > disabling EEE doesnt help ( did it via the entry in the .dtb / .dts ),
> > > the results are the same. I can confirm the LPI counters are zero or one
> > > only after the test.....
> > It's interesting to see that you have a lot of RX packets but few
> > RX interrupts. This can either be due to mis-configuration of
> > interrupt flags or RX Watchdog.
> >
> > 1. For interrupt flags you should be using LEVEL triggered IRQ.
> > 2. For RX Watchdog you can try disabling it by adding the
> > following in your platform wrapper driver (which will be
> > "dwmac-meson8b.c", at probe):
> > "plat_data->force_sf_dma_mode = 1;" and
> > "plat_data->riwt_off = 1;"
> >
> > Thanks,
> > Jose Miguel Abreu
>
> Hi,
>
>
> are you aware that odroid c2 dts is using level irq ?
The odroid-c2 (meson-gxl) is using level triggered irq, indeed.
For a reason that still eludes me, The odroid-c1 (meson8b) isn't.
This is confusing since both boards have been mentionned in this thread.
>
> at which numbers do you estimage that RX irqs are low in numbers ?
>
>
> regards,
>
> Simon
>
>
> _______________________________________________
> linux-amlogic mailing list
> linux-amlogic@...ts.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-amlogic
Powered by blists - more mailing lists