lkml.org 
[lkml]   [2019]   [Jan]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [net] b8154ef682: WARNING:at_drivers/net/phy/phy_device.c:#phy_driver_register
Date
> -----Original Message-----
> From: Andrew Lunn <andrew@lunn.ch>
> Sent: Wednesday, January 16, 2019 15:41
> To: kernel test robot <lkp@intel.com>
> Cc: Camelia Alexandra Groza <camelia.groza@nxp.com>;
> f.fainelli@gmail.com; hkallweit1@gmail.com; davem@davemloft.net;
> oss@buserror.net; netdev@vger.kernel.org; linux-kernel@vger.kernel.org;
> lkp@01.org
> Subject: Re: [net] b8154ef682:
> WARNING:at_drivers/net/phy/phy_device.c:#phy_driver_register
>
> On Wed, Jan 16, 2019 at 04:58:58PM +0800, kernel test robot wrote:
> > FYI, we noticed the following commit (built with gcc-7):
> >
> > commit: b8154ef682a9a745880ecbb2ee26b16297c9bfd0 ("[PATCH net] net:
> phy: phy driver features are mandatory")
> > url: https://github.com/0day-ci/linux/commits/Camelia-Groza/net-phy-phy-driver-features-are-mandatory/20190116-004308
> >
> >
> > in testcase: trinity
> > with following parameters:
> >
> > runtime: 300s
> >
> > test-description: Trinity is a linux system call fuzz tester.
> > test-url: http://codemonkey.org.uk/projects/trinity/
> >
> >
> > on test machine: qemu-system-i386 -enable-kvm -cpu SandyBridge -smp 2
> -m 512M
> >
> > caused below changes (please refer to attached dmesg/kmsg for entire
> log/backtrace):
> >
> >
> > +--------------------------------------------------------------+------------+------------
> +
> > | | 2f960bd056 | b8154ef682 |
> > +--------------------------------------------------------------+------------+------------
> +
> > | boot_successes | 45 | 0 |
> > | boot_failures | 1 | 4 |
> > | BUG:kernel_timeout_in_torture_test_stage | 1 | |
> > | WARNING:at_drivers/net/phy/phy_device.c:#phy_driver_register | 0
> | 4 |
> > | EIP:phy_driver_register | 0 | 4 |
> > +--------------------------------------------------------------+------------+------------
> +
> >
> >
> >
> > [ 458.251512] WARNING: CPU: 0 PID: 1 at
> drivers/net/phy/phy_device.c:2246 phy_driver_register+0x90/0xe0
> > [ 458.260864] CPU: 0 PID: 1 Comm: swapper Tainted: G T 4.20.0-
> 11080-gb8154ef6 #158
> > [ 458.260864] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996),
> BIOS 1.10.2-1 04/01/2014
> > [ 458.260864] EIP: phy_driver_register+0x90/0xe0
> > [ 458.260864] Code: 5d 89 7b 08 89 03 89 d8 c7 43 14 02 00 00 00 e8 06 d3 e1
> ff 85 c0 89 c6 75 39 83 c4 0c 89 f0 5b 5e 5f 5d c3 8d b6 00 00 00 00 <0f> 0b b8 38
> 5b 2e 5e c7 04 24 00 00 00 00 31 c9 ba 01 00 00 00 be
> > [ 458.260864] EAX: 5e2e5b50 EBX: 5e1a8fe0 ECX: 00000000 EDX: 00000001
> > [ 458.260864] ESI: 00000000 EDI: 00000000 EBP: 4010defc ESP: 4010dee4
> > [ 458.260864] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068 EFLAGS:
> 00210246
> > [ 458.260864] CR0: 80050033 CR2: 00000000 CR3: 1e43a000 CR4: 000006b0
> > [ 458.260864] Call Trace:
> > [ 458.260864] ? phy_drivers_register+0x37/0x90
> > [ 458.260864] ? phy_module_init+0x1b/0x1b
> > [ 458.260864] ? phy_module_init+0x19/0x1b
> > [ 458.260864] ? do_one_initcall+0xd9/0x24b
>
> Hi Camelia
>
> I think we need to extend your patch and print the name of the PHY
> which is missing the features pointer. I don't see anything here which
> allows me to determine which PHY caused the warning.

Hi

Sure, I'll send a v2.

Camelia

\
 
 \ /
  Last update: 2019-01-17 08:36    [W:0.061 / U:12.660 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site