Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1447324imu; Wed, 16 Jan 2019 20:12:11 -0800 (PST) X-Google-Smtp-Source: ALg8bN7LAKA//gCYdEbYFcWObxzAWk1B8Hn945W3hgUXe4IRQfsmvqOQ0dpNfC3bBHGfkNDqnYqS X-Received: by 2002:a63:d655:: with SMTP id d21mr12040380pgj.280.1547698331047; Wed, 16 Jan 2019 20:12:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547698331; cv=none; d=google.com; s=arc-20160816; b=whoh/D9ggArNfnn5uVvUBfPakMah7E3EIJKA5nmmNfv6/Bcd7ZnUvk8lvMdUV6eAVr pFpA52T1h4ZcHWQnJ1AbO7S9vDSkUdgHCCDZJlpD+9X6pMKdyCBKgJGuTKSdR6jaHc/j tG4r2EU3kstOMarALhOCJZbr100PqULJO/Y2m9yBzzLAY/MkJ48JoEruwbZ+Qo7+nxSd 6uDlUeLX39WPHYJtzyB/nMvGCfoBfpgmZ022VMUxnibYsmrg1582YB/WyhLf7R0uXLzs rUdVfT27RQmtB2r76W9fYsYe78O9OHEopZA73IZmJ1qP+VdV43LZl13C3U293lDZFQYz 2oUw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=ay1zuWVZowNuz5no8Sfw2Hi61MMbHvxLui1bD06+qPM=; b=wW87P6hrZSwQvIbICjvR4sqg9gIzsQ4i6ilRnaBDEArFGuc00iU9xtDqhiO9Z/x2Z7 ZHwT6btkXw4RiHuIs8U6uvX8loxZaXKtJqkApEirXaa5a6on4TE8cn5Q1dNj+1y5ihZL xD4+o2+h/282kSzhTb8JUZ9+gYgf7meUQyA3lKVHqOEJMHqy+IUOYEZ0U17oWbYn6z/y 6faJtzjJrPue2nXLauuE3pHTN+C5YlkMMxEO8mF5l/ETL6xTbfH/YzMZbODiLRWxQAZt 64hX04IJOxteVykhnHXvCX9VR/le+cyVCAwU6XUmN0lj1y9A8qzcR2cij32tIaKvDAZa FJGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=OaVkI3hg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 37si464885pgs.447.2019.01.16.20.11.55; Wed, 16 Jan 2019 20:12:11 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=OaVkI3hg; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390669AbfAPNlN (ORCPT + 99 others); Wed, 16 Jan 2019 08:41:13 -0500 Received: from vps0.lunn.ch ([185.16.172.187]:45140 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729432AbfAPNlM (ORCPT ); Wed, 16 Jan 2019 08:41:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=ay1zuWVZowNuz5no8Sfw2Hi61MMbHvxLui1bD06+qPM=; b=OaVkI3hgg4zwnUytPkBfCkLhjhVjPDOcUymr1QhlvQ0dtCu3dU9kJRSGJCgYGXkZJZjz3MAdxk50kiZYMOQDU/jHKMREybJ5SoR1mkqN1O/Z4CmyMTEwaCD0b5TfF8OSgeCIjWjg3S6YBwzYOtv2bC2xD6wIVe2qPPqfW6eN1PA=; Received: from andrew by vps0.lunn.ch with local (Exim 4.84_2) (envelope-from ) id 1gjlRC-0006PZ-S8; Wed, 16 Jan 2019 14:40:58 +0100 Date: Wed, 16 Jan 2019 14:40:58 +0100 From: Andrew Lunn To: kernel test robot Cc: Camelia Groza , 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 Message-ID: <20190116134058.GA24229@lunn.ch> References: <1547555719-13541-1-git-send-email-camelia.groza@nxp.com> <20190116085858.pfl4vuutel3b5kgb@inn2.lkp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190116085858.pfl4vuutel3b5kgb@inn2.lkp.intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Thanks Andrew