Re: [PATCH net-next 3/3] net: stmmac: Convert to phylink and remove phylib logic

From: Jon Hunter
Date: Tue Jun 18 2019 - 05:47:38 EST



On 18/06/2019 10:35, Jose Abreu wrote:
> From: Jon Hunter <jonathanh@xxxxxxxxxx>
>
>> I am seeing a boot regression on -next for some of our boards that have
>> a synopsys ethernet controller that uses the dwmac-dwc-qos-ethernet
>> driver. Git bisect is pointing to this commit, but unfortunately this
>> cannot be cleanly reverted on top of -next to confirm.
>
> Thanks for reporting. Looks like the timer is not setup when
> stmmac_tx_clean() is called. When do you see this stacktrace ? After
> ifdown ?

I am not certain but I don't believe so. We are using a static IP address
and mounting the root file-system via NFS when we see this ...

[ 10.607510] dwc-eth-dwmac 2490000.ethernet eth0: phy link up rgmii/1Gbps/Full
[ 10.607536] dwc-eth-dwmac 2490000.ethernet eth0: phylink_mac_config: mode=phy/rgmii/1Gbps/Full adv=00,00000000,00000000 pause=0f link=1 an=0
[ 10.608804] dwc-eth-dwmac 2490000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[ 10.630979] IP-Config: Complete:
[ 10.639046] device=eth0, hwaddr=d2:e5:1c:57:26:4b, ipaddr=192.168.99.2, mask=255.255.255.0, gw=192.168.99.1
[ 10.649201] host=192.168.99.2, domain=, nis-domain=(none)
[ 10.655022] bootserver=192.168.0.1, rootserver=192.168.0.1, rootpath=
[ 10.677531] VDD_1V8_AP_PLL: disabling
[ 10.681194] VDD_RTC: disabling
[ 10.684246] VDDIO_SDMMC3_AP: disabling
[ 10.688132] VDD_HDMI_1V05: disabling
[ 10.691704] SD_CARD_SW_PWR: disabling
[ 10.695357] VDD_USB0: disabling
[ 10.698488] VDD_USB1: disabling
[ 10.701621] VDD_HDMI_5V0: disabling
[ 10.705100] ALSA device list:
[ 10.708063] No soundcards found.
[ 10.711914] Freeing unused kernel memory: 1472K
[ 10.727005] Run /init as init process
[ 10.784989] ------------[ cut here ]------------
[ 10.789597] kernel BUG at /home/jonathanh/workdir/tegra/mlt-linux_next/kernel/kernel/time/timer.c:952!

Cheers
Jon

--
nvpublic