Re: OMAP4430 SDP with KS8851: very slow networking

2018-12-07 Thread Tony Lindgren
* Russell King - ARM Linux [181207 19:27]: > You mentioned that edge mode didn't work as well as level mode on > duovero smsc controller, I think this may help to solve the same > issue but for edge IRQs - we need a mask_ack_irq function to avoid > acking while the edge interrupt is masked. Let

Re: OMAP4430 SDP with KS8851: very slow networking

2018-12-07 Thread Russell King - ARM Linux
On Fri, Dec 07, 2018 at 11:03:12AM -0800, Tony Lindgren wrote: > * Tony Lindgren [181207 18:14]: > > Hi, > > > > * Russell King - ARM Linux [181207 18:01]: > > > Hi Tony, > > > > > > You know most of what's been going on from IRC, but here's the patch > > > which gets me: > > > > > > 1)

Re: OMAP4430 SDP with KS8851: very slow networking

2018-12-07 Thread Tony Lindgren
* Tony Lindgren [181207 18:14]: > Hi, > > * Russell King - ARM Linux [181207 18:01]: > > Hi Tony, > > > > You know most of what's been going on from IRC, but here's the patch > > which gets me: > > > > 1) working interrupts for networking > > 2) solves the stuck-wakeup problem > > > > It

Re: OMAP4430 SDP with KS8851: very slow networking

2018-12-07 Thread Tony Lindgren
Hi, * Russell King - ARM Linux [181207 18:01]: > Hi Tony, > > You know most of what's been going on from IRC, but here's the patch > which gets me: > > 1) working interrupts for networking > 2) solves the stuck-wakeup problem > > It also contains some of the debug bits I added. This is

Re: OMAP4430 SDP with KS8851: very slow networking

2018-12-07 Thread Russell King - ARM Linux
Hi Tony, You know most of what's been going on from IRC, but here's the patch which gets me: 1) working interrupts for networking 2) solves the stuck-wakeup problem It also contains some of the debug bits I added. I think what this means is that we should strip out ec0daae685b2 ("gpio: omap:

Re: OMAP4430 SDP with KS8851: very slow networking

2018-12-06 Thread Tony Lindgren
* Russell King - ARM Linux [181206 18:08]: > reverted, the problem is still there. Revert: > > ec0daae685b2 ("gpio: omap: Add level wakeup handling for omap4 based SoCs") > > on top, and networking returns to normal. So it appears to be this > last commit causing the issue. > > With that and

Re: OMAP4430 SDP with KS8851: very slow networking

2018-12-06 Thread Russell King - ARM Linux
On Thu, Dec 06, 2018 at 08:31:54AM -0800, Tony Lindgren wrote: > Hi, > > * Russell King - ARM Linux [181206 13:23]: > > It looks very much like a receive problem - in that the board is not > > always aware of a packet having been received until it attempts to > > transmit (eg, in the case of

Re: OMAP4430 SDP with KS8851: very slow networking

2018-12-06 Thread Tony Lindgren
Hi, * Russell King - ARM Linux [181206 13:23]: > It looks very much like a receive problem - in that the board is not > always aware of a packet having been received until it attempts to > transmit (eg, in the case of TFTP, when it re-sends the ACK after a > receive timeout, it _then_ notices