FYI, we noticed the following commit:
commit: a583bc678d0a5e54844d3380e242dd9bb5fb0b00 ("drm/fb-helper: Allocate a drm_file") url: https://github.com/0day-ci/linux/commits/Noralf-Tr-nnes/drm-fb-helper-Use-dr... base: git://people.freedesktop.org/~airlied/linux.git drm-next
in testcase: boot
on test machine: qemu-system-x86_64 -enable-kvm -smp 2 -m 512M
caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):
+------------------------------------------------+------------+------------+ | | 6b0c88fff7 | a583bc678d | +------------------------------------------------+------------+------------+ | boot_successes | 66 | 0 | | boot_failures | 0 | 77 | | WARNING:at_kernel/workqueue.c:#flush_workqueue | 0 | 32 | | kernel_BUG_at_lib/list_debug.c | 0 | 66 | | invalid_opcode:#[##] | 0 | 66 | | Kernel_panic-not_syncing:Fatal_exception | 0 | 77 | | BUG:unable_to_handle_kernel | 0 | 11 | | Oops:#[##] | 0 | 11 | +------------------------------------------------+------------+------------+
[ 14.785867] WARNING: CPU: 0 PID: 5 at kernel/workqueue.c:2606 flush_workqueue+0x881/0x8b0 [ 14.798652] list_del corruption. prev->next should be ffff88001c459300, but was (null) [ 14.798673] ------------[ cut here ]------------ [ 14.798674] kernel BUG at lib/list_debug.c:56! [ 14.798677] invalid opcode: 0000 [#1] PREEMPT [ 14.798679] CPU: 0 PID: 24 Comm: kworker/u2:1 Not tainted 4.13.0-rc5-01112-ga583bc6 #1 [ 14.798680] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014 [ 14.798686] task: ffff88001d31f0c0 task.stack: ffffc900000c0000 [ 14.798690] RIP: 0010:__list_del_entry_valid+0x155/0x160 [ 14.798691] RSP: 0000:ffffc900000c3e60 EFLAGS: 00010086 [ 14.798693] RAX: 0000000000000054 RBX: 0000000000000003 RCX: 0000000000000000 [ 14.798693] RDX: 0000000000000002 RSI: 0000000000000000 RDI: 0000000000000046 [ 14.798694] RBP: ffffc900000c3e88 R08: 0000000000000000 R09: 0000000000000000 [ 14.798695] R10: ffff88001d31f110 R11: 000000006c756e28 R12: ffff88001c459300 [ 14.798696] R13: ffff88001c491cc0 R14: ffff88001d1bc030 R15: 0000000000000000 [ 14.798698] FS: 0000000000000000(0000) GS:ffffffff8422f000(0000) knlGS:0000000000000000 [ 14.798699] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 14.798700] CR2: 00000000000000a8 CR3: 000000000420e000 CR4: 00000000000006f0 [ 14.798702] Call Trace: [ 14.798707] worker_thread+0x1c5/0x810 [ 14.798709] kthread+0x187/0x190 [ 14.798711] ? process_one_work+0x7f0/0x7f0 [ 14.798712] ? __kthread_create_on_node+0x260/0x260 [ 14.798715] ret_from_fork+0x25/0x30 [ 14.798716] Code: 06 7e ff 0f 0b 4c 89 f2 4c 89 e6 48 c7 c7 c0 d9 db 83 e8 9f 06 7e ff 0f 0b 49 8b 16 4c 89 e6 48 c7 c7 f8 d9 db 83 e8 8b 06 7e ff <0f> 0b 90 90 90 90 90 90 90 90 90 55 48 89 f8 45 31 db 41 ba 01 [ 14.798741] RIP: __list_del_entry_valid+0x155/0x160 RSP: ffffc900000c3e60 [ 14.798746] ---[ end trace 22b1dffd04582160 ]---
To reproduce:
git clone https://github.com/intel/lkp-tests.git cd lkp-tests bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email
Thanks, Xiaolong