From: kernel test robot <oliver.sang@intel.com>
To: Yajun Deng <yajun.deng@linux.dev>
Cc: <oe-lkp@lists.linux.dev>, <lkp@intel.com>,
<netdev@vger.kernel.org>, <andrew@lunn.ch>,
<hkallweit1@gmail.com>, <linux@armlinux.org.uk>,
<davem@davemloft.net>, <edumazet@google.com>, <kuba@kernel.org>,
<pabeni@redhat.com>, <linux-kernel@vger.kernel.org>,
Yajun Deng <yajun.deng@linux.dev>, <oliver.sang@intel.com>
Subject: Re: [PATCH net-next] net: phy: Synchronize c45_ids to phy_id
Date: Wed, 28 May 2025 14:35:05 +0800 [thread overview]
Message-ID: <202505281424.ee78ec7d-lkp@intel.com> (raw)
In-Reply-To: <20250522131918.31454-1-yajun.deng@linux.dev>
Hello,
kernel test robot noticed "WARNING:at_drivers/net/phy/phy.c:#_phy_state_machine" on:
commit: 5ba1925a399bc2393c503a70406edea488b549ff ("[PATCH net-next] net: phy: Synchronize c45_ids to phy_id")
url: https://github.com/intel-lab-lkp/linux/commits/Yajun-Deng/net-phy-Synchronize-c45_ids-to-phy_id/20250522-212043
base: https://git.kernel.org/cgit/linux/kernel/git/davem/net-next.git 3da895b23901964fcf23450f10b529d45069f333
patch link: https://lore.kernel.org/all/20250522131918.31454-1-yajun.deng@linux.dev/
patch subject: [PATCH net-next] net: phy: Synchronize c45_ids to phy_id
in testcase: rcutorture
version:
with following parameters:
runtime: 300s
test: cpuhotplug
torture_type: tasks
config: x86_64-randconfig-121-20250524
compiler: clang-20
test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G
(please refer to attached dmesg/kmsg for entire log/backtrace)
+------------------------------------------------------+------------+------------+
| | 3da895b239 | 5ba1925a39 |
+------------------------------------------------------+------------+------------+
| WARNING:at_drivers/net/phy/phy.c:#_phy_state_machine | 0 | 18 |
| RIP:_phy_state_machine | 0 | 18 |
+------------------------------------------------------+------------+------------+
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <oliver.sang@intel.com>
| Closes: https://lore.kernel.org/oe-lkp/202505281424.ee78ec7d-lkp@intel.com
[ 12.608484][ T25] ------------[ cut here ]------------
[ 12.609643][ T25] _phy_start_aneg+0x0/0xf0: returned: -1
[ 12.610888][ T25] WARNING: CPU: 1 PID: 25 at drivers/net/phy/phy.c:1350 _phy_state_machine (drivers/net/phy/phy.c:1350)
[ 12.612870][ T25] Modules linked in:
[ 12.613775][ T25] CPU: 1 UID: 0 PID: 25 Comm: kworker/1:0 Tainted: G T 6.15.0-rc6-01307-g5ba1925a399b #1 PREEMPT(voluntary)
[ 12.614298][ T7] e1000: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
[ 12.616470][ T25] Tainted: [T]=RANDSTRUCT
[ 12.619076][ T25] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
[ 12.624259][ T1] dsa-loop fixed-0:1f lan2: configuring for phy/gmii link mode
[ 12.626882][ T25] Workqueue: events_power_efficient phy_state_machine
[ 12.628568][ T7] ------------[ cut here ]------------
[ 12.629750][ T25] RIP: 0010:_phy_state_machine (drivers/net/phy/phy.c:1350)
[ 12.630847][ T7] _phy_start_aneg+0x0/0xf0: returned: -1
[ 12.632047][ T25] Code: 49 c7 c6 c0 e3 1d 82 bd 01 00 00 00 83 f8 ed 0f 84 21 01 00 00 85 c0 79 6b 48 c7 c7 96 7b ec 83 4c 89 f6 89 c2 e8 21 7e 0f ff <0f> 0b 48 8d bb f8 05 00 00 e8 63 43 17 ff 84 c0 0f 84 0c 01 00 00
All code
========
0: 49 c7 c6 c0 e3 1d 82 mov $0xffffffff821de3c0,%r14
7: bd 01 00 00 00 mov $0x1,%ebp
c: 83 f8 ed cmp $0xffffffed,%eax
f: 0f 84 21 01 00 00 je 0x136
15: 85 c0 test %eax,%eax
17: 79 6b jns 0x84
19: 48 c7 c7 96 7b ec 83 mov $0xffffffff83ec7b96,%rdi
20: 4c 89 f6 mov %r14,%rsi
23: 89 c2 mov %eax,%edx
25: e8 21 7e 0f ff call 0xffffffffff0f7e4b
2a:* 0f 0b ud2 <-- trapping instruction
2c: 48 8d bb f8 05 00 00 lea 0x5f8(%rbx),%rdi
33: e8 63 43 17 ff call 0xffffffffff17439b
38: 84 c0 test %al,%al
3a: 0f 84 0c 01 00 00 je 0x14c
Code starting with the faulting instruction
===========================================
0: 0f 0b ud2
2: 48 8d bb f8 05 00 00 lea 0x5f8(%rbx),%rdi
9: e8 63 43 17 ff call 0xffffffffff174371
e: 84 c0 test %al,%al
10: 0f 84 0c 01 00 00 je 0x122
[ 12.633319][ T7] WARNING: CPU: 0 PID: 7 at drivers/net/phy/phy.c:1350 _phy_state_machine (drivers/net/phy/phy.c:1350)
[ 12.637175][ T25] RSP: 0018:ffff888102e5fdc8 EFLAGS: 00010246
[ 12.638506][ T7] Modules linked in:
[ 12.639158][ T25]
[ 12.639576][ T7] CPU: 0 UID: 0 PID: 7 Comm: kworker/0:1 Tainted: G T 6.15.0-rc6-01307-g5ba1925a399b #1 PREEMPT(voluntary)
[ 12.639823][ T25] RAX: 0000000000000000 RBX: ffff88813a422000 RCX: 0000000000000000
[ 12.641190][ T7] Tainted: [T]=RANDSTRUCT
[ 12.642046][ T25] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[ 12.642049][ T25] RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000
[ 12.642052][ T25] R10: 0000000000000000 R11: 0000000000000000 R12: ffff888100079800
[ 12.642054][ T25] R13: ffff88842fdea840 R14: ffffffff821de3c0 R15: 0000000000000004
[ 12.642057][ T25] FS: 0000000000000000(0000) GS:ffff8884aa5fc000(0000) knlGS:0000000000000000
[ 12.642060][ T25] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 12.642062][ T25] CR2: 00007fc38285a160 CR3: 0000000004296000 CR4: 00000000000006b0
[ 12.642067][ T25] Call Trace:
[ 12.642072][ T25] <TASK>
[ 12.642079][ T25] ? process_scheduled_works (kernel/workqueue.c:3214)
[ 12.642086][ T25] phy_state_machine (drivers/net/phy/phy.c:1612)
[ 12.642093][ T25] ? process_scheduled_works (kernel/workqueue.c:3214)
[ 12.642097][ T25] process_scheduled_works (kernel/workqueue.c:3243)
[ 12.642117][ T25] worker_thread (include/linux/list.h:373 kernel/workqueue.c:946 kernel/workqueue.c:3401)
[ 12.642127][ T25] ? pr_cont_work (kernel/workqueue.c:3346)
[ 12.642130][ T25] kthread (kernel/kthread.c:466)
[ 12.642138][ T25] ? kthread_unuse_mm (kernel/kthread.c:413)
[ 12.642144][ T25] ret_from_fork (arch/x86/kernel/process.c:159)
[ 12.642149][ T25] ? kthread_unuse_mm (kernel/kthread.c:413)
[ 12.642155][ T25] ret_from_fork_asm (arch/x86/entry/entry_64.S:258)
[ 12.642178][ T25] </TASK>
[ 12.642180][ T25] irq event stamp: 14831
[ 12.642182][ T25] hardirqs last enabled at (14837): vprintk_emit (arch/x86/include/asm/irqflags.h:26 arch/x86/include/asm/irqflags.h:109 arch/x86/include/asm/irqflags.h:151 kernel/printk/printk.c:2043 kernel/printk/printk.c:2449)
[ 12.642187][ T25] hardirqs last disabled at (14842): vprintk_emit (kernel/printk/printk.c:2022)
[ 12.642192][ T25] softirqs last enabled at (14648): __irq_exit_rcu (arch/x86/include/asm/jump_label.h:36 kernel/softirq.c:682)
[ 12.642197][ T25] softirqs last disabled at (14643): __irq_exit_rcu (arch/x86/include/asm/jump_label.h:36 kernel/softirq.c:682)
[ 12.642201][ T25] ---[ end trace 0000000000000000 ]---
[ 12.645728][ T1] dsa-loop fixed-0:1f lan3: configuring for phy/gmii link mode
[ 12.648032][ T1] dsa-loop fixed-0:1f lan4: configuring for phy/gmii link mode
[ 12.648206][ T7] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20250528/202505281424.ee78ec7d-lkp@intel.com
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
prev parent reply other threads:[~2025-05-28 6:36 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-05-22 13:19 [PATCH net-next] net: phy: Synchronize c45_ids to phy_id Yajun Deng
2025-05-22 13:26 ` Russell King (Oracle)
2025-05-22 13:39 ` Andrew Lunn
2025-05-23 2:10 ` Yajun Deng
2025-05-23 13:03 ` Andrew Lunn
2025-05-23 17:39 ` Russell King (Oracle)
2025-05-23 17:37 ` Russell King (Oracle)
2025-05-24 1:36 ` Yajun Deng
2025-05-28 6:35 ` kernel test robot [this message]
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=202505281424.ee78ec7d-lkp@intel.com \
--to=oliver.sang@intel.com \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=hkallweit1@gmail.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=lkp@intel.com \
--cc=netdev@vger.kernel.org \
--cc=oe-lkp@lists.linux.dev \
--cc=pabeni@redhat.com \
--cc=yajun.deng@linux.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.