[EXT] Re: [PATCH net-next 5/6] arm64: dts: marvell: mcbin: enable the fourth network interface
Stefan Chulski
stefanc at marvell.com
Mon Jan 1 02:35:25 PST 2018
> -----Original Message-----
> From: Marcin Wojtas [mailto:mw at semihalf.com]
> Sent: Monday, January 01, 2018 12:18 PM
> To: Russell King - ARM Linux <linux at armlinux.org.uk>
> Cc: Stefan Chulski <stefanc at marvell.com>; Thomas Petazzoni
> <thomas.petazzoni at free-electrons.com>; Andrew Lunn <andrew at lunn.ch>;
> Florian Fainelli <f.fainelli at gmail.com>; Yan Markman
> <ymarkman at marvell.com>; Jason Cooper <jason at lakedaemon.net>; netdev
> <netdev at vger.kernel.org>; Antoine Tenart <antoine.tenart at free-
> electrons.com>; linux-kernel at vger.kernel.org; kishon at ti.com; Nadav Haklai
> <nadavh at marvell.com>; Miquèl Raynal <miquel.raynal at free-electrons.com>;
> Gregory Clément <gregory.clement at free-electrons.com>; David S. Miller
> <davem at davemloft.net>; linux-arm-kernel at lists.infradead.org; Sebastian
> Hesselbarth <sebastian.hesselbarth at gmail.com>
> Subject: [EXT] Re: [PATCH net-next 5/6] arm64: dts: marvell: mcbin: enable the
> fourth network interface
>
> External Email
>
> ----------------------------------------------------------------------
> Hi Russell,
>
> 2017-12-30 18:31 GMT+01:00 Russell King - ARM Linux
> <linux at armlinux.org.uk>:
> > Hi Marcin,
> >
> > On Sat, Dec 30, 2017 at 05:34:23PM +0100, Marcin Wojtas wrote:
> >> Yes, I already split the series and will send first one right away. I
> >> will be followed by MDIO bus / PHY handling proposal, including the
> >> bits related to phylink. I'm looking forward to your opinion on that
> >> once sent.
> >
> > I'm looking forward to the patches. :)
> >
> >> This my understanding of how the PP2 HW works in terms of signalling
> >> the link interrupt:
> >>
> >> The full in-band management, similar to mvneta is supported only in
> >> the SGMII mode (1G, not sure how it looks like in 2.5G mode). Such
> >> handling is not yet implemented in the mvpp2.c
> >>
> >> 10G:
> >> The XGMII MAC (XLG) is capable of generating link status change
> >> interrupt upon information provided from the reconciliation layer
> >> (RS) of the interface.
> >>
> >> 2.5G/1G SGMII:
> >> Apart from the in-band management, the MAC is also capable of
> >> generating IRQ during link-status change.
> >>
> >> 1G RGMII:
> >> I was a bit surprised, but checked on my own - the link change IRQ
> >> can be generated here as well.
> >>
> >> In addition to above the clause 22 PHYs can be automatically polled
> >> via SMI bus and provide complete information about link status,
> >> speed, etc., reflecting it directly in GMAC status registers.
> >> However, this feature had to be disabled, in order not to conflict
> >> with SW PHY management of the phylib.
> >>
> >> Stefan, is above correct?
> >
> > This sounds very much like mvneta's 'managed = "in-band"' mode.
>
> Indeed. RGMII MAC behaves same way, although it shouldn't be named as 'in-
> band' to be on par with the specifications. Anyway - this one is rather a stub for
> being able to work with ACPI, so once the MDIO bus works there, this will be
> out of any concerns.
Hi Marcin,
This is correct.
"in-band" supported only for SGMII mode.
IRQ link interrupt depend on "in-band"' auto negation only if "in-band"' enabled.
But IRQ link interrupt could be triggered with "in-band", "out-band" or with specific fixed speed/duplex/flow_contol.
Best Regards.
More information about the linux-arm-kernel
mailing list