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 f8c627fbabbe9ed6ae68dcfefb7519bd153a7ac0 Author: Sean Young AuthorDate: Tue May 16 04:56:14 2017 -0300 Commit: Mauro Carvalho Chehab CommitDate: Tue Jun 6 07:19:10 2017 -0300 [media] sir_ir: infinite loop in interrupt handler Since this driver does no detection of hardware, it might be used with a non-sir port. Escape out if we are spinning. Reported-by: kbuild test robot Signed-off-by: Sean Young Signed-off-by: Mauro Carvalho Chehab ae8eb443a1 [media] cec-notifier.h: handle unreachable CONFIG_CEC_CORE f8c627fbab [media] sir_ir: infinite loop in interrupt handler beaec533fc llist: clang: introduce member_address_is_nonnull() f80addb9cf Add linux-next specific files for 20170720 +-----------------------------------------------------------------------------------+------------+------------+------------+---------------+ | | ae8eb443a1 | f8c627fbab | beaec533fc | next-20170720 | +-----------------------------------------------------------------------------------+------------+------------+------------+---------------+ | boot_successes | 30 | 9 | 23 | 23 | | boot_failures | 36 | 10 | | | | INFO:rcu_sched_detected_expedited_stalls_on_CPUs/tasks:{#-...}#jiffies_s:#root:#/ | 8 | | | | | INFO:rcu_sched_detected_stalls_on_CPUs/tasks | 30 | | | | | BUG:unable_to_handle_kernel | 0 | 9 | | | | Oops:#[##] | 0 | 9 | | | | Kernel_panic-not_syncing:Fatal_exception_in_interrupt | 0 | 10 | | | | general_protection_fault:#[##] | 0 | 1 | | | | WARNING:at_kernel/locking/lockdep.c:#__bfs | 0 | 1 | | | +-----------------------------------------------------------------------------------+------------+------------+------------+---------------+ [ 72.192465] Key type encrypted registered [ 72.194431] Magic number: 9:869:702 [ 72.197279] genirq: Flags mismatch irq 4. 00000000 (ttyS0) vs. 00000000 (sir_ir) [ 72.198052] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.12.0-rc3-00012-gf8c627f #1 [ 72.198660] platform sir_ir.0: Trapped in interrupt [ 72.198669] BUG: unable to handle kernel NULL pointer dereference at 0000000000000011 [ 72.198677] IP: ir_raw_event_handle+0x11/0x25 [ 72.198678] PGD 0 [ 72.198679] P4D 0 [ 72.198680] [ 72.198683] Oops: 0000 [#1] SMP [ 72.198687] CPU: 0 PID: 65 Comm: rb_producer Not tainted 4.12.0-rc3-00012-gf8c627f #1 [ 72.198689] task: ffff88001fa9e000 task.stack: ffffc900002ec000 [ 72.198692] RIP: 0010:ir_raw_event_handle+0x11/0x25 [ 72.198693] RSP: 0000:ffff88001e403e80 EFLAGS: 00010002 [ 72.198695] RAX: 0000000000000001 RBX: ffff880016a45000 RCX: 0000000000000000 [ 72.198697] RDX: ffff88001fa9e000 RSI: 0000000000000000 RDI: ffff880016a37008 [ 72.198702] RBP: ffff88001e403eb8 R08: 0000000000000001 R09: 0000000000000000 [ 72.198703] R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000 [ 72.198705] R13: 20c49ba5e353f7cf R14: 0000000000000000 R15: ffffffff82f9bfb8 [ 72.198707] FS: 0000000000000000(0000) GS:ffff88001e400000(0000) knlGS:0000000000000000 [ 72.198708] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 72.198710] CR2: 0000000000000011 CR3: 0000000002c20000 CR4: 00000000000006f0 [ 72.198714] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 72.198715] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 72.198717] Call Trace: [ 72.198718] [ 72.198722] ? sir_interrupt+0x24b/0x25f [ 72.198727] ? sched_clock+0x9/0xd [ 72.198732] __handle_irq_event_percpu+0x4b/0x545 [ 72.198735] handle_irq_event_percpu+0x23/0x51 [ 72.198738] handle_irq_event+0x39/0x5d [ 72.198740] handle_edge_irq+0xde/0x19e [ 72.198742] handle_irq+0x57/0x64 [ 72.198746] do_IRQ+0x5c/0x10f [ 72.198749] common_interrupt+0x9d/0x9d [ 72.198754] RIP: 0010:pvclock_clocksource_read+0x21/0x129 [ 72.198755] RSP: 0000:ffffc900002efdd0 EFLAGS: 00000206 ORIG_RAX: ffffffffffffffcb [ 72.198758] RAX: 00000000043966e7 RBX: ffff88001a932630 RCX: 0000000000000000 [ 72.198759] RDX: 000000000000002c RSI: 0000000000000000 RDI: ffff88001e92b000 [ 72.198761] RBP: ffffc900002efe00 R08: ffff88001f8d9448 R09: 0000000000000000 [ 72.198762] R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000006 [ 72.198764] R13: ffff88001e92b000 R14: 000000000000000a R15: ffff880017b78b20 [ 72.198765] [ 72.198768] kvm_sched_clock_read+0x25/0x35 [ 72.198771] sched_clock+0x9/0xd [ 72.198773] trace_clock_local+0x10/0x19 [ 72.198777] ring_buffer_lock_reserve+0x21c/0x721 [ 72.198780] ring_buffer_producer_thread+0x11d/0x638 [ 72.198784] kthread+0x110/0x142 [ 72.198787] ? wait_to_die+0x92/0x92 [ 72.198789] ? __kthread_create_on_node+0x249/0x249 [ 72.198791] ret_from_fork+0x2a/0x40 [ 72.198792] Code: c3 41 03 14 24 89 90 50 10 00 00 eb 82 31 c0 5b 41 5c 5d c3 b8 ea ff ff ff c3 0f 1f 44 00 00 48 8b 87 00 06 00 00 48 85 c0 74 13 <48> 8b 78 10 48 85 ff 74 0a 55 48 89 e5 e8 45 0c 30 ff 5d c3 0f [ 72.198839] RIP: ir_raw_event_handle+0x11/0x25 RSP: ffff88001e403e80 [ 72.198840] CR2: 0000000000000011 [ 72.198845] ---[ end trace 7777188ecb4ca0fc ]--- [ 72.198847] Kernel panic - not syncing: Fatal exception in interrupt # HH:MM RESULT GOOD BAD GOOD_BUT_DIRTY DIRTY_NOT_BAD git bisect start c0bc126f97fb929b3ae02c1c62322645d70eb408 v4.11 -- git bisect good d4c6cd157a77645b9f8bff348b57aafa551f2d79 # 12:59 G 16 0 10 11 Merge tag 'iommu-fixes-v4.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu git bisect good eb4125dfdb1f64a5e41da8315bff48f67e5d1712 # 13:47 G 16 0 12 12 Merge tag 'for-linus-4.12b-rc5-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip git bisect bad c8636b90a091331beb0a26c455a0c87b93aa774a # 14:05 B 8 8 1 1 Merge branch 'ufs-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs git bisect good 6d53cefb18e4646fb4bf62ccb6098fb3808486df # 15:05 G 16 0 9 9 compiler, clang: properly override 'inline' for clang git bisect bad cbfb74973753e109f28705f6b98c8c8cc381b047 # 18:37 B 9 7 1 1 Merge branch 'dmi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging git bisect bad b45edc2d02d50ba4657f29c0e2380e337d324aef # 18:47 B 0 8 20 0 Merge branch 'for-4.12/driver-matching-fix' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid git bisect good 2ab99b001dea71c25bcf34f746f5781c880151bb # 19:42 G 17 0 9 9 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux git bisect good 63f700aab4c11d46626de3cd051dae56cf7e9056 # 20:27 G 17 0 7 7 Merge tag 'xtensa-20170612' of git://github.com/jcmvbkbc/linux-xtensa git bisect bad 906e0c5b9f1261b516487f37a6d35eb48426786f # 20:40 B 0 6 18 0 Merge tag 'media/v4.12-3' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media git bisect good 2302e5591a4ad2d66107c75b6be170121bff5ccd # 21:27 G 17 0 8 8 [media] cec: improve MEDIA_CEC_RC dependencies git bisect bad f8c627fbabbe9ed6ae68dcfefb7519bd153a7ac0 # 21:41 B 0 8 20 0 [media] sir_ir: infinite loop in interrupt handler git bisect good ae8eb443a17331a07579bc04817accaaaa62b78e # 22:40 G 17 0 12 12 [media] cec-notifier.h: handle unreachable CONFIG_CEC_CORE # first bad commit: [f8c627fbabbe9ed6ae68dcfefb7519bd153a7ac0] [media] sir_ir: infinite loop in interrupt handler git bisect good ae8eb443a17331a07579bc04817accaaaa62b78e # 23:18 G 52 0 24 36 [media] cec-notifier.h: handle unreachable CONFIG_CEC_CORE # extra tests with CONFIG_DEBUG_INFO_REDUCED git bisect bad f8c627fbabbe9ed6ae68dcfefb7519bd153a7ac0 # 23:30 B 0 6 18 0 [media] sir_ir: infinite loop in interrupt handler # extra tests on HEAD of linus/master git bisect good 74cbd96bc2e00f5daa805e2ebf49e998f7045062 # 00:51 G 16 0 0 0 Merge tag 'md/4.13-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/shli/md # extra tests on tree/branch linus/master git bisect good beaec533fc2701a28a4d667f67c9f59c6e4e0d13 # 01:11 G 17 0 0 0 llist: clang: introduce member_address_is_nonnull() # extra tests with first bad commit reverted git bisect good b2e15fc749e625f168f111f702770526d755dbfc # 02:38 G 17 0 10 10 Revert "[media] sir_ir: infinite loop in interrupt handler" # extra tests on tree/branch linux-next/master git bisect good f80addb9cf6c71f1eb8b010dc6a8bf15bb9007e6 # 02:55 G 17 0 0 0 Add linux-next specific files for 20170720 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/lkp Intel Corporation