netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Russell King - ARM Linux <linux@armlinux.org.uk>
To: Andrew Lunn <andrew@lunn.ch>
Cc: Vivien Didelot <vivien.didelot@savoirfairelinux.com>,
	Florian Fainelli <f.fainelli@gmail.com>,
	netdev@vger.kernel.org
Subject: Re: [PATCH] net: dsa: allow XAUI phy interface mode
Date: Fri, 8 Dec 2017 16:42:02 +0000	[thread overview]
Message-ID: <20171208164202.GG10595@n2100.armlinux.org.uk> (raw)
In-Reply-To: <20171208162643.GD30846@lunn.ch>

On Fri, Dec 08, 2017 at 05:26:43PM +0100, Andrew Lunn wrote:
> On Fri, Dec 08, 2017 at 04:04:59PM +0000, Russell King wrote:
> > XGMII is a 32-bit bus plus two clock signals per direction.  XAUI is
> > four serial lanes per direction.  The 88e6190 supports XAUI but not
> > XGMII as it doesn't have enough pins.  The same is true of 88e6176.
> > 
> > Match on PHY_INTERFACE_MODE_XAUI for the XAUI port type, but keep
> > accepting XGMII for backwards compatibility.
> 
> Hi Russell
> 
> The backwards compatibility is for the ZII devel C, the DSA link
> between the two switches? I don't think there are any other boards
> using this.
> 
> I will ask around, but i don't think we need to worry about backwards
> compatibility. There is no region of flash set aside for the DT blob,
> etc. I always TFTP boot using the one from the kernel, etc.

Well, there's also kexec to consider, where it's better not to specify
the --dtb option because that wipes out the modifications (such as the
memory information) that the boot loader made to the pristine kbuild
generated dtb.  So, with kexec its preferable to use the existing dtb
even with a newer kernel, or if not go through a full reboot to use a
new dtb.

Whether anyone uses kexec on this platform though would be an entirely
separate question, but I'm generally not in favour of breaking
compatibility with already merged DT without good reason.

You do seem to be correct that this only applies (in mainline) to the
ZII rev C board, so I guess including a patch to update its dts for
the inter-switch connection would at least be sensible.

-- 
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 8.8Mbps down 630kbps up
According to speedtest.net: 8.21Mbps down 510kbps up

  reply	other threads:[~2017-12-08 16:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-08 16:04 [PATCH] net: dsa: allow XAUI phy interface mode Russell King
2017-12-08 16:26 ` Andrew Lunn
2017-12-08 16:42   ` Russell King - ARM Linux [this message]
2017-12-09 19:08     ` Andrew Lunn
2017-12-11 18:54 ` David Miller
2017-12-11 19:02   ` Russell King - ARM Linux
2017-12-12  8:35     ` Andrew Lunn

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=20171208164202.GG10595@n2100.armlinux.org.uk \
    --to=linux@armlinux.org.uk \
    --cc=andrew@lunn.ch \
    --cc=f.fainelli@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=vivien.didelot@savoirfairelinux.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).