bisecting cause commit starting from 882e8691130bd75fd0ab540896db26e25eedf476 building syzkaller on c692b5bdabba075211571ae6dfe3453a8193591a testing commit 882e8691130bd75fd0ab540896db26e25eedf476 with gcc (GCC) 8.1.0 run #0: OK run #1: OK run #2: OK run #3: crashed: INFO: rcu detected stall in __do_softirq run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK testing release v5.2 testing commit 0ecfebd2b52404ae0c54a878c872bb93363ada36 with gcc (GCC) 8.1.0 all runs: OK # git bisect start 882e8691130bd75fd0ab540896db26e25eedf476 v5.2 Bisecting: 9469 revisions left to test after this (roughly 13 steps) [168869492e7009b6861b615f1d030c99bc805e83] docs: kbuild: fix build with pdf and fix some minor issues testing commit 168869492e7009b6861b615f1d030c99bc805e83 with gcc (GCC) 8.1.0 run #0: crashed: INFO: rcu detected stall in __do_softirq run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK # git bisect bad 168869492e7009b6861b615f1d030c99bc805e83 Bisecting: 5202 revisions left to test after this (roughly 12 steps) [8f6ccf6159aed1f04c6d179f61f6fb2691261e84] Merge tag 'clone3-v5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux testing commit 8f6ccf6159aed1f04c6d179f61f6fb2691261e84 with gcc (GCC) 8.1.0 all runs: OK # git bisect good 8f6ccf6159aed1f04c6d179f61f6fb2691261e84 Bisecting: 2614 revisions left to test after this (roughly 11 steps) [4832a4dada1a2baefac76b70e4f3a78e71a7c35c] Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid/hid testing commit 4832a4dada1a2baefac76b70e4f3a78e71a7c35c with gcc (GCC) 8.1.0 all runs: OK # git bisect good 4832a4dada1a2baefac76b70e4f3a78e71a7c35c Bisecting: 1260 revisions left to test after this (roughly 10 steps) [ef8f3d48afd6a17a0dae8c277c2f539c2f19fd16] Merge branch 'akpm' (patches from Andrew) testing commit ef8f3d48afd6a17a0dae8c277c2f539c2f19fd16 with gcc (GCC) 8.1.0 run #0: OK run #1: OK run #2: OK run #3: crashed: INFO: rcu detected stall in kvm_vcpu_ioctl run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK # git bisect bad ef8f3d48afd6a17a0dae8c277c2f539c2f19fd16 Bisecting: 740 revisions left to test after this (roughly 9 steps) [5d1532482943403eb11911898565628fa45863d7] staging: kpc2000: simplify comparison to NULL in fileops.c testing commit 5d1532482943403eb11911898565628fa45863d7 with gcc (GCC) 8.1.0 all runs: OK # git bisect good 5d1532482943403eb11911898565628fa45863d7 Bisecting: 319 revisions left to test after this (roughly 9 steps) [17a20acaf171124017f43bc70bb4d7ca88070659] Merge tag 'usb-5.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb testing commit 17a20acaf171124017f43bc70bb4d7ca88070659 with gcc (GCC) 8.1.0 run #0: crashed: no output from test machine run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK # git bisect bad 17a20acaf171124017f43bc70bb4d7ca88070659 Bisecting: 224 revisions left to test after this (roughly 8 steps) [e786741ff1b52769b044b7f4407f39cd13ee5d2d] Merge tag 'staging-5.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging testing commit e786741ff1b52769b044b7f4407f39cd13ee5d2d with gcc (GCC) 8.1.0 run #0: crashed: INFO: rcu detected stall in corrupted run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK # git bisect bad e786741ff1b52769b044b7f4407f39cd13ee5d2d Bisecting: 97 revisions left to test after this (roughly 7 steps) [1a927ad64bcf2b0e11559e3761360147d2ddbde8] memory: jz4780-nemc: Reduce size of const array testing commit 1a927ad64bcf2b0e11559e3761360147d2ddbde8 with gcc (GCC) 8.1.0 all runs: OK # git bisect good 1a927ad64bcf2b0e11559e3761360147d2ddbde8 Bisecting: 48 revisions left to test after this (roughly 6 steps) [0c169b8afd1def63d95702cad45a0908c643a8c8] habanalabs: check to load F/W before boot status testing commit 0c169b8afd1def63d95702cad45a0908c643a8c8 with gcc (GCC) 8.1.0 all runs: OK # git bisect good 0c169b8afd1def63d95702cad45a0908c643a8c8 Bisecting: 48 revisions left to test after this (roughly 6 steps) [60e8523e2ea18dc0c0cea69d6c1d69a065019062] ocxl: Allow contexts to be attached with a NULL mm testing commit 60e8523e2ea18dc0c0cea69d6c1d69a065019062 with gcc (GCC) 8.1.0 all runs: OK # git bisect good 60e8523e2ea18dc0c0cea69d6c1d69a065019062 Bisecting: 24 revisions left to test after this (roughly 5 steps) [06deb86a748a1667d906af996775603f2bc34d00] habanalabs: Add debugfs node for engines status testing commit 06deb86a748a1667d906af996775603f2bc34d00 with gcc (GCC) 8.1.0 all runs: OK # git bisect good 06deb86a748a1667d906af996775603f2bc34d00 Bisecting: 12 revisions left to test after this (roughly 4 steps) [a78b32d9c36bd25f96a1fe2e610712e119c86afb] soundwire: cadence_master: log Slave status mask on errors testing commit a78b32d9c36bd25f96a1fe2e610712e119c86afb with gcc (GCC) 8.1.0 all runs: OK # git bisect good a78b32d9c36bd25f96a1fe2e610712e119c86afb Bisecting: 6 revisions left to test after this (roughly 3 steps) [2aeac95d1a4cc85aae57ab842d5c3340df0f817f] soundwire: add module_sdw_driver helper macro testing commit 2aeac95d1a4cc85aae57ab842d5c3340df0f817f with gcc (GCC) 8.1.0 run #0: crashed: INFO: rcu detected stall in __do_softirq run #1: OK run #2: OK run #3: OK run #4: OK run #5: OK run #6: OK run #7: OK run #8: OK run #9: OK # git bisect bad 2aeac95d1a4cc85aae57ab842d5c3340df0f817f Bisecting: 2 revisions left to test after this (roughly 2 steps) [27f14331a7d434ff860b3d23c2379cf1fb814a3c] soundwire: fix typo in comments testing commit 27f14331a7d434ff860b3d23c2379cf1fb814a3c with gcc (GCC) 8.1.0 all runs: OK # git bisect good 27f14331a7d434ff860b3d23c2379cf1fb814a3c Bisecting: 0 revisions left to test after this (roughly 1 step) [be1038846b8063c448baf5ddcdc2387241c4133e] docs: soundwire: locking: fix tags for a code-block testing commit be1038846b8063c448baf5ddcdc2387241c4133e with gcc (GCC) 8.1.0 all runs: OK # git bisect good be1038846b8063c448baf5ddcdc2387241c4133e 2aeac95d1a4cc85aae57ab842d5c3340df0f817f is the first bad commit commit 2aeac95d1a4cc85aae57ab842d5c3340df0f817f Author: Srinivas Kandagatla Date: Tue Jun 11 11:40:41 2019 +0100 soundwire: add module_sdw_driver helper macro This Helper macro is for SoundWire drivers which do not do anything special in module init/exit. This eliminates a lot of boilerplate. Each module may only use this macro once, and calling it replaces module_init() and module_exit() Signed-off-by: Srinivas Kandagatla Signed-off-by: Vinod Koul :040000 040000 fcd83afd24560d990f992ecd469efaf930b2da2a e6487fa9b49e46f8e7a449b26db3873966cd53d3 M include revisions tested: 17, total time: 4h43m20.935003136s (build: 1h40m11.86939093s, test: 2h56m51.697238577s) first bad commit: 2aeac95d1a4cc85aae57ab842d5c3340df0f817f soundwire: add module_sdw_driver helper macro cc: ["alsa-devel@alsa-project.org" "linux-kernel@vger.kernel.org" "pierre-louis.bossart@linux.intel.com" "sanyog.r.kale@intel.com" "srinivas.kandagatla@linaro.org" "vkoul@kernel.org"] crash: INFO: rcu detected stall in __do_softirq rcu: INFO: rcu_preempt self-detected stall on CPU rcu: 1-...!: (1 GPs behind) idle=866/1/0x4000000000000004 softirq=27886/27889 fqs=1 (t=29515 jiffies g=16057 q=23630) rcu: rcu_preempt kthread starved for 29515 jiffies! g16057 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=0 rcu: RCU grace-period kthread stack dump: rcu_preempt R running task 28736 10 2 0x80004000 Call Trace: context_switch kernel/sched/core.c:2817 [inline] __schedule+0x898/0x1500 kernel/sched/core.c:3444 schedule+0x8f/0x250 kernel/sched/core.c:3508 schedule_timeout+0x38b/0xad0 kernel/time/timer.c:1807 rcu_gp_fqs_loop kernel/rcu/tree.c:1589 [inline] rcu_gp_kthread+0x999/0x1800 kernel/rcu/tree.c:1746 kthread+0x324/0x3e0 kernel/kthread.c:254 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:352 NMI backtrace for cpu 1 CPU: 1 PID: 13373 Comm: syz-executor.1 Not tainted 5.2.0-rc1+ #1 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x113/0x167 lib/dump_stack.c:113 nmi_cpu_backtrace.cold.4+0x3e/0x76 lib/nmi_backtrace.c:101 nmi_trigger_cpumask_backtrace+0x121/0x15b lib/nmi_backtrace.c:62 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline] rcu_dump_cpu_stacks+0x16f/0x1bc kernel/rcu/tree_stall.h:254 print_cpu_stall kernel/rcu/tree_stall.h:455 [inline] check_cpu_stall kernel/rcu/tree_stall.h:529 [inline] rcu_pending kernel/rcu/tree.c:2625 [inline] rcu_sched_clock_irq.cold.80+0x4d0/0xc3d kernel/rcu/tree.c:2161 update_process_times+0x2a/0x60 kernel/time/timer.c:1639 tick_sched_handle+0x77/0x140 kernel/time/tick-sched.c:167 tick_sched_timer+0x37/0xf0 kernel/time/tick-sched.c:1298 __run_hrtimer kernel/time/hrtimer.c:1389 [inline] __hrtimer_run_queues+0x2f6/0xaa0 kernel/time/hrtimer.c:1451 hrtimer_interrupt+0x2df/0x760 kernel/time/hrtimer.c:1509 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1040 [inline] smp_apic_timer_interrupt+0x114/0x540 arch/x86/kernel/apic/apic.c:1065 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:806 RIP: 0010:ffs arch/x86/include/asm/bitops.h:413 [inline] RIP: 0010:__do_softirq+0x224/0x958 kernel/softirq.c:281 Code: c7 c0 40 1b 32 88 48 c1 e8 03 42 80 3c 38 00 0f 85 bb 06 00 00 48 83 3d 29 19 52 01 00 0f 84 f9 05 00 00 fb 66 0f 1f 44 00 00 ff ff ff ff 48 c7 45 c8 00 91 20 88 89 d0 89 55 c0 0f bc 45 d4 RSP: 0018:ffff8880aeb09f18 EFLAGS: 00000282 ORIG_RAX: ffffffffffffff13 RAX: 1ffffffff1064368 RBX: ffff8880a969c140 RCX: 1ffff110152d393c RDX: 0000000000000000 RSI: ffff8880a969c9c0 RDI: ffff8880a969c9bc RBP: ffff8880aeb09f98 R08: 0000000000000002 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000021 R13: ffff8880a0cae000 R14: 0000000000000021 R15: dffffc0000000000 invoke_softirq kernel/softirq.c:374 [inline] irq_exit+0x17f/0x1c0 kernel/softirq.c:414 exiting_irq arch/x86/include/asm/apic.h:536 [inline] do_IRQ+0x10b/0x1c0 arch/x86/kernel/irq.c:258 common_interrupt+0xf/0xf arch/x86/entry/entry_64.S:583 RIP: 0010:vcpu_enter_guest+0x1eb3/0x5240 arch/x86/kvm/x86.c:7941 Code: 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 aa 25 00 00 48 83 3d 4a 9d 26 07 00 0f 84 88 15 00 00 fb 66 0f 1f 44 00 00 01 00 00 00 e8 a3 3a 3a 00 65 8b 05 74 7f f6 7e 85 c0 0f 84 b4 RSP: 0018:ffff888095997980 EFLAGS: 00000282 ORIG_RAX: ffffffffffffffde RAX: dffffc0000000000 RBX: ffff888091280440 RCX: 1ffff110152d393c RDX: 1ffffffff1064368 RSI: ffff8880a969c9c0 RDI: ffffffff88321b40 RBP: ffff888095997a80 R08: 0000000000000006 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88809128046c R13: ffff8880912807f0 R14: 0000000000000000 R15: ffff8880a969c140 vcpu_run arch/x86/kvm/x86.c:8096 [inline] kvm_arch_vcpu_ioctl_run+0x2ec/0x13b0 arch/x86/kvm/x86.c:8304 kvm_vcpu_ioctl+0x452/0xb50 arch/x86/kvm/../../../virt/kvm/kvm_main.c:2750 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:509 [inline] do_vfs_ioctl+0x196/0x10c0 fs/ioctl.c:696 ksys_ioctl+0x62/0x90 fs/ioctl.c:713 __do_sys_ioctl fs/ioctl.c:720 [inline] __se_sys_ioctl fs/ioctl.c:718 [inline] __x64_sys_ioctl+0x6e/0xb0 fs/ioctl.c:718 do_syscall_64+0xd0/0x530 arch/x86/entry/common.c:301 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459829 Code: fd b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 cb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f213c5c3c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459829 RDX: 0000000000000000 RSI: 000000000000ae80 RDI: 0000000000000005 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f213c5c46d4 R13: 00000000004c2bcf R14: 00000000004d6150 R15: 00000000ffffffff