On Mon, 18 Nov 2019 at 17:21, Philippe Mathieu-Daudé <phi...@redhat.com> wrote: > > On 11/5/19 12:31 PM, Linus Ziegert wrote: > > Am Mo., 4. Nov. 2019 um 23:50 Uhr schrieb Alistair Francis > > <alistai...@gmail.com <mailto:alistai...@gmail.com>>: > > > > > > On Mon, Nov 4, 2019 at 2:02 PM <linus.zieg...@holoplot.com > > <mailto:linus.zieg...@holoplot.com>> wrote: > > > > > > > > From: Linus Ziegert <linus.ziegert+q...@holoplot.com > > <mailto:linus.ziegert%2bq...@holoplot.com>> > > > > > > > > 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 is down. > > > > > > > > The emulated PHY needs to clear AN_RESTART immediately to inform > > > > the kernel driver about the completion of autonegotiation phase. > > > > > > > > [1] > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=c36757eb9dee > > > > > > > > Signed-off-by: Linus Ziegert <linus.ziegert+q...@holoplot.com > > <mailto:linus.ziegert%2bq...@holoplot.com>> > > > > > > Reviewed-by: Alistair Francis <alistair.fran...@wdc.com > > <mailto:alistair.fran...@wdc.com>> > > > > I consider this stable material. Applies cleanly to all versions > > starting from v1.5.0. > > Too bad this wasn't Cc'ed to qemu-sta...@nongnu.org and missed 4.1.1 > stable release.
I can take it via target-arm since it only affects an arm board. thanks -- PMM