[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e445af29-4354-69c3-fa9a-c5b99d90a9a5@conchuod.ie>
Date: Tue, 5 Apr 2022 17:25:00 +0100
From: Conor Dooley <mail@...chuod.ie>
To: Andrew Lunn <andrew@...n.ch>, Conor.Dooley@...rochip.com
Cc: palmer@...osinc.com, apatel@...tanamicro.com,
netdev@...r.kernel.org, Nicolas.Ferre@...rochip.com,
Claudiu.Beznea@...rochip.com, linux@...linux.org.uk,
hkallweit1@...il.com, linux-riscv@...ts.infradead.org
Subject: Re: riscv defconfig CONFIG_PM/macb/generic PHY regression in
v5.18-rc1
On 05/04/2022 16:04, Andrew Lunn wrote:
>> [ 2.818894] macb 20112000.ethernet eth0: PHY [20112000.ethernet-ffffffff:09] driver [Generic PHY] (irq=POLL)
>> [ 2.828915] macb 20112000.ethernet eth0: configuring for phy/sgmii link mode
>> [11.045411] macb 20112000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
>> [11.053247] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
>
> You have a multi-part link. You need that the PHY reports the line
> side is up. Put some printk in genphy_update_link() and look at
> phydev->link. You also need that the SGMII link between the PHY and
> the SoC is up. That is a bit harder to see, but try adding #define
> DEBUG at the top of phylink.c and phy.c so you get additional debug
> prints for the state machines.
Sure, will give it a go tomorrow.
>
> Andrew
>
> _______________________________________________
> linux-riscv mailing list
> linux-riscv@...ts.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-riscv
Powered by blists - more mailing lists