[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20161027.160550.462315166736329395.davem@davemloft.net>
Date: Thu, 27 Oct 2016 16:05:50 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: zefir.kurtisi@...atec.com
Cc: netdev@...r.kernel.org, timur@...eaurora.org, andrew@...n.ch,
f.fainelli@...il.com
Subject: Re: [PATCH 2/2] at803x: double check SGMII side autoneg
From: Zefir Kurtisi <zefir.kurtisi@...atec.com>
Date: Mon, 24 Oct 2016 12:40:54 +0200
> In SGMII mode, we observed an autonegotiation issue
> after power-down-up cycles where the copper side
> reports successful link establishment but the
> SGMII side's link is down.
>
> This happened in a setup where the at8031 is
> connected over SGMII to a eTSEC (fsl gianfar),
> but so far could not be reproduced with other
> Ethernet device / driver combinations.
>
> This commit adds a wrapper function for at8031
> that in case of operating in SGMII mode double
> checks SGMII link state when generic aneg_done()
> succeeds. It prints a warning on failure but
> intentionally does not try to recover from this
> state. As a result, if you ever see a warning
> '803x_aneg_done: SGMII link is not ok' you will
> end up having an Ethernet link up but won't get
> any data through. This should not happen, if it
> does, please contact the module maintainer.
>
> Signed-off-by: Zefir Kurtisi <zefir.kurtisi@...atec.com>
Applied.
Powered by blists - more mailing lists