mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Sverdlin, Alexander" <alexander.sverdlin@siemens.com>
To: "andrew@lunn.ch" <andrew@lunn.ch>
Cc: "hauke@hauke-m.de" <hauke@hauke-m.de>,
	"linux@armlinux.org.uk" <linux@armlinux.org.uk>,
	"davem@davemloft.net" <davem@davemloft.net>,
	"hkallweit1@gmail.com" <hkallweit1@gmail.com>,
	"stable@vger.kernel.org" <stable@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"olek2@wp.pl" <olek2@wp.pl>, "kuba@kernel.org" <kuba@kernel.org>,
	"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
	"edumazet@google.com" <edumazet@google.com>,
	"pabeni@redhat.com" <pabeni@redhat.com>,
	"john@phrozen.org" <john@phrozen.org>,
	"daniel@makrotopia.org" <daniel@makrotopia.org>
Subject: Re: [PATCH] net: phy: intel-xway: workaround 100BASE-TX Link-Up issue
Date: Tue, 15 Sep 2026 12:47:00 +0000	[thread overview]
Message-ID: <2260984048d0c6a6e779a245830e0cc03bd002ea.camel@siemens.com> (raw)
In-Reply-To: <8768cdd3-e65f-4e74-9700-c21d642fa15d@lunn.ch>

Thanks for the timely feedback, Andrew!

On Tue, 2026-09-15 at 14:37 +0200, Andrew Lunn wrote:
> > MaxLinear GSW12x/GSW14x Ethernet Switch Errata Sheet states:
> > "An issue has been sporadically observed after device power-on on the first
> > link-up attempt in 100BASE-TX mode resulting in either the link-up taking a
> > long time, or failing to link-up altogether...
> > 
> > Workaround:
> > After power-on, enable Cable Diagnostic Mode for all ports and disable
> > it..."
> > 
> > Implement the proposed workaround unconditionally in the Intel XWAY driver
> > (MaxLinear GSW1xx switches incorporate Intel XWAY PHYs) because the
> > diagnostic bits have the same meaning even in older integral PHYs such as
> > GPY111/PEF7071/PHY11G. So it's not clear how to distinguish the affected
> > newer integrated PHYs, but the workaround should not hurt the older PHYs.
> > 
> > Cc: stable@vger.kernel.org
> 
> Please set the Subject: line correctly to indicate net, and include a
> Fixes: tag.
> 
> https://www.kernel.org/doc/html/latest/process/maintainer-netdev.html

Will fix in v2, sorry for that!

> Out if interest, is there sufficient details in the data sheet to
> implement cable diagnostics?

I'd say, no. I see no details on determining open/short circuit or cable
length, even though the datasheet claims the device supports it.

I've tried to activate Standard IEEE test patterns in the past, those
required for Ethernet compliance test -- it didn't work out of the box
and I've got no support on it from the vendor.

Same story with packet generator.

-- 
Alexander Sverdlin
Siemens AG
www.siemens.com

      reply	other threads:[~2026-09-15 12:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-15  8:59 A. Sverdlin
2026-09-15 12:37 ` Andrew Lunn
2026-09-15 12:47   ` Sverdlin, Alexander [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=2260984048d0c6a6e779a245830e0cc03bd002ea.camel@siemens.com \
    --to=alexander.sverdlin@siemens.com \
    --cc=andrew@lunn.ch \
    --cc=daniel@makrotopia.org \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=hauke@hauke-m.de \
    --cc=hkallweit1@gmail.com \
    --cc=john@phrozen.org \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=netdev@vger.kernel.org \
    --cc=olek2@wp.pl \
    --cc=pabeni@redhat.com \
    --cc=stable@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®