Re: [PATCH] net/cadence_gem: Set PHY autonegotiation restart status

2019-11-18 Thread Peter Maydell
On Mon, 18 Nov 2019 at 17:21, Philippe Mathieu-Daudé wrote: > > On 11/5/19 12:31 PM, Linus Ziegert wrote: > > Am Mo., 4. Nov. 2019 um 23:50 Uhr schrieb Alistair Francis > > mailto:alistai...@gmail.com>>: > > > > > > On Mon, Nov 4, 2019 at 2:02 PM > > wrote: >

Re: [PATCH] net/cadence_gem: Set PHY autonegotiation restart status

2019-11-18 Thread Philippe Mathieu-Daudé
On 11/5/19 12:31 PM, Linus Ziegert wrote: Am Mo., 4. Nov. 2019 um 23:50 Uhr schrieb Alistair Francis mailto:alistai...@gmail.com>>: > > On Mon, Nov 4, 2019 at 2:02 PM > wrote: > > > > From: Linus Ziegert > > > >

Re: [PATCH] net/cadence_gem: Set PHY autonegotiation restart status

2019-11-05 Thread Linus Ziegert
Am Mo., 4. Nov. 2019 um 23:50 Uhr schrieb Alistair Francis < alistai...@gmail.com>: > > On Mon, Nov 4, 2019 at 2:02 PM wrote: > > > > From: Linus Ziegert > > > > The Linux kernel PHY driver sets AN_RESTART in the BMCR of the > > PHY when autonegotiation is started. > > Recently the kernel started

Re: [PATCH] net/cadence_gem: Set PHY autonegotiation restart status

2019-11-04 Thread Alistair Francis
On Mon, Nov 4, 2019 at 2:02 PM wrote: > > From: Linus Ziegert > > The Linux kernel PHY driver sets AN_RESTART in the BMCR of the > PHY when autonegotiation is started. > Recently the kernel started to read back the PHY's AN_RESTART > bit and now checks whether the autonegotiation is complete and

[PATCH] net/cadence_gem: Set PHY autonegotiation restart status

2019-11-04 Thread linus . ziegert
From: Linus Ziegert The Linux kernel PHY driver sets AN_RESTART in the BMCR of the PHY when autonegotiation is started. Recently the kernel started to read back the PHY's AN_RESTART bit and now checks whether the autonegotiation is complete and the bit was cleared [1]. Otherwise the link status i