linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: <RaghuramChary.Jallipalli@microchip.com>
To: <Jisheng.Zhang@synaptics.com>, <andrew@lunn.ch>, <f.fainelli@gmail.com>
Cc: <marc.zyngier@arm.com>, <Woojung.Huh@microchip.com>,
	<UNGLinuxDriver@microchip.com>, <davem@davemloft.net>,
	<netdev@vger.kernel.org>, <linux-usb@vger.kernel.org>,
	<linux-kernel@vger.kernel.org>
Subject: RE: [PATCH] net: lan78xx: fix "enabled interrupts" warninig
Date: Wed, 17 Apr 2019 03:49:46 +0000	[thread overview]
Message-ID: <BN6PR11MB39530B69C9BD75927F1F61B89F250@BN6PR11MB3953.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20190410174538.5ebe1787@xhacker.debian>

[-- Attachment #1: Type: text/plain, Size: 930 bytes --]

Hi Jisheng,

> > I want to understand if there is any functionality impact with this warning?
> Because I'm afraid if the current changes are removed we might hit some
> other issues (or older ones). We have to go through rigorous testing before
> going ahead.
> 
> Warning indicates there's something wrong in the code.

Agree that the code is incorrect. Just wanted to understand if you had any functionality impact too.

> 
> IMHO phy_mac_interrupt() and PHY_IGNORE_INTERRUPT is the correct
> solution. If the phy_mac_interrupt() poll is fixed, I think maybe old issue
> which commit cc89c323a30e want to fix won't exist.
> 

I tried to reproduce the problem in PC environment but did not see the warnings. 
However, I tried your patch and did plug/unplug tests(rmmod/insmod continuously) and observed call traces from kernel. I don't see these traces without your patch.
Attached log.

Thanks,
-Raghu


[-- Attachment #2: log7800_withpatch --]
[-- Type: application/octet-stream, Size: 29417 bytes --]

raghu@raghu:~/workspace/lan7800/linux/drivers/net/usb$ sudo dmesg 
[ 4286.775206] lan78xx: loading out-of-tree module taints kernel.
[ 4286.775264] lan78xx: module verification failed: signature and/or required key missing - tainting kernel
[ 4286.776541] bus: 'usb': add driver lan78xx
[ 4286.776551] bus: 'usb': driver_probe_device: matched device 2-1:1.0 with driver lan78xx
[ 4286.776553] bus: 'usb': really_probe: probing driver lan78xx with device 2-1:1.0
[ 4286.776556] lan78xx 2-1:1.0: no default pinctrl state
[ 4287.060308] device: 'usb-002:005': device_add
[ 4287.060318] PM: Adding info for No Bus:usb-002:005
[ 4287.061443] device: 'usb-002:005:01': device_add
[ 4287.061446] bus: 'mdio_bus': add device usb-002:005:01
[ 4287.061450] PM: Adding info for mdio_bus:usb-002:005:01
[ 4287.061458] bus: 'mdio_bus': driver_probe_device: matched device usb-002:005:01 with driver Microchip LAN88xx
[ 4287.061459] bus: 'mdio_bus': really_probe: probing driver Microchip LAN88xx with device usb-002:005:01
[ 4287.061461] Microchip LAN88xx usb-002:005:01: no default pinctrl state
[ 4287.062903] driver: 'Microchip LAN88xx': driver_bound: bound to device 'usb-002:005:01'
[ 4287.062912] bus: 'mdio_bus': really_probe: bound device usb-002:005:01 to driver Microchip LAN88xx
[ 4287.062913] libphy: lan78xx-mdiobus: probed
[ 4287.062921] device: 'eth0': device_add
[ 4287.062943] PM: Adding info for No Bus:eth0
[ 4287.100406] driver: 'lan78xx': driver_bound: bound to device '2-1:1.0'
[ 4287.100442] bus: 'usb': really_probe: bound device 2-1:1.0 to driver lan78xx
[ 4287.100469] usbcore: registered new interface driver lan78xx
[ 4287.101338] lan78xx 2-1:1.0 enx00800f780000: renamed from eth0
[ 4287.101343] net eth0: renaming to enx00800f780000
[ 4287.138107] ####### Raghu ######## link status 
[ 4289.242404] ####### Raghu ######## link status 
[ 4289.242423] IPv6: ADDRCONF(NETDEV_CHANGE): enx00800f780000: link becomes ready
[ 4325.087375] usbcore: deregistering interface driver lan78xx
[ 4325.087380] bus: 'usb': remove driver lan78xx
[ 4325.087751] ####### Raghu ######## link status 
[ 4325.088681] PM: Removing info for No Bus:enx00800f780000
[ 4325.109111] bus: 'mdio_bus': remove device usb-002:005:01
[ 4325.109159] PM: Removing info for mdio_bus:usb-002:005:01
[ 4325.109192] PM: Removing info for No Bus:usb-002:005
[ 4325.110035] driver: 'lan78xx': driver_release
[ 4325.144881] bus: 'usb': add driver lan78xx
[ 4325.144892] bus: 'usb': driver_probe_device: matched device 2-1:1.0 with driver lan78xx
[ 4325.144895] bus: 'usb': really_probe: probing driver lan78xx with device 2-1:1.0
[ 4325.144899] lan78xx 2-1:1.0: no default pinctrl state
[ 4325.428406] device: 'usb-002:005': device_add
[ 4325.428416] PM: Adding info for No Bus:usb-002:005
[ 4325.429535] device: 'usb-002:005:01': device_add
[ 4325.429538] bus: 'mdio_bus': add device usb-002:005:01
[ 4325.429555] PM: Adding info for mdio_bus:usb-002:005:01
[ 4325.429563] bus: 'mdio_bus': driver_probe_device: matched device usb-002:005:01 with driver Microchip LAN88xx
[ 4325.429578] bus: 'mdio_bus': really_probe: probing driver Microchip LAN88xx with device usb-002:005:01
[ 4325.429580] Microchip LAN88xx usb-002:005:01: no default pinctrl state
[ 4325.431079] driver: 'Microchip LAN88xx': driver_bound: bound to device 'usb-002:005:01'
[ 4325.431089] bus: 'mdio_bus': really_probe: bound device usb-002:005:01 to driver Microchip LAN88xx
[ 4325.431090] libphy: lan78xx-mdiobus: probed
[ 4325.431098] device: 'eth0': device_add
[ 4325.431119] PM: Adding info for No Bus:eth0
[ 4325.468243] driver: 'lan78xx': driver_bound: bound to device '2-1:1.0'
[ 4325.468280] bus: 'usb': really_probe: bound device 2-1:1.0 to driver lan78xx
[ 4325.468305] usbcore: registered new interface driver lan78xx
[ 4325.469123] lan78xx 2-1:1.0 enx00800f780000: renamed from eth0
[ 4325.469130] net eth0: renaming to enx00800f780000
[ 4325.513820] usbcore: deregistering interface driver lan78xx
[ 4325.513833] bus: 'usb': remove driver lan78xx
[ 4325.515185] PM: Removing info for No Bus:enx00800f780000
[ 4325.557374] bus: 'mdio_bus': remove device usb-002:005:01
[ 4325.557424] PM: Removing info for mdio_bus:usb-002:005:01
[ 4325.557456] PM: Removing info for No Bus:usb-002:005
[ 4325.558146] driver: 'lan78xx': driver_release
[ 4325.604185] bus: 'usb': add driver lan78xx
[ 4325.604201] bus: 'usb': driver_probe_device: matched device 2-1:1.0 with driver lan78xx
[ 4325.604205] bus: 'usb': really_probe: probing driver lan78xx with device 2-1:1.0
[ 4325.604211] lan78xx 2-1:1.0: no default pinctrl state
[ 4325.887876] device: 'usb-002:005': device_add
[ 4325.887885] PM: Adding info for No Bus:usb-002:005
[ 4325.888987] device: 'usb-002:005:01': device_add
[ 4325.889000] bus: 'mdio_bus': add device usb-002:005:01
[ 4325.889004] PM: Adding info for mdio_bus:usb-002:005:01
[ 4325.889012] bus: 'mdio_bus': driver_probe_device: matched device usb-002:005:01 with driver Microchip LAN88xx
[ 4325.889013] bus: 'mdio_bus': really_probe: probing driver Microchip LAN88xx with device usb-002:005:01
[ 4325.889027] Microchip LAN88xx usb-002:005:01: no default pinctrl state
[ 4325.890404] driver: 'Microchip LAN88xx': driver_bound: bound to device 'usb-002:005:01'
[ 4325.890415] bus: 'mdio_bus': really_probe: bound device usb-002:005:01 to driver Microchip LAN88xx
[ 4325.890416] libphy: lan78xx-mdiobus: probed
[ 4325.890424] device: 'eth0': device_add
[ 4325.890445] PM: Adding info for No Bus:eth0
[ 4325.928307] driver: 'lan78xx': driver_bound: bound to device '2-1:1.0'
[ 4325.928348] bus: 'usb': really_probe: bound device 2-1:1.0 to driver lan78xx
[ 4325.928378] usbcore: registered new interface driver lan78xx
[ 4325.929453] lan78xx 2-1:1.0 enx00800f780000: renamed from eth0
[ 4325.929459] net eth0: renaming to enx00800f780000
[ 4325.955837] usbcore: deregistering interface driver lan78xx
[ 4325.955842] bus: 'usb': remove driver lan78xx
[ 4325.956632] PM: Removing info for No Bus:enx00800f780000
[ 4326.013329] bus: 'mdio_bus': remove device usb-002:005:01
[ 4326.013377] PM: Removing info for mdio_bus:usb-002:005:01
[ 4326.013417] PM: Removing info for No Bus:usb-002:005
[ 4326.014204] driver: 'lan78xx': driver_release
[ 4326.072325] bus: 'usb': add driver lan78xx
[ 4326.072340] bus: 'usb': driver_probe_device: matched device 2-1:1.0 with driver lan78xx
[ 4326.072344] bus: 'usb': really_probe: probing driver lan78xx with device 2-1:1.0
[ 4326.072350] lan78xx 2-1:1.0: no default pinctrl state
[ 4326.355654] device: 'usb-002:005': device_add
[ 4326.355663] PM: Adding info for No Bus:usb-002:005
[ 4326.356749] device: 'usb-002:005:01': device_add
[ 4326.356753] bus: 'mdio_bus': add device usb-002:005:01
[ 4326.356759] PM: Adding info for mdio_bus:usb-002:005:01
[ 4326.356768] bus: 'mdio_bus': driver_probe_device: matched device usb-002:005:01 with driver Microchip LAN88xx
[ 4326.356769] bus: 'mdio_bus': really_probe: probing driver Microchip LAN88xx with device usb-002:005:01
[ 4326.356772] Microchip LAN88xx usb-002:005:01: no default pinctrl state
[ 4326.358183] driver: 'Microchip LAN88xx': driver_bound: bound to device 'usb-002:005:01'
[ 4326.358193] bus: 'mdio_bus': really_probe: bound device usb-002:005:01 to driver Microchip LAN88xx
[ 4326.358194] libphy: lan78xx-mdiobus: probed
[ 4326.358203] device: 'eth0': device_add
[ 4326.358224] PM: Adding info for No Bus:eth0
[ 4326.394867] driver: 'lan78xx': driver_bound: bound to device '2-1:1.0'
[ 4326.394911] bus: 'usb': really_probe: bound device 2-1:1.0 to driver lan78xx
[ 4326.394940] usbcore: registered new interface driver lan78xx
[ 4326.395887] lan78xx 2-1:1.0 enx00800f780000: renamed from eth0
[ 4326.395891] net eth0: renaming to enx00800f780000
[ 4326.439753] usbcore: deregistering interface driver lan78xx
[ 4326.439765] bus: 'usb': remove driver lan78xx
[ 4326.441821] PM: Removing info for No Bus:enx00800f780000
[ 4326.485126] bus: 'mdio_bus': remove device usb-002:005:01
[ 4326.485159] PM: Removing info for mdio_bus:usb-002:005:01
[ 4326.485194] PM: Removing info for No Bus:usb-002:005
[ 4326.485665] driver: 'lan78xx': driver_release
[ 4326.530162] bus: 'usb': add driver lan78xx
[ 4326.530175] bus: 'usb': driver_probe_device: matched device 2-1:1.0 with driver lan78xx
[ 4326.530178] bus: 'usb': really_probe: probing driver lan78xx with device 2-1:1.0
[ 4326.530183] lan78xx 2-1:1.0: no default pinctrl state
[ 4326.813720] device: 'usb-002:005': device_add
[ 4326.813728] PM: Adding info for No Bus:usb-002:005
[ 4326.814827] device: 'usb-002:005:01': device_add
[ 4326.814831] bus: 'mdio_bus': add device usb-002:005:01
[ 4326.814849] PM: Adding info for mdio_bus:usb-002:005:01
[ 4326.814857] bus: 'mdio_bus': driver_probe_device: matched device usb-002:005:01 with driver Microchip LAN88xx
[ 4326.814857] bus: 'mdio_bus': really_probe: probing driver Microchip LAN88xx with device usb-002:005:01
[ 4326.814859] Microchip LAN88xx usb-002:005:01: no default pinctrl state
[ 4326.816177] driver: 'Microchip LAN88xx': driver_bound: bound to device 'usb-002:005:01'
[ 4326.816185] bus: 'mdio_bus': really_probe: bound device usb-002:005:01 to driver Microchip LAN88xx
[ 4326.816186] libphy: lan78xx-mdiobus: probed
[ 4326.816208] device: 'eth0': device_add
[ 4326.816229] PM: Adding info for No Bus:eth0
[ 4326.853157] driver: 'lan78xx': driver_bound: bound to device '2-1:1.0'
[ 4326.853199] bus: 'usb': really_probe: bound device 2-1:1.0 to driver lan78xx
[ 4326.853230] usbcore: registered new interface driver lan78xx
[ 4326.854081] lan78xx 2-1:1.0 enx00800f780000: renamed from eth0
[ 4326.854085] net eth0: renaming to enx00800f780000
[ 4326.881474] usbcore: deregistering interface driver lan78xx
[ 4326.881488] bus: 'usb': remove driver lan78xx
[ 4326.883655] PM: Removing info for No Bus:enx00800f780000
[ 4326.921321] bus: 'mdio_bus': remove device usb-002:005:01
[ 4326.921362] PM: Removing info for mdio_bus:usb-002:005:01
[ 4326.921390] PM: Removing info for No Bus:usb-002:005
[ 4326.921847] driver: 'lan78xx': driver_release
[ 4326.959010] bus: 'usb': add driver lan78xx
[ 4326.959025] bus: 'usb': driver_probe_device: matched device 2-1:1.0 with driver lan78xx
[ 4326.959029] bus: 'usb': really_probe: probing driver lan78xx with device 2-1:1.0
[ 4326.959035] lan78xx 2-1:1.0: no default pinctrl state
[ 4327.242638] device: 'usb-002:005': device_add
[ 4327.242647] PM: Adding info for No Bus:usb-002:005
[ 4327.243824] device: 'usb-002:005:01': device_add
[ 4327.243827] bus: 'mdio_bus': add device usb-002:005:01
[ 4327.243845] PM: Adding info for mdio_bus:usb-002:005:01
[ 4327.243851] bus: 'mdio_bus': driver_probe_device: matched device usb-002:005:01 with driver Microchip LAN88xx
[ 4327.243852] bus: 'mdio_bus': really_probe: probing driver Microchip LAN88xx with device usb-002:005:01
[ 4327.243854] Microchip LAN88xx usb-002:005:01: no default pinctrl state
[ 4327.245151] driver: 'Microchip LAN88xx': driver_bound: bound to device 'usb-002:005:01'
[ 4327.245158] bus: 'mdio_bus': really_probe: bound device usb-002:005:01 to driver Microchip LAN88xx
[ 4327.245159] libphy: lan78xx-mdiobus: probed
[ 4327.245167] device: 'eth0': device_add
[ 4327.245189] PM: Adding info for No Bus:eth0
[ 4327.284937] driver: 'lan78xx': driver_bound: bound to device '2-1:1.0'
[ 4327.284952] bus: 'usb': really_probe: bound device 2-1:1.0 to driver lan78xx
[ 4327.284962] usbcore: registered new interface driver lan78xx
[ 4327.285318] lan78xx 2-1:1.0 enx00800f780000: renamed from eth0
[ 4327.285319] net eth0: renaming to enx00800f780000
[ 4327.312404] usbcore: deregistering interface driver lan78xx
[ 4327.312410] bus: 'usb': remove driver lan78xx
[ 4327.313212] PM: Removing info for No Bus:enx00800f780000
[ 4327.345371] bus: 'mdio_bus': remove device usb-002:005:01
[ 4327.345418] PM: Removing info for mdio_bus:usb-002:005:01
[ 4327.345449] PM: Removing info for No Bus:usb-002:005
[ 4327.346371] driver: 'lan78xx': driver_release
[ 4327.391013] bus: 'usb': add driver lan78xx
[ 4327.391028] bus: 'usb': driver_probe_device: matched device 2-1:1.0 with driver lan78xx
[ 4327.391032] bus: 'usb': really_probe: probing driver lan78xx with device 2-1:1.0
[ 4327.391038] lan78xx 2-1:1.0: no default pinctrl state
[ 4327.674601] device: 'usb-002:005': device_add
[ 4327.674610] PM: Adding info for No Bus:usb-002:005
[ 4327.675710] device: 'usb-002:005:01': device_add
[ 4327.675713] bus: 'mdio_bus': add device usb-002:005:01
[ 4327.675718] PM: Adding info for mdio_bus:usb-002:005:01
[ 4327.675737] bus: 'mdio_bus': driver_probe_device: matched device usb-002:005:01 with driver Microchip LAN88xx
[ 4327.675738] bus: 'mdio_bus': really_probe: probing driver Microchip LAN88xx with device usb-002:005:01
[ 4327.675740] Microchip LAN88xx usb-002:005:01: no default pinctrl state
[ 4327.677150] driver: 'Microchip LAN88xx': driver_bound: bound to device 'usb-002:005:01'
[ 4327.677159] bus: 'mdio_bus': really_probe: bound device usb-002:005:01 to driver Microchip LAN88xx
[ 4327.677161] libphy: lan78xx-mdiobus: probed
[ 4327.677169] device: 'eth0': device_add
[ 4327.677200] PM: Adding info for No Bus:eth0
[ 4327.714013] driver: 'lan78xx': driver_bound: bound to device '2-1:1.0'
[ 4327.714054] bus: 'usb': really_probe: bound device 2-1:1.0 to driver lan78xx
[ 4327.714081] usbcore: registered new interface driver lan78xx
[ 4327.714955] lan78xx 2-1:1.0 enx00800f780000: renamed from eth0
[ 4327.714959] net eth0: renaming to enx00800f780000
[ 4327.741006] usbcore: deregistering interface driver lan78xx
[ 4327.741021] bus: 'usb': remove driver lan78xx
[ 4327.743986] PM: Removing info for No Bus:enx00800f780000
[ 4327.777209] bus: 'mdio_bus': remove device usb-002:005:01
[ 4327.777257] PM: Removing info for mdio_bus:usb-002:005:01
[ 4327.777289] PM: Removing info for No Bus:usb-002:005
[ 4327.778019] driver: 'lan78xx': driver_release
[ 4327.809676] bus: 'usb': add driver lan78xx
[ 4327.809690] bus: 'usb': driver_probe_device: matched device 2-1:1.0 with driver lan78xx
[ 4327.809694] bus: 'usb': really_probe: probing driver lan78xx with device 2-1:1.0
[ 4327.809699] lan78xx 2-1:1.0: no default pinctrl state
[ 4328.092816] device: 'usb-002:005': device_add
[ 4328.092824] PM: Adding info for No Bus:usb-002:005
[ 4328.093876] device: 'usb-002:005:01': device_add
[ 4328.093879] bus: 'mdio_bus': add device usb-002:005:01
[ 4328.093883] PM: Adding info for mdio_bus:usb-002:005:01
[ 4328.093890] bus: 'mdio_bus': driver_probe_device: matched device usb-002:005:01 with driver Microchip LAN88xx
[ 4328.093891] bus: 'mdio_bus': really_probe: probing driver Microchip LAN88xx with device usb-002:005:01
[ 4328.093893] Microchip LAN88xx usb-002:005:01: no default pinctrl state
[ 4328.095176] driver: 'Microchip LAN88xx': driver_bound: bound to device 'usb-002:005:01'
[ 4328.095186] bus: 'mdio_bus': really_probe: bound device usb-002:005:01 to driver Microchip LAN88xx
[ 4328.095187] libphy: lan78xx-mdiobus: probed
[ 4328.095194] device: 'eth0': device_add
[ 4328.095214] PM: Adding info for No Bus:eth0
[ 4328.132276] driver: 'lan78xx': driver_bound: bound to device '2-1:1.0'
[ 4328.132315] bus: 'usb': really_probe: bound device 2-1:1.0 to driver lan78xx
[ 4328.132342] usbcore: registered new interface driver lan78xx
[ 4328.133264] lan78xx 2-1:1.0 enx00800f780000: renamed from eth0
[ 4328.133268] net eth0: renaming to enx00800f780000
[ 4328.173751] usbcore: deregistering interface driver lan78xx
[ 4328.173768] bus: 'usb': remove driver lan78xx
[ 4328.175733] PM: Removing info for No Bus:enx00800f780000
[ 4328.205229] bus: 'mdio_bus': remove device usb-002:005:01
[ 4328.205276] PM: Removing info for mdio_bus:usb-002:005:01
[ 4328.205315] PM: Removing info for No Bus:usb-002:005
[ 4328.206064] driver: 'lan78xx': driver_release
[ 4328.243102] bus: 'usb': add driver lan78xx
[ 4328.243118] bus: 'usb': driver_probe_device: matched device 2-1:1.0 with driver lan78xx
[ 4328.243122] bus: 'usb': really_probe: probing driver lan78xx with device 2-1:1.0
[ 4328.243128] lan78xx 2-1:1.0: no default pinctrl state
[ 4328.527216] device: 'usb-002:005': device_add
[ 4328.527225] PM: Adding info for No Bus:usb-002:005
[ 4328.528213] device: 'usb-002:005:01': device_add
[ 4328.528229] bus: 'mdio_bus': add device usb-002:005:01
[ 4328.528232] PM: Adding info for mdio_bus:usb-002:005:01
[ 4328.528240] bus: 'mdio_bus': driver_probe_device: matched device usb-002:005:01 with driver Microchip LAN88xx
[ 4328.528240] bus: 'mdio_bus': really_probe: probing driver Microchip LAN88xx with device usb-002:005:01
[ 4328.528242] Microchip LAN88xx usb-002:005:01: no default pinctrl state
[ 4328.529720] driver: 'Microchip LAN88xx': driver_bound: bound to device 'usb-002:005:01'
[ 4328.529732] bus: 'mdio_bus': really_probe: bound device usb-002:005:01 to driver Microchip LAN88xx
[ 4328.529733] libphy: lan78xx-mdiobus: probed
[ 4328.529741] device: 'eth0': device_add
[ 4328.529762] PM: Adding info for No Bus:eth0
[ 4328.566952] driver: 'lan78xx': driver_bound: bound to device '2-1:1.0'
[ 4328.566995] bus: 'usb': really_probe: bound device 2-1:1.0 to driver lan78xx
[ 4328.567023] usbcore: registered new interface driver lan78xx
[ 4328.568030] lan78xx 2-1:1.0 enx00800f780000: renamed from eth0
[ 4328.568034] net eth0: renaming to enx00800f780000
[ 4328.597353] usbcore: deregistering interface driver lan78xx
[ 4328.597366] bus: 'usb': remove driver lan78xx
[ 4328.600445] PM: Removing info for No Bus:enx00800f780000
[ 4328.625094] bus: 'mdio_bus': remove device usb-002:005:01
[ 4328.625137] PM: Removing info for mdio_bus:usb-002:005:01
[ 4328.625166] PM: Removing info for No Bus:usb-002:005
[ 4328.625964] driver: 'lan78xx': driver_release
[ 4328.649716] bus: 'usb': add driver lan78xx
[ 4328.649730] bus: 'usb': driver_probe_device: matched device 2-1:1.0 with driver lan78xx
[ 4328.649733] bus: 'usb': really_probe: probing driver lan78xx with device 2-1:1.0
[ 4328.649739] lan78xx 2-1:1.0: no default pinctrl state
[ 4328.932969] device: 'usb-002:005': device_add
[ 4328.932978] PM: Adding info for No Bus:usb-002:005
[ 4328.934069] device: 'usb-002:005:01': device_add
[ 4328.934072] bus: 'mdio_bus': add device usb-002:005:01
[ 4328.934090] PM: Adding info for mdio_bus:usb-002:005:01
[ 4328.934098] bus: 'mdio_bus': driver_probe_device: matched device usb-002:005:01 with driver Microchip LAN88xx
[ 4328.934098] bus: 'mdio_bus': really_probe: probing driver Microchip LAN88xx with device usb-002:005:01
[ 4328.934100] Microchip LAN88xx usb-002:005:01: no default pinctrl state
[ 4328.935508] driver: 'Microchip LAN88xx': driver_bound: bound to device 'usb-002:005:01'
[ 4328.935518] bus: 'mdio_bus': really_probe: bound device usb-002:005:01 to driver Microchip LAN88xx
[ 4328.935519] libphy: lan78xx-mdiobus: probed
[ 4328.935528] device: 'eth0': device_add
[ 4328.935555] PM: Adding info for No Bus:eth0
[ 4328.974848] driver: 'lan78xx': driver_bound: bound to device '2-1:1.0'
[ 4328.974863] bus: 'usb': really_probe: bound device 2-1:1.0 to driver lan78xx
[ 4328.974872] usbcore: registered new interface driver lan78xx
[ 4328.975254] lan78xx 2-1:1.0 enx00800f780000: renamed from eth0
[ 4328.975256] net eth0: renaming to enx00800f780000
[ 4329.008899] usbcore: deregistering interface driver lan78xx
[ 4329.008906] bus: 'usb': remove driver lan78xx
[ 4329.010353] PM: Removing info for No Bus:enx00800f780000
[ 4329.073355] bus: 'mdio_bus': remove device usb-002:005:01
[ 4329.073402] PM: Removing info for mdio_bus:usb-002:005:01
[ 4329.073433] PM: Removing info for No Bus:usb-002:005
[ 4329.074060] driver: 'lan78xx': driver_release
[ 4329.111401] bus: 'usb': add driver lan78xx
[ 4329.111417] bus: 'usb': driver_probe_device: matched device 2-1:1.0 with driver lan78xx
[ 4329.111420] bus: 'usb': really_probe: probing driver lan78xx with device 2-1:1.0
[ 4329.111426] lan78xx 2-1:1.0: no default pinctrl state
[ 4329.395865] device: 'usb-002:005': device_add
[ 4329.395874] PM: Adding info for No Bus:usb-002:005
[ 4329.396879] device: 'usb-002:005:01': device_add
[ 4329.396882] bus: 'mdio_bus': add device usb-002:005:01
[ 4329.396886] PM: Adding info for mdio_bus:usb-002:005:01
[ 4329.396892] bus: 'mdio_bus': driver_probe_device: matched device usb-002:005:01 with driver Microchip LAN88xx
[ 4329.396893] bus: 'mdio_bus': really_probe: probing driver Microchip LAN88xx with device usb-002:005:01
[ 4329.396895] Microchip LAN88xx usb-002:005:01: no default pinctrl state
[ 4329.398255] driver: 'Microchip LAN88xx': driver_bound: bound to device 'usb-002:005:01'
[ 4329.398264] bus: 'mdio_bus': really_probe: bound device usb-002:005:01 to driver Microchip LAN88xx
[ 4329.398265] libphy: lan78xx-mdiobus: probed
[ 4329.398273] device: 'eth0': device_add
[ 4329.398293] PM: Adding info for No Bus:eth0
[ 4329.434922] driver: 'lan78xx': driver_bound: bound to device '2-1:1.0'
[ 4329.434966] bus: 'usb': really_probe: bound device 2-1:1.0 to driver lan78xx
[ 4329.435002] usbcore: registered new interface driver lan78xx
[ 4329.435857] lan78xx 2-1:1.0 enx00800f780000: renamed from eth0
[ 4329.435861] net eth0: renaming to enx00800f780000
[ 4329.456438] usbcore: deregistering interface driver lan78xx
[ 4329.456451] bus: 'usb': remove driver lan78xx
[ 4329.457543] PM: Removing info for No Bus:enx00800f780000
[ 4329.489151] bus: 'mdio_bus': remove device usb-002:005:01
[ 4329.489195] PM: Removing info for mdio_bus:usb-002:005:01
[ 4329.489226] PM: Removing info for No Bus:usb-002:005
[ 4329.489670] driver: 'lan78xx': driver_release
[ 4329.544069] bus: 'usb': add driver lan78xx
[ 4329.544085] bus: 'usb': driver_probe_device: matched device 2-1:1.0 with driver lan78xx
[ 4329.544088] bus: 'usb': really_probe: probing driver lan78xx with device 2-1:1.0
[ 4329.544095] lan78xx 2-1:1.0: no default pinctrl state
[ 4329.827584] device: 'usb-002:005': device_add
[ 4329.827593] PM: Adding info for No Bus:usb-002:005
[ 4329.828673] device: 'usb-002:005:01': device_add
[ 4329.828677] bus: 'mdio_bus': add device usb-002:005:01
[ 4329.828681] PM: Adding info for mdio_bus:usb-002:005:01
[ 4329.828689] bus: 'mdio_bus': driver_probe_device: matched device usb-002:005:01 with driver Microchip LAN88xx
[ 4329.828690] bus: 'mdio_bus': really_probe: probing driver Microchip LAN88xx with device usb-002:005:01
[ 4329.828692] Microchip LAN88xx usb-002:005:01: no default pinctrl state
[ 4329.829962] driver: 'Microchip LAN88xx': driver_bound: bound to device 'usb-002:005:01'
[ 4329.829971] bus: 'mdio_bus': really_probe: bound device usb-002:005:01 to driver Microchip LAN88xx
[ 4329.829972] libphy: lan78xx-mdiobus: probed
[ 4329.829981] device: 'eth0': device_add
[ 4329.830006] PM: Adding info for No Bus:eth0
[ 4329.866890] driver: 'lan78xx': driver_bound: bound to device '2-1:1.0'
[ 4329.866931] bus: 'usb': really_probe: bound device 2-1:1.0 to driver lan78xx
[ 4329.866958] usbcore: registered new interface driver lan78xx
[ 4329.867845] lan78xx 2-1:1.0 enx00800f780000: renamed from eth0
[ 4329.867850] net eth0: renaming to enx00800f780000
[ 4329.917116] usbcore: deregistering interface driver lan78xx
[ 4329.917129] bus: 'usb': remove driver lan78xx
[ 4329.918456] PM: Removing info for No Bus:enx00800f780000
[ 4329.961342] bus: 'mdio_bus': remove device usb-002:005:01
[ 4329.961389] PM: Removing info for mdio_bus:usb-002:005:01
[ 4329.961421] PM: Removing info for No Bus:usb-002:005
[ 4329.962021] driver: 'lan78xx': driver_release
[ 4329.999853] bus: 'usb': add driver lan78xx
[ 4329.999870] bus: 'usb': driver_probe_device: matched device 2-1:1.0 with driver lan78xx
[ 4329.999874] bus: 'usb': really_probe: probing driver lan78xx with device 2-1:1.0
[ 4329.999880] lan78xx 2-1:1.0: no default pinctrl state
[ 4330.283875] device: 'usb-002:005': device_add
[ 4330.283884] PM: Adding info for No Bus:usb-002:005
[ 4330.284985] device: 'usb-002:005:01': device_add
[ 4330.284999] bus: 'mdio_bus': add device usb-002:005:01
[ 4330.285006] PM: Adding info for mdio_bus:usb-002:005:01
[ 4330.285027] bus: 'mdio_bus': driver_probe_device: matched device usb-002:005:01 with driver Microchip LAN88xx
[ 4330.285028] bus: 'mdio_bus': really_probe: probing driver Microchip LAN88xx with device usb-002:005:01
[ 4330.285031] Microchip LAN88xx usb-002:005:01: no default pinctrl state
[ 4330.286406] driver: 'Microchip LAN88xx': driver_bound: bound to device 'usb-002:005:01'
[ 4330.286414] bus: 'mdio_bus': really_probe: bound device usb-002:005:01 to driver Microchip LAN88xx
[ 4330.286415] libphy: lan78xx-mdiobus: probed
[ 4330.286423] device: 'eth0': device_add
[ 4330.286445] PM: Adding info for No Bus:eth0
[ 4330.322853] driver: 'lan78xx': driver_bound: bound to device '2-1:1.0'
[ 4330.322894] bus: 'usb': really_probe: bound device 2-1:1.0 to driver lan78xx
[ 4330.322922] usbcore: registered new interface driver lan78xx
[ 4330.323773] lan78xx 2-1:1.0 enx00800f780000: renamed from eth0
[ 4330.323777] net eth0: renaming to enx00800f780000
[ 4330.367596] usbcore: deregistering interface driver lan78xx
[ 4330.367600] bus: 'usb': remove driver lan78xx
[ 4330.369040] PM: Removing info for No Bus:enx00800f780000
[ 4330.370588] BUG: unable to handle kernel NULL pointer dereference at 0000000000000048
[ 4330.370591] #PF error: [WRITE]
[ 4330.370592] PGD 0 P4D 0 
[ 4330.370595] Oops: 0002 [#1] SMP PTI
[ 4330.370597] CPU: 1 PID: 3424 Comm: kworker/u16:1 Tainted: G           OE     5.1.0-rc4+ #1
[ 4330.370599] Hardware name: Dell Inc. OptiPlex 7050/0D24M8, BIOS 1.7.9 01/30/2018
[ 4330.370602] Workqueue: events_power_efficient phy_state_machine
[ 4330.370606] RIP: 0010:netif_carrier_off+0x5/0x30
[ 4330.370608] Code: 5b 5d 41 5c 41 5d c3 48 c7 00 00 00 00 00 5b 5d 41 5c 41 5d e9 bc 65 89 ff 66 90 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 <f0> 48 0f ba 6f 48 02 72 09 80 bf d0 04 00 00 00 75 02 f3 c3 f0 ff
[ 4330.370610] RSP: 0018:ffffbf6c439abdf8 EFLAGS: 00010246
[ 4330.370611] RAX: 0000000000000000 RBX: ffff9b5af6a43800 RCX: ffffffffbe8df230
[ 4330.370613] RDX: 0000000000000001 RSI: 0000000000000000 RDI: 0000000000000000
[ 4330.370614] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
[ 4330.370615] R10: 0000000000000001 R11: 0000000000000025 R12: ffff9b5af6a43c20
[ 4330.370617] R13: ffff9b5af6a43800 R14: ffff9b5aa57ef780 R15: 0ffff9b5afd457b0
[ 4330.370619] FS:  0000000000000000(0000) GS:ffff9b5afda40000(0000) knlGS:0000000000000000
[ 4330.370620] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 4330.370622] CR2: 0000000000000048 CR3: 000000081a97c002 CR4: 00000000003606e0
[ 4330.370623] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 4330.370625] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 4330.370626] Call Trace:
[ 4330.370629]  phy_link_change+0x22/0x50
[ 4330.370632]  phy_check_link_status+0x8a/0xe0
[ 4330.370634]  phy_start_aneg+0xe2/0x120
[ 4330.370636]  phy_state_machine+0x81/0x230
[ 4330.370639]  process_one_work+0x15e/0x3f0
[ 4330.370642]  worker_thread+0x4c/0x440
[ 4330.370645]  ? rescuer_thread+0x350/0x350
[ 4330.370647]  kthread+0xf8/0x130
[ 4330.370649]  ? kthread_destroy_worker+0x40/0x40
[ 4330.370651]  ret_from_fork+0x35/0x40
[ 4330.370653] Modules linked in: lan78xx(OE-) input_leds microchip intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp snd_hda_codec_hdmi kvm_intel snd_hda_codec_realtek snd_hda_codec_generic kvm ledtrig_audio snd_hda_intel snd_hda_codec irqbypass snd_hda_core snd_hwdep snd_pcm crct10dif_pclmul crc32_pclmul ghash_clmulni_intel snd_seq_midi aesni_intel aes_x86_64 crypto_simd snd_seq_midi_event cryptd snd_rawmidi glue_helper snd_seq i2c_designware_platform i2c_designware_core intel_cstate snd_seq_device intel_rapl_perf snd_timer snd soundcore dell_wmi idma64 dell_smbios mei_me serio_raw virt_dma dcdbas dell_wmi_aio dell_wmi_descriptor wmi_bmof mei mac_hid sparse_keymap intel_lpss_pci intel_lpss acpi_pad parport_pc sunrpc ppdev lp parport autofs4 i915 hid_generic usbhid hid i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm e1000e psmouse ptp ahci pps_core libahci wmi video [last unloaded: lan78xx]
[ 4330.370681] CR2: 0000000000000048
[ 4330.370683] ---[ end trace 51cb611db65d71b2 ]---
[ 4330.370685] RIP: 0010:netif_carrier_off+0x5/0x30
[ 4330.370687] Code: 5b 5d 41 5c 41 5d c3 48 c7 00 00 00 00 00 5b 5d 41 5c 41 5d e9 bc 65 89 ff 66 90 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 <f0> 48 0f ba 6f 48 02 72 09 80 bf d0 04 00 00 00 75 02 f3 c3 f0 ff
[ 4330.370688] RSP: 0018:ffffbf6c439abdf8 EFLAGS: 00010246
[ 4330.370690] RAX: 0000000000000000 RBX: ffff9b5af6a43800 RCX: ffffffffbe8df230
[ 4330.370691] RDX: 0000000000000001 RSI: 0000000000000000 RDI: 0000000000000000
[ 4330.370693] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
[ 4330.370694] R10: 0000000000000001 R11: 0000000000000025 R12: ffff9b5af6a43c20
[ 4330.370695] R13: ffff9b5af6a43800 R14: ffff9b5aa57ef780 R15: 0ffff9b5afd457b0
[ 4330.370697] FS:  0000000000000000(0000) GS:ffff9b5afda40000(0000) knlGS:0000000000000000
[ 4330.370698] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 4330.370700] CR2: 0000000000000048 CR3: 000000081a97c002 CR4: 00000000003606e0
[ 4330.370701] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 4330.370703] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 4330.413392] bus: 'mdio_bus': remove device usb-002:005:01
raghu@raghu:~/workspace/lan7800/linux/drivers/net/usb$ 
raghu@raghu:~/workspace/lan7800/linux/drivers/net/usb$ 


  parent reply	other threads:[~2019-04-17  3:49 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-08  6:10 [PATCH] net: lan78xx: fix "enabled interrupts" warninig Jisheng Zhang
2019-04-08  7:46 ` RaghuramChary.Jallipalli
2019-04-08  8:07   ` Jisheng Zhang
2019-04-08 10:46     ` RaghuramChary.Jallipalli
2019-04-09  1:36       ` Jisheng Zhang
2019-04-09  5:26         ` RaghuramChary.Jallipalli
2019-04-10  9:20         ` RaghuramChary.Jallipalli
2019-04-10  9:53           ` Jisheng Zhang
2019-04-10 10:27             ` Marc Zyngier
2019-04-17  3:49             ` RaghuramChary.Jallipalli [this message]
2019-04-17  8:22               ` Jisheng Zhang
2019-04-22  5:32                 ` RaghuramChary.Jallipalli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BN6PR11MB39530B69C9BD75927F1F61B89F250@BN6PR11MB3953.namprd11.prod.outlook.com \
    --to=raghuramchary.jallipalli@microchip.com \
    --cc=Jisheng.Zhang@synaptics.com \
    --cc=UNGLinuxDriver@microchip.com \
    --cc=Woojung.Huh@microchip.com \
    --cc=andrew@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=f.fainelli@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=marc.zyngier@arm.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).