Re: [PATCH] net: phy: fix autoneg invalid error state of GBSR register.

From: Florian Fainelli
Date: Wed Sep 01 2021 - 10:55:36 EST

On 9/1/2021 6:40 AM, 马强 wrote:
> > > It looks like you are using an old tree.
> > Yes, it is linux-4.19.y, since 4.19.y does not have autoneg_complete flag,,
> > This patch adds the condition before
> > reading GBSR register to fix this error state.
> So you first need to fix it in net/master, and then backport it to
> older kernels.

This patch is modified according to the contents of the latest kernels,
the following is a reference:
[ Upstream commit b6163f194c699ff75fa6aa4565b1eb8946c2c652 ]
[ Upstream commit 4950c2ba49cc6f2b38dbedcfa0ff67acf761419a ]

Then you need to be extremely clear in the commit message which specific branch you are targeting, which commits you used as a reference, and how you are fixing the problem. Also, the register is commonly named BMSR (Basic Mode Status Register), no idea what GBSR means.