[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <d942f8ac-3a60-4a71-8cd5-4f2f7aeaa2bd@roeck-us.net>
Date: Wed, 5 Apr 2023 12:02:23 -0700
From: Guenter Roeck <linux@...ck-us.net>
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,
Martin Blumenstingl <martin.blumenstingl@...glemail.com>,
Shahab Vahedi <Shahab.Vahedi@...opsys.com>,
Marek Szyprowski <m.szyprowski@...sung.com>,
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: [PATCH net 1/1] net: stmmac: check fwnode for phy device before
scanning for phy
On Wed, Apr 05, 2023 at 05:39:45PM +0800, Michael Sit Wei Hong wrote:
> Some DT devices already have phy device configured in the DT/ACPI.
> Current implementation scans for a phy unconditionally even though
> there is a phy listed in the DT/ACPI and already attached.
>
> We should check the fwnode if there is any phy device listed in
> fwnode and decide whether to scan for a phy to attach to.y
>
> Reported-by: Martin Blumenstingl <martin.blumenstingl@...glemail.com>
> 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>
> Tested-by: Shahab Vahedi <shahab@...opsys.com>
> Tested-by: Martin Blumenstingl <martin.blumenstingl@...glemail.com>
> Tested-by: Marek Szyprowski
Tested-by: Guenter Roeck <linux@...ck-us.net>
Guenter
Powered by blists - more mailing lists