[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ac972456-3e0b-899f-1d84-ce6f11b87d27@synopsys.com>
Date: Wed, 5 Apr 2023 10:07:22 +0000
From: Shahab Vahedi <Shahab.Vahedi@...opsys.com>
To: Michael Sit Wei Hong <michael.wei.hong.sit@...el.com>,
Giuseppe Cavallaro <peppe.cavallaro@...com>,
Alexandre Torgue <alexandre.torgue@...s.st.com>,
Jose Abreu <Jose.Abreu@...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" <netdev@...r.kernel.org>,
"linux-stm32@...md-mailman.stormreply.com"
<linux-stm32@...md-mailman.stormreply.com>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux@...linux.org.uk" <linux@...linux.org.uk>,
"hkallweit1@...il.com" <hkallweit1@...il.com>,
"andrew@...n.ch" <andrew@...n.ch>,
Martin Blumenstingl <martin.blumenstingl@...glemail.com>,
Shahab Vahedi <Shahab.Vahedi@...opsys.com>,
Marek Szyprowski <m.szyprowski@...sung.com>
CC: 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" <hock.leong.kweh@...el.com>,
Vineet Gupta <Vineet.Gupta1@...opsys.com>,
"linux-snps-arc@...ts.infradead.org"
<linux-snps-arc@...ts.infradead.org>
Subject: Re: [PATCH net 1/1] net: stmmac: check fwnode for phy device before
scanning for phy
On 4/5/23 11:39, 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>
> ---
Works fine on ARC HSDK board.
Tested-by: Shahab Vahedi <shahab@...opsys.com>
--
Shahab
Powered by blists - more mailing lists