Greetings, 0day kernel testing robot got the below dmesg and the first bad commit is https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master commit 2989f6451084aed3f8cc9992477f7a9bf57a3716 Author: Chris Wilson AuthorDate: Mon Aug 19 10:59:27 2019 +0100 Commit: Chris Wilson CommitDate: Mon Aug 19 18:09:46 2019 +0100 dma-buf: Add selftests for dma-fence Exercise the dma-fence API exported to drivers. Signed-off-by: Chris Wilson Cc: Daniel Vetter Acked-by: Daniel Vetter Link: https://patchwork.freedesktop.org/patch/msgid/20190819095928.32091-2-chris@chris-wilson.co.uk 9536b64ac0 dma-buf: Introduce selftesting framework 2989f64510 dma-buf: Add selftests for dma-fence 60c632a58c INTEL_DII: AUTO CHOP BRANCH: dg1 c74386d50f afs: Fix missing timeout reset +----------------------------------------------------+------------+------------+------------+------------+ | | 9536b64ac0 | 2989f64510 | 60c632a58c | c74386d50f | +----------------------------------------------------+------------+------------+------------+------------+ | boot_successes | 31 | 0 | 0 | 0 | | boot_failures | 0 | 24 | 398 | 30 | | WARNING:at_lib/debugobjects.c:#__debug_object_init | 0 | 24 | | | | RIP:__debug_object_init | 0 | 24 | | | | BUG:soft_lockup-CPU##stuck_for#s![dma-fence:#:#] | 0 | 24 | 394 | 30 | | RIP:lock_is_held_type | 0 | 16 | 257 | 11 | | Kernel_panic-not_syncing:softlockup:hung_tasks | 0 | 24 | 396 | 30 | | RIP:thread_signal_callback | 0 | 4 | 42 | 1 | | calltrace:irq_exit | 0 | 4 | 40 | 4 | | RIP:_raw_spin_unlock_irq | 0 | 1 | 4 | | | RIP:arch_local_save_flags | 0 | 1 | 6 | | | RIP:to_kthread | 0 | 1 | 27 | 2 | | RIP:rcu_read_lock_held | 0 | 1 | 7 | | | RIP:debug_lockdep_rcu_enabled | 0 | 1 | 23 | | | RIP:arch_local_irq_save | 0 | 0 | 6 | | | RIP:kthread_should_stop | 0 | 0 | 28 | | | BUG:soft_lockup-CPU##stuck_for#s | 0 | 0 | 2 | | | RIP:__do_softirq | 0 | 0 | 5 | 4 | | BUG:kernel_hang_in_boot_stage | 0 | 0 | 1 | | | BUG:kernel_timeout_in_boot_stage | 0 | 0 | 1 | | | RIP:__asan_load8 | 0 | 0 | 0 | 7 | | RIP:__asan_load4 | 0 | 0 | 0 | 9 | | RIP:check_memory_region | 0 | 0 | 0 | 1 | +----------------------------------------------------+------------+------------+------------+------------+ If you fix the issue, kindly add following tag Reported-by: kernel test robot [ 2.076884] dma-buf: Running dma_fence/test_error [ 2.078487] dma-buf: Running dma_fence/test_wait [ 2.080053] dma-buf: Running dma_fence/test_wait_timeout [ 2.081815] ODEBUG: object (____ptrval____) is on stack (____ptrval____), but NOT annotated. [ 2.084878] ------------[ cut here ]------------ [ 2.086424] WARNING: CPU: 0 PID: 1 at lib/debugobjects.c:524 __debug_object_init+0x27c/0x33b [ 2.088203] Modules linked in: [ 2.088203] CPU: 0 PID: 1 Comm: swapper Not tainted 5.3.0-rc1-00500-g2989f6451084a #1 [ 2.088203] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014 [ 2.088203] RIP: 0010:__debug_object_init+0x27c/0x33b [ 2.088203] Code: cf 0f 84 d3 00 00 00 ff c0 4c 89 e6 48 c7 c7 d8 c3 52 82 89 05 ea 84 95 02 e8 e5 3c d0 ff 48 c7 c7 2d 1c 4d 82 e8 d9 3c d0 ff <0f> 0b e9 a9 00 00 00 48 c7 c7 00 a9 ad 82 49 c7 c4 08 6a ce 83 e8 [ 2.088203] RSP: 0018:ffff88823792bd50 EFLAGS: 00010282 [ 2.088203] RAX: 0000000000000024 RBX: ffffffff83d33178 RCX: 0000000000000087 [ 2.088203] RDX: 0000000000000000 RSI: 0000000000000006 RDI: ffff888237924040 [ 2.088203] RBP: ffff88823780e8c0 R08: 0000000000000001 R09: 0000000000000001 [ 2.088203] R10: ffff88823792bce0 R11: 0000000000000004 R12: ffff88823792bdd0 [ 2.088203] R13: 0000000000000286 R14: ffffffff82a7cb80 R15: 00000000ffffffff [ 2.088203] FS: 0000000000000000(0000) GS:ffffffff828a7000(0000) knlGS:0000000000000000 [ 2.088203] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 2.088203] CR2: 00007f5016eec480 CR3: 000000000287a004 CR4: 00000000000606b0 [ 2.088203] Call Trace: [ 2.088203] ? mock_wakeup+0xe/0xe [ 2.088203] init_timer_key+0x28/0xd7 [ 2.088203] test_wait_timeout+0x29/0xce [ 2.088203] __subtests+0x121/0x16c [ 2.088203] ? set_debug_rodata+0xc/0xc [ 2.088203] ? udmabuf_dev_init+0xc/0xc [ 2.088203] ? set_debug_rodata+0xc/0xc [ 2.088203] dma_fence+0x5b/0x6d [ 2.088203] st_init+0x54/0xac [ 2.088203] do_one_initcall+0xb3/0x1e5 [ 2.088203] ? set_debug_rodata+0xc/0xc [ 2.088203] ? rcu_read_lock_sched_held+0x42/0x48 [ 2.088203] ? trace_initcall_level+0x5e/0x8a [ 2.088203] kernel_init_freeable+0x14c/0x1e1 [ 2.088203] ? rest_init+0xaa/0xaa [ 2.088203] kernel_init+0x5/0xe6 [ 2.088203] ret_from_fork+0x24/0x30 [ 2.088203] irq event stamp: 353742 [ 2.088203] hardirqs last enabled at (353741): [] console_unlock+0x49b/0x4b1 [ 2.088203] hardirqs last disabled at (353742): [] trace_hardirqs_off_thunk+0x1a/0x20 [ 2.088203] softirqs last enabled at (353730): [] __do_softirq+0x2d9/0x313 [ 2.088203] softirqs last disabled at (353723): [] irq_exit+0x43/0x85 [ 2.088203] _warn_unseeded_randomness: 124 callbacks suppressed [ 2.088203] random: get_random_bytes called from init_oops_id+0x1d/0x2c with crng_init=0 [ 2.088203] ---[ end trace 4e14c662bd69690f ]--- [ 2.190432] dma-buf: Running dma_fence/test_stub # HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD git bisect start 967093f255d4e9c64856f381722c80cf56c96d3d v5.3 -- git bisect bad 0f1a7b3fac0583083ca19d4de47403511ced3521 # 10:42 B 0 35 48 1 timer-of: don't use conditional expression with mixed 'void' types git bisect bad 8c2b418c3f95a488f5226870eee68574d323f0f8 # 10:43 B 0 33 61 3 Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux git bisect good 1902314157b19754e0ff25b44527654847cfd127 # 10:44 G 24 0 0 0 Merge branch 'for-5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/dennis/percpu git bisect good 734d1ed83e1f9b7bafb650033fb87c657858cf5b # 10:46 G 24 0 0 0 Merge tag 'fscrypt-for-linus' of git://git.kernel.org/pub/scm/fs/fscrypt/fscrypt git bisect good 671df189537883f36cf9c7d4f9495bfac0f86627 # 10:46 G 24 0 0 0 Merge tag 'dma-mapping-5.4' of git://git.infradead.org/users/hch/dma-mapping git bisect good 3c2edc36a77420d8be05d656019dbc8c31535992 # 10:47 G 24 0 0 0 Merge tag 'pinctrl-v5.4-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl git bisect bad b08918fb3f27d1843152986e6bc79ec723dba8cc # 10:48 B 0 24 36 0 lz4: do not export static symbol git bisect bad 574cc4539762561d96b456dbc0544d8898bd4c6e # 10:49 B 0 24 36 0 Merge tag 'drm-next-2019-09-18' of git://anongit.freedesktop.org/drm/drm git bisect good e7f7287bf5f746d29f3607178851246a005dd398 # 10:53 G 22 0 0 2 Merge tag 'drm-next-5.4-2019-08-09' of git://people.freedesktop.org/~agd5f/linux into drm-next git bisect good 8c973fb611de06ce54879b4d8797bf966d3db213 # 10:54 G 24 0 0 0 Merge tag 'drm-hisilicon-hibmc-next-2019-08-26' of https://github.com/xin3liang/linux into drm-next git bisect good 706feb26f890e1b8297b5d14975160de361edf4f # 10:56 G 24 0 0 0 drm/amd/powerpaly: fix navi series custom peak level value error git bisect bad 8e3e791d20d2f7ffd4926eda7555ec815293f533 # 10:58 B 0 23 36 1 drm/msm: Use generic bulk clock function git bisect bad c87237110f2553b4200a8b3401a01198edfcf0d9 # 11:00 B 0 23 36 1 Merge tag 'drm-misc-next-2019-08-23' of git://anongit.freedesktop.org/drm/drm-misc into drm-next git bisect bad 9ec16cee89dc479145439966c537edd8117a9bb0 # 11:02 B 0 24 36 0 drm: kirin: Remove unreachable return git bisect good aa4fffec310da5eb6d6ef09509b03e780bdf248a # 11:04 G 24 0 0 0 drm/panfrost: Remove opp table when unloading git bisect bad ea4e537ae149b468963bf500cfb0a99f8df4b3e7 # 11:09 B 0 24 36 0 dma-buf: Use %zu for printing sizeof git bisect bad 56d8d6413d0218a0b3cebc5decdcaedc9a0b7e4e # 11:14 B 0 24 36 0 drm/drv: Use // for comments in example code git bisect bad 2989f6451084aed3f8cc9992477f7a9bf57a3716 # 11:17 B 0 24 64 0 dma-buf: Add selftests for dma-fence git bisect good 9536b64ac0d6e3151963a11441dde7ade045fb29 # 11:18 G 31 0 0 0 dma-buf: Introduce selftesting framework # first bad commit: [2989f6451084aed3f8cc9992477f7a9bf57a3716] dma-buf: Add selftests for dma-fence git bisect good 9536b64ac0d6e3151963a11441dde7ade045fb29 # 11:20 G 31 0 0 0 dma-buf: Introduce selftesting framework # extra tests with debug options git bisect bad 2989f6451084aed3f8cc9992477f7a9bf57a3716 # 11:21 B 0 11 34 11 dma-buf: Add selftests for dma-fence # extra tests on head commit of internal-drm-intel/dii-auto-chop/dg1 git bisect bad 60c632a58c243ff5fda91ddad1786060d4f1e02d # 11:39 B 0 385 798 13 INTEL_DII: AUTO CHOP BRANCH: dg1 # bad: [60c632a58c243ff5fda91ddad1786060d4f1e02d] INTEL_DII: AUTO CHOP BRANCH: dg1 # extra tests on head commit of linus/master git bisect bad c74386d50fbaf4a54fd3fe560f1abc709c0cff4b # 15:07 B 0 4 49 16 afs: Fix missing timeout reset # bad: [c74386d50fbaf4a54fd3fe560f1abc709c0cff4b] afs: Fix missing timeout reset # extra tests on linux-next/master # 119: [1fef9976397fc9b951ee54467eccd65e0c508785] Add linux-next specific files for 20191120 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/hyperkitty/list/lkp@lists.01.org Intel Corporation