From: Antoine Tenart <antoine.tenart@free-electrons.com>
To: Russell King - ARM Linux <linux@armlinux.org.uk>
Cc: thomas.petazzoni@free-electrons.com, andrew@lunn.ch,
ymarkman@marvell.com, netdev@vger.kernel.org,
Antoine Tenart <antoine.tenart@free-electrons.com>,
linux-kernel@vger.kernel.org, kishon@ti.com, nadavh@marvell.com,
miquel.raynal@free-electrons.com,
gregory.clement@free-electrons.com, stefanc@marvell.com,
mw@semihalf.com, davem@davemloft.net,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH net-next v5 0/4] net: mvpp2: 1000BaseX and 2500BaseX support
Date: Thu, 18 Jan 2018 16:06:44 +0100 [thread overview]
Message-ID: <20180118150644.GH2690@kwain> (raw)
In-Reply-To: <20180116151245.GJ17719@n2100.armlinux.org.uk>
Hi Russell,
On Tue, Jan 16, 2018 at 03:12:45PM +0000, Russell King - ARM Linux wrote:
>
> As I've already said, we need to make sure things are done in a similar
> way for all netdev DT drivers that are hoping to switch to phylink.
> The mvneta patches are now in net-next for this.
>
> What I can see is that there's a stark difference between mvpp2 and
> mvneta and their handling of the "link irq" aka inband autonegotiation
> status.
>
> mvneta requires 'managed = "in-band-status";' to use the results of
> the gmac negotiation otherwise inband AN is disabled. As phylink was
> developed against mvneta, phylink requires that for Base-X modes.
>
> So, in order to be compatible with mvneta and to do what phylink expects,
> specifying 'managed = "in-band-status";' is a requirement for Base-X
> modes, and having that in place _now_ will make the transition to
> phylink easier without creating the need to update DT when that change
> happens.
Yes, we should aim for similar bindings and not having all drivers doing
their own way. Part of the PPv2 move to phylink will be to rework the
"link irq" to match what phylink expect, and I think we all agree on
this. Part of this will be to update the dt of the 7k-db and 8k-db, as
they're the two boards currently using the "link irq" in mainline.
I don't mind too much keeping these base-X patches out-of-tree for now,
and to send them as part of the phylink series during the next cycle.
I don't quite get the reason not to take them now, as they do not
modify any DT-related part. Or do you fear this would allow others to
send DT patches before the PPv2 move to phylink lands in?
Thanks,
Antoine
--
Antoine Ténart, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
prev parent reply other threads:[~2018-01-18 15:06 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-12 7:51 [PATCH net-next v5 0/4] net: mvpp2: 1000BaseX and 2500BaseX support Antoine Tenart
2018-01-12 7:51 ` [PATCH net-next v5 1/4] phy: add 2.5G SGMII mode to the phy_mode enum Antoine Tenart
2018-01-15 19:21 ` David Miller
2018-01-16 6:13 ` Kishon Vijay Abraham I
2018-01-12 7:51 ` [PATCH net-next v5 2/4] phy: cp110-comphy: 2.5G SGMII mode Antoine Tenart
2018-01-16 6:15 ` Kishon Vijay Abraham I
2018-01-12 7:51 ` [PATCH net-next v5 3/4] net: mvpp2: 1000baseX support Antoine Tenart
2018-01-12 7:51 ` [PATCH net-next v5 4/4] net: mvpp2: 2500baseX support Antoine Tenart
2018-01-16 15:12 ` [PATCH net-next v5 0/4] net: mvpp2: 1000BaseX and 2500BaseX support Russell King - ARM Linux
2018-01-18 15:06 ` Antoine Tenart [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180118150644.GH2690@kwain \
--to=antoine.tenart@free-electrons.com \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=gregory.clement@free-electrons.com \
--cc=kishon@ti.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=miquel.raynal@free-electrons.com \
--cc=mw@semihalf.com \
--cc=nadavh@marvell.com \
--cc=netdev@vger.kernel.org \
--cc=stefanc@marvell.com \
--cc=thomas.petazzoni@free-electrons.com \
--cc=ymarkman@marvell.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).