Re: mvneta: SGMII fixed-link not so fixed

2015-09-18 Thread Stas Sergeev
18.09.2015 20:30, Florian Fainelli пишет: On 18/09/15 10:22, Russell King - ARM Linux wrote: On Fri, Sep 18, 2015 at 07:04:09PM +0300, Stas Sergeev wrote: 18.09.2015 18:43, Russell King - ARM Linux пишет: On Fri, Sep 18, 2015 at 05:45:27PM +0300, Stas Sergeev wrote: AFAICS if it has use_inban

Re: mvneta: SGMII fixed-link not so fixed

2015-09-18 Thread Florian Fainelli
On 18/09/15 10:22, Russell King - ARM Linux wrote: > On Fri, Sep 18, 2015 at 07:04:09PM +0300, Stas Sergeev wrote: >> 18.09.2015 18:43, Russell King - ARM Linux пишет: >>> On Fri, Sep 18, 2015 at 05:45:27PM +0300, Stas Sergeev wrote: AFAICS if it has use_inband_status==true, then it went

Re: mvneta: SGMII fixed-link not so fixed

2015-09-18 Thread Russell King - ARM Linux
On Fri, Sep 18, 2015 at 07:04:09PM +0300, Stas Sergeev wrote: > 18.09.2015 18:43, Russell King - ARM Linux пишет: > > On Fri, Sep 18, 2015 at 05:45:27PM +0300, Stas Sergeev wrote: > >> AFAICS if it has use_inband_status==true, > >> then it went through of_phy_register_fixed_link(dn), > > > > That'

Re: mvneta: SGMII fixed-link not so fixed

2015-09-18 Thread Stas Sergeev
18.09.2015 18:43, Russell King - ARM Linux пишет: > On Fri, Sep 18, 2015 at 05:45:27PM +0300, Stas Sergeev wrote: >> 18.09.2015 16:57, Russell King - ARM Linux пишет: >>> On Fri, Sep 18, 2015 at 04:43:59PM +0300, Stas Sergeev wrote: 18.09.2015 16:12, Russell King - ARM Linux пишет: > On Fr

Re: mvneta: SGMII fixed-link not so fixed

2015-09-18 Thread Russell King - ARM Linux
On Fri, Sep 18, 2015 at 05:45:27PM +0300, Stas Sergeev wrote: > 18.09.2015 16:57, Russell King - ARM Linux пишет: > > On Fri, Sep 18, 2015 at 04:43:59PM +0300, Stas Sergeev wrote: > >> 18.09.2015 16:12, Russell King - ARM Linux пишет: > >>> On Fri, Sep 18, 2015 at 03:43:54PM +0300, Stas Sergeev wro

Re: mvneta: SGMII fixed-link not so fixed

2015-09-18 Thread Stas Sergeev
18.09.2015 16:57, Russell King - ARM Linux пишет: > On Fri, Sep 18, 2015 at 04:43:59PM +0300, Stas Sergeev wrote: >> 18.09.2015 16:12, Russell King - ARM Linux пишет: >>> On Fri, Sep 18, 2015 at 03:43:54PM +0300, Stas Sergeev wrote: 18.09.2015 15:13, Russell King - ARM Linux пишет: > On Fr

Re: mvneta: SGMII fixed-link not so fixed

2015-09-18 Thread Russell King - ARM Linux
On Fri, Sep 18, 2015 at 04:43:59PM +0300, Stas Sergeev wrote: > 18.09.2015 16:12, Russell King - ARM Linux пишет: > > On Fri, Sep 18, 2015 at 03:43:54PM +0300, Stas Sergeev wrote: > >> 18.09.2015 15:13, Russell King - ARM Linux пишет: > >>> On Fri, Sep 18, 2015 at 02:29:34PM +0300, Stas Sergeev wro

Re: mvneta: SGMII fixed-link not so fixed

2015-09-18 Thread Stas Sergeev
18.09.2015 16:12, Russell King - ARM Linux пишет: > On Fri, Sep 18, 2015 at 03:43:54PM +0300, Stas Sergeev wrote: >> 18.09.2015 15:13, Russell King - ARM Linux пишет: >>> On Fri, Sep 18, 2015 at 02:29:34PM +0300, Stas Sergeev wrote: 18.09.2015 02:14, Russell King - ARM Linux пишет: > _But

Re: mvneta: SGMII fixed-link not so fixed

2015-09-18 Thread Russell King - ARM Linux
On Fri, Sep 18, 2015 at 03:43:54PM +0300, Stas Sergeev wrote: > 18.09.2015 15:13, Russell King - ARM Linux пишет: > > On Fri, Sep 18, 2015 at 02:29:34PM +0300, Stas Sergeev wrote: > >> 18.09.2015 02:14, Russell King - ARM Linux пишет: > >>> _But_ using the in-band status > >>>property fundamen

Re: mvneta: SGMII fixed-link not so fixed

2015-09-18 Thread Stas Sergeev
18.09.2015 15:13, Russell King - ARM Linux пишет: > On Fri, Sep 18, 2015 at 02:29:34PM +0300, Stas Sergeev wrote: >> 18.09.2015 02:14, Russell King - ARM Linux пишет: >>> _But_ using the in-band status >>>property fundamentally requires this for mvneta to behave correctly: >>> >>>

Re: mvneta: SGMII fixed-link not so fixed

2015-09-18 Thread Russell King - ARM Linux
On Fri, Sep 18, 2015 at 02:29:34PM +0300, Stas Sergeev wrote: > 18.09.2015 02:14, Russell King - ARM Linux пишет: > > _But_ using the in-band status > >property fundamentally requires this for mvneta to behave correctly: > > > > phy-mode = "sgmii"; > > managed = "in-ba

Re: mvneta: SGMII fixed-link not so fixed

2015-09-18 Thread Stas Sergeev
18.09.2015 02:14, Russell King - ARM Linux пишет: > 3. Having DT specify a fixed-link with parameters along with in-band >negotiation results in the fixed-link parameters being ignored. >This means if a fixed-link DT declaration specifies a speed, that >declaration will be ignored. Wha

Re: mvneta: SGMII fixed-link not so fixed

2015-09-18 Thread Russell King - ARM Linux
On Thu, Sep 17, 2015 at 04:36:44PM -0700, Florian Fainelli wrote: > On 17/09/15 16:14, Russell King - ARM Linux wrote: > > [snip] > > >with _no_ phy node. > > > > 4. Going back to the SFP problem, the link is only up when the SFP > >module pins indicate that there's no transmitter fault,

Re: mvneta: SGMII fixed-link not so fixed

2015-09-17 Thread Florian Fainelli
On 17/09/15 16:14, Russell King - ARM Linux wrote: [snip] >with _no_ phy node. > > 4. Going back to the SFP problem, the link is only up when the SFP >module pins indicate that there's no transmitter fault, no loss of >signal _and_ the PCS layer at the MAC indicates that it has compl

Re: mvneta: SGMII fixed-link not so fixed

2015-09-17 Thread David Miller
From: Florian Fainelli Date: Thu, 17 Sep 2015 16:02:41 -0700 > On 17/09/15 15:12, David Miller wrote: >> I can queue up the whole series for -stable if you want. > > I think this would be a good thing, mvneta-based platforms are fairly > popular. Done. -- To unsubscribe from this list: send the

Re: mvneta: SGMII fixed-link not so fixed

2015-09-17 Thread Russell King - ARM Linux
On Thu, Sep 17, 2015 at 03:12:47PM -0700, David Miller wrote: > From: Russell King - ARM Linux > Date: Mon, 14 Sep 2015 12:42:09 +0100 > > > Thanks, I think that will solve it. I have to wonder why that patch > > (f8af8e6eb9509 in mainline) didn't made it into v4.2 though, as it's > > billed as

Re: mvneta: SGMII fixed-link not so fixed

2015-09-17 Thread Florian Fainelli
On 17/09/15 15:12, David Miller wrote: > From: Russell King - ARM Linux > Date: Mon, 14 Sep 2015 12:42:09 +0100 > >> Thanks, I think that will solve it. I have to wonder why that patch >> (f8af8e6eb9509 in mainline) didn't made it into v4.2 though, as it's >> billed as a regression that occurred

Re: mvneta: SGMII fixed-link not so fixed

2015-09-17 Thread David Miller
From: Russell King - ARM Linux Date: Mon, 14 Sep 2015 12:42:09 +0100 > Thanks, I think that will solve it. I have to wonder why that patch > (f8af8e6eb9509 in mainline) didn't made it into v4.2 though, as it's > billed as a regression that occurred in the previous merge window, and > given that

Re: mvneta: SGMII fixed-link not so fixed

2015-09-14 Thread Russell King - ARM Linux
On Mon, Sep 14, 2015 at 02:06:13PM +0300, Stas Sergeev wrote: > 14.09.2015 13:32, Russell King - ARM Linux пишет: > >I've been bringing up the mainline kernel on a new board, which has > >an Marvell SoC with a mvneta interface connected to a Marvell DSA > >switch. The DSA switch is a 88E6176. > >

Re: mvneta: SGMII fixed-link not so fixed

2015-09-14 Thread Stas Sergeev
14.09.2015 13:32, Russell King - ARM Linux пишет: I've been bringing up the mainline kernel on a new board, which has an Marvell SoC with a mvneta interface connected to a Marvell DSA switch. The DSA switch is a 88E6176. In the DT block for the interface, I specify: ethernet@... {

mvneta: SGMII fixed-link not so fixed

2015-09-14 Thread Russell King - ARM Linux
I've been bringing up the mainline kernel on a new board, which has an Marvell SoC with a mvneta interface connected to a Marvell DSA switch. The DSA switch is a 88E6176. In the DT block for the interface, I specify: ethernet@... { phy-mode = "sgmii"; stat