lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <CAFBinCBqsrRZbjFOe8p3e2AzgV9jqL4Qo5db6vBBmak2jqk0_A@mail.gmail.com> Date: Tue, 4 Apr 2023 23:18:20 +0200 From: Martin Blumenstingl <martin.blumenstingl@...glemail.com> To: Michael Sit Wei Hong <michael.wei.hong.sit@...el.com> Cc: Giuseppe Cavallaro <peppe.cavallaro@...com>, Alexandre Torgue <alexandre.torgue@...s.st.com>, Jose Abreu <joabreu@...opsys.com>, "David S . Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>, Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>, Maxime Coquelin <mcoquelin.stm32@...il.com>, Ong Boon Leong <boon.leong.ong@...el.com>, netdev@...r.kernel.org, linux-stm32@...md-mailman.stormreply.com, linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org, linux@...linux.org.uk, hkallweit1@...il.com, andrew@...n.ch, Looi Hong Aun <hong.aun.looi@...el.com>, Voon Weifeng <weifeng.voon@...el.com>, Lai Peter Jun Ann <peter.jun.ann.lai@...el.com>, Zulkifli Muhammad Husaini <muhammad.husaini.zulkifli@...el.com>, Tan Tee Min <tee.min.tan@...el.com>, hock.leong.kweh@...el.com Subject: Re: [RFC net 1/1] net: stmmac: skip PHY scanning when PHY already attached in DT mode On Tue, Apr 4, 2023 at 11:15 AM Michael Sit Wei Hong <michael.wei.hong.sit@...el.com> wrote: > > If PHY is successfully attached during phylink_fwnode_phy_connect() > in DT mode. MAC should not need to scan for PHY again. > > Adding a logic to check if ovr_an_inband is set before scanning for > a PHY, since phylink_fwnode_phy_connect() returns 0 when > > phy_fwnode = fwnode_get_phy_node(fwnode); > if (IS_ERR(phy_fwnode)) { > if (pl->cfg_link_an_mode == MLO_AN_PHY) > return -ENODEV; > return 0; > } > > Fixes: fe2cfbc96803 ("net: stmmac: check if MAC needs to attach to a PHY") > Signed-off-by: Michael Sit Wei Hong <michael.wei.hong.sit@...el.com> Thank you for working on this! Your patch fixes the issue I reported, Ethernet is back on my X96 Air so this patch is: Tested-by: Martin Blumenstingl <martin.blumenstingl@...glemail.com> My understanding is that Russell King is asking for a second iteration of this patch with his feedback incorporated. I'm happy to test this second version as well if you keep me Cc'ed. For this second version you can also (unconditionally) add: Reported-by: Martin Blumenstingl <martin.blumenstingl@...glemail.com> Best regards, Martin
Powered by blists - more mailing lists