mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Florian Fainelli <florian.fainelli@broadcom.com>
To: Andrew Lunn <andrew@lunn.ch>
Cc: "Jonas Gorski" <jonas.gorski@gmail.com>,
	netdev@vger.kernel.org, "Vladimir Oltean" <olteanv@gmail.com>,
	"David S. Miller" <davem@davemloft.net>,
	"Eric Dumazet" <edumazet@kernel.org>,
	"Jakub Kicinski" <kuba@kernel.org>,
	"Paolo Abeni" <pabeni@redhat.com>,
	"Rafał Miłecki" <rafal@milecki.pl>,
	"Broadcom internal kernel review list"
	<bcm-kernel-feedback-list@broadcom.com>,
	"Arnd Bergmann" <arnd@arndb.de>,
	"open list" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH net v2 2/2] net: dsa: b53: restore the NSP IMP port 2 Gbps mode
Date: Mon, 26 Oct 2026 12:34:05 -0700	[thread overview]
Message-ID: <9510382b-c726-41a9-8997-5779d991395e@broadcom.com> (raw)
In-Reply-To: <bab723f0-742a-429b-a22d-bd086ef35389@lunn.ch>

On 10/26/26 12:11, Andrew Lunn wrote:
> On Mon, Oct 26, 2026 at 11:34:36AM -0700, Florian Fainelli wrote:
>> On 10/26/26 11:31, Jonas Gorski wrote:
>>> Hi,
>>>
>>> On Thu, Oct 22, 2026 at 11:11 PM Florian Fainelli
>>> <florian.fainelli@broadcom.com> wrote:
>>>>
>>>> The Northstar Plus IMP port uses the switch's proprietary 2 Gbps mode for
>>>> its internal link to the AMAC.  Its fixed-link description reports 1 Gbps,
>>>> so applying that speed clears PORT_OVERRIDE_SPEED_2000M and leaves the two
>>>> ends of the internal link configured at different speeds.
>>>
>>> Sounds like the devicetrees are wrong. Shouldn't that fixed-link
>>> description be updated to be 2 Gbps then? ;p
>>
>> That's a fair ask, however that would require introducing 2Gbits/sec all
>> over the place, and it's not like we really have a good way to report that
>> even through emulated PHY registers. This would not be a bug fix however,
>> which this patch set is targeting.
> 
> Hi Florian
> 
> As far as i know phylink fixed-link does not care what the speed is,
> and it does not try to emulate it in the PHY. So it probably just
> works. Assuming the DSA driver is using phylink.

Can we agree this is outside of the scope of what is being fixed here?

Without updates to Device Tree binding, swphy, phylink and the drivers 
that do depend upon supporting SPEED_2000, that speed is going to be 
rejected or not acted on at various layers in the stack.
-- 
Florian

  reply	other threads:[~2026-10-26 19:34 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-22 21:11 [PATCH net v2 0/2] Fix TCP retransmissions on NS/NSP SoCs Florian Fainelli
2026-10-22 21:11 ` [PATCH net v2 1/2] net: ethernet: bgmac: preserve forced 2.5 Gbps link speed Florian Fainelli
2026-10-26 21:24   ` netdev-bot+sashiko
2026-10-22 21:11 ` [PATCH net v2 2/2] net: dsa: b53: restore the NSP IMP port 2 Gbps mode Florian Fainelli
2026-10-26 18:31   ` Jonas Gorski
2026-10-26 18:34     ` Florian Fainelli
2026-10-26 19:11       ` Andrew Lunn
2026-10-26 19:34         ` Florian Fainelli [this message]
2026-10-26 20:29           ` Andrew Lunn
2026-10-26 21:24   ` netdev-bot+sashiko
2026-10-26 21:42     ` Florian Fainelli

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=9510382b-c726-41a9-8997-5779d991395e@broadcom.com \
    --to=florian.fainelli@broadcom.com \
    --cc=andrew@lunn.ch \
    --cc=arnd@arndb.de \
    --cc=bcm-kernel-feedback-list@broadcom.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@kernel.org \
    --cc=jonas.gorski@gmail.com \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=olteanv@gmail.com \
    --cc=pabeni@redhat.com \
    --cc=rafal@milecki.pl \
    /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®