From: Benjamin Larsson <benjamin.larsson@genexis.eu>
To: Daniel Golle <daniel@makrotopia.org>,
Vladislav Karmanov <vladislav.karmanov.dev@gmail.com>
Cc: netdev@vger.kernel.org, chester.a.unal@arinc9.com,
dqfext@gmail.com, sean.wang@mediatek.com, andrew@lunn.ch,
olteanv@gmail.com, davem@davemloft.net, edumazet@google.com,
kuba@kernel.org, pabeni@redhat.com, matthias.bgg@gmail.com,
angelogioacchino.delregno@collabora.com,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-mediatek@lists.infradead.org, yangshiji66@outlook.com
Subject: Re: [PATCH net] net: dsa: mt7530: do not advertise EEE on MT7621 switch
Date: Wed, 19 Aug 2026 01:22:13 +0200 [thread overview]
Message-ID: <15eaf5ca-b2ce-41dd-adf2-f7aa5f41685a@genexis.eu> (raw)
In-Reply-To: <aoSnqurLLgdVT_Eu@makrotopia.org>
Hi.
On 18/08/2026 20:42, Daniel Golle wrote:
> Hi,
>
>
> It'd be very surprising if this limitation doesn't also apply for the
> nearly identical decicated MT7530 IC (found eg. on BananaPi R2).
>
> I'd recommend disabling EEE advertisement on MT7621 and MT7530; and I
> suspect that some of the older Trendnet/Econet SoCs which share common
> linage with the MediaTek's Ethernet switch and PHY designs could also
> be affected.
The phy should be similar to Vitesse also.
>
> Hence I'd suggest to extend 'struct mt753x_info' with a 'broken_eee'
> bool instead of maintining an in-code list of EEE-broken silicon IDs.
>
>> + /* Disable EEE advertisement on the switch PHYs. */
>> + for (i = MT753X_CTRL_PHY_ADDR(priv->mdiodev->addr);
>> + i < MT753X_CTRL_PHY_ADDR(priv->mdiodev->addr) + MT7530_NUM_PHYS;
>> + i++) {
>> + mt7530_phy_write_c45(priv, i, MDIO_MMD_AN, MDIO_AN_EEE_ADV, 0);
>> + }
>> + }
>> +
>
>
MvH
Benjamin Larsson
next prev parent reply other threads:[~2026-08-18 23:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-18 18:28 [PATCH net] net: dsa: mt7530: do not advertise EEE on MT7621 switch Vladislav Karmanov
2026-08-18 18:42 ` Daniel Golle
2026-08-18 23:22 ` Benjamin Larsson [this message]
2026-08-20 20:18 ` Vladislav Karmanov
2026-08-20 20:59 ` Andrew Lunn
2026-08-18 19:39 ` 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=15eaf5ca-b2ce-41dd-adf2-f7aa5f41685a@genexis.eu \
--to=benjamin.larsson@genexis.eu \
--cc=andrew@lunn.ch \
--cc=angelogioacchino.delregno@collabora.com \
--cc=chester.a.unal@arinc9.com \
--cc=daniel@makrotopia.org \
--cc=davem@davemloft.net \
--cc=dqfext@gmail.com \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=olteanv@gmail.com \
--cc=pabeni@redhat.com \
--cc=sean.wang@mediatek.com \
--cc=vladislav.karmanov.dev@gmail.com \
--cc=yangshiji66@outlook.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