mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Charles Perry <charles.perry@microchip.com>
To: Conor Dooley <conor@kernel.org>
Cc: Charles Perry <charles.perry@microchip.com>,
	<netdev@vger.kernel.org>,
	Nicolas Ferre <nicolas.ferre@microchip.com>,
	Claudiu Beznea <claudiu.beznea@tuxon.dev>,
	Andrew Lunn <andrew+netdev@lunn.ch>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	"Jakub Kicinski" <kuba@kernel.org>,
	Paolo Abeni <pabeni@redhat.com>,
	Russell King <linux@armlinux.org.uk>,
	<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH net-next] net: macb: set default_an_inband to true for SGMII
Date: Thu, 12 Mar 2026 10:49:42 -0700	[thread overview]
Message-ID: <abL8tgDp2x4OlGjn@bby-cbu-swbuild03.eng.microchip.com> (raw)
In-Reply-To: <20260312-poise-parade-97e9382718da@spud>

On Thu, Mar 12, 2026 at 03:01:39PM +0000, Conor Dooley wrote:
> On Thu, Mar 12, 2026 at 06:38:55AM -0700, Charles Perry wrote:
> > Most platforms using GEM in SGMII mode use in-band autonegotiation
> > because it is on by default in GEM's 1G PCS and is always on since
> > commit e276e5e40e92 ("net: macb: Disable PCS auto-negotiation for SGMII
> > fixed-link mode"). Leave it on if possible using the "default_an_inband"
> > flag of "struct phylink_config" so that platforms that lack in-band
> > autonegotiation configurability at the PHY do not break with commit
> > 1338cfef1ff1 ("net: macb: fix SGMII with inband aneg disabled") which
> > will turn off in-band autoneg for non hot pluggable PHYs.
> > 
> > Once the majority of the PHY drivers that support SGMII have the
> > ->config_inband() callback, this commit could be reverted so that non
> > hot pluggable PHY use outband negotiation with macb, like its the case
> > for other MACs.
> > 
> > Fixes: 1338cfef1ff1 ("net: macb: fix SGMII with inband aneg disabled")
> > Closes: https://lore.kernel.org/r/20260304-nebulizer-rounding-40fbc81a2ba1@spud
> 
> Reported-by: Conor Dooley <conor.dooley@microchip.com>
> 
> > Tested-by: Conor Dooley <conor@kernel.org>
> 
> Just as an FYI, you shouldn't insert tags that "certify" the quality of
> your patch that you weren't explicitly given. Reported-by/Suggested-by
> you can conjure up yourself where appropriate, but Tested-by/Acked-by/Reviewed-by
> need more care.
> 

Ok, thank you for pointing this out.

> But of course, I did test it, and it restored functionality on both
> boards that I have here, so:
> Tested-by: Conor Dooley <conor.dooley@microchip.com>
> 

Thanks,
Charles


  reply	other threads:[~2026-03-12 17:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-12 13:38 Charles Perry
2026-03-12 15:01 ` Conor Dooley
2026-03-12 17:49   ` Charles Perry [this message]
2026-03-12 19:58 ` Russell King (Oracle)

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=abL8tgDp2x4OlGjn@bby-cbu-swbuild03.eng.microchip.com \
    --to=charles.perry@microchip.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=claudiu.beznea@tuxon.dev \
    --cc=conor@kernel.org \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=netdev@vger.kernel.org \
    --cc=nicolas.ferre@microchip.com \
    --cc=pabeni@redhat.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

all inboxes | Powered by JetHome®