====================================== | make: Leaving directory '/home/virtme/testing-4/tools/testing/selftests' | xx__-> echo $? | 0 | xx__-> [ 1760.592502][ C3] irq 4: nobody cared (try booting with the "irqpoll" option) [ 1760.593188][ C3] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.3-0-ga6ed6b701f0a-prebuilt.qemu.org 04/01/2014 [ 1760.593611][ C3] Call Trace: [ 1760.593755][ C3] [ 1760.593855][ C3] dump_stack_lvl (lib/dump_stack.c:122) [ 1760.594057][ C3] __report_bad_irq (kernel/irq/spurious.c:214) [ 1760.594246][ C3] note_interrupt (kernel/irq/spurious.c:423) [ 1760.594441][ C3] handle_irq_event (kernel/irq/handle.c:198 kernel/irq/handle.c:210) [ 1760.594631][ C3] handle_edge_irq (kernel/irq/chip.c:833) [ 1760.594825][ C3] __common_interrupt (./include/linux/irqdesc.h:173 arch/x86/kernel/irq.c:247 arch/x86/kernel/irq.c:259 arch/x86/kernel/irq.c:285) [ 1760.595013][ C3] common_interrupt (arch/x86/kernel/irq.c:278 (discriminator 14)) [ 1760.595199][ C3] [ 1760.595297][ C3] [ 1760.595392][ C3] asm_common_interrupt (./arch/x86/include/asm/idtentry.h:693) [ 1760.595576][ C3] RIP: 0010:_raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:152 kernel/locking/spinlock.c:194) [ 1760.595832][ C3] Code: 10 e8 b1 20 8f fd 48 89 ef e8 59 91 8f fd 81 e3 00 02 00 00 75 1d 9c 58 f6 c4 02 75 29 48 85 db 74 01 fb 65 ff 0d f5 5c a3 44 <74> 0e 5b 5d c3 cc cc cc cc e8 6f 48 b3 fd eb dc 0f 1f 44 00 00 5b All code ======== 0: 10 e8 adc %ch,%al 2: b1 20 mov $0x20,%cl 4: 8f (bad) 5: fd std 6: 48 89 ef mov %rbp,%rdi 9: e8 59 91 8f fd call 0xfffffffffd8f9167 e: 81 e3 00 02 00 00 and $0x200,%ebx 14: 75 1d jne 0x33 16: 9c pushf 17: 58 pop %rax 18: f6 c4 02 test $0x2,%ah 1b: 75 29 jne 0x46 1d: 48 85 db test %rbx,%rbx 20: 74 01 je 0x23 22: fb sti 23: 65 ff 0d f5 5c a3 44 decl %gs:0x44a35cf5(%rip) # 0x44a35d1f 2a:* 74 0e je 0x3a <-- trapping instruction 2c: 5b pop %rbx 2d: 5d pop %rbp 2e: c3 ret 2f: cc int3 30: cc int3 31: cc int3 32: cc int3 33: e8 6f 48 b3 fd call 0xfffffffffdb348a7 38: eb dc jmp 0x16 3a: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 3f: 5b pop %rbx Code starting with the faulting instruction =========================================== 0: 74 0e je 0x10 2: 5b pop %rbx 3: 5d pop %rbp 4: c3 ret 5: cc int3 6: cc int3 7: cc int3 8: cc int3 9: e8 6f 48 b3 fd call 0xfffffffffdb3487d e: eb dc jmp 0xffffffffffffffec 10: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1) 15: 5b pop %rbx [ 1760.596479][ C3] RSP: 0018:ffffc9000141fab8 EFLAGS: 00000286 [ 1760.596718][ C3] RAX: 0000000000000006 RBX: 0000000000000200 RCX: 1ffffffff7d36807 [ 1760.596994][ C3] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffffffbb606ba1 [ 1760.597282][ C3] RBP: ffffffffbf275220 R08: 0000000000000001 R09: fffffbfff7d31918 [ 1760.597563][ C3] R10: ffffffffbe98c8c7 R11: 0000000000000000 R12: ffffffffbf275328 [ 1760.597839][ C3] R13: ffff8880054c6400 R14: ffffffffbf275220 R15: 0000000000000282 [ 1760.598122][ C3] ? _raw_spin_unlock_irqrestore (./include/linux/spinlock_api_smp.h:151 kernel/locking/spinlock.c:194) [ 1760.598366][ C3] uart_write (drivers/tty/serial/serial_core.c:74 drivers/tty/serial/serial_core.c:634) [ 1760.598510][ C3] process_output_block (drivers/tty/n_tty.c:574) [ 1760.598717][ C3] ? lockdep_hardirqs_on_prepare (kernel/locking/lockdep.c:4299 kernel/locking/lockdep.c:4358) [ 1760.598963][ C3] n_tty_write (drivers/tty/n_tty.c:2390) [ 1760.599164][ C3] ? __pfx_n_tty_write (drivers/tty/n_tty.c:2360) [ 1760.599350][ C3] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 1760.599537][ C3] ? __pfx_woken_wake_function (kernel/sched/wait.c:439) [ 1760.599740][ C3] ? iterate_tty_write (drivers/tty/tty_io.c:954 drivers/tty/tty_io.c:973) [ 1760.599930][ C3] ? lock_acquire (kernel/locking/lockdep.c:5732) [ 1760.600119][ C3] ? iterate_tty_write (drivers/tty/tty_io.c:954 drivers/tty/tty_io.c:973) [ 1760.600308][ C3] iterate_tty_write (drivers/tty/tty_io.c:1021) [ 1760.600498][ C3] ? tty_ldisc_ref_wait (drivers/tty/tty_ldisc.c:244) [ 1760.600687][ C3] file_tty_write.constprop.0 (drivers/tty/tty_io.c:1096) [ 1760.600872][ C3] vfs_write (fs/read_write.c:497 fs/read_write.c:590) [ 1760.601013][ C3] ? __pfx___lock_release (kernel/locking/lockdep.c:5411) [ 1760.601194][ C3] ? trace_lock_acquire (./include/trace/events/lock.h:24 (discriminator 52)) [ 1760.601408][ C3] ? __might_fault (mm/memory.c:6387 mm/memory.c:6380) [ 1760.601567][ C3] ? lock_acquire (kernel/locking/lockdep.c:5732) [ 1760.601749][ C3] ? __pfx_vfs_write (fs/read_write.c:571) [ 1760.601908][ C3] ? __might_fault (mm/memory.c:6387 mm/memory.c:6380) [ 1760.602079][ C3] ? __rseq_handle_notify_resume (kernel/rseq.c:316) [ 1760.602279][ C3] ? __fget_light (./include/linux/atomic/atomic-arch-fallback.h:479 ./include/linux/atomic/atomic-instrumented.h:50 fs/file.c:1141) [ 1760.602440][ C3] ksys_write (fs/read_write.c:643) [ 1760.602558][ C3] ? __pfx_ksys_write (fs/read_write.c:633) [ 1760.602729][ C3] do_syscall_64 (arch/x86/entry/common.c:52 arch/x86/entry/common.c:83) [ 1760.602904][ C3] entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:130) [ 1760.603108][ C3] RIP: 0033:0x7efc765b6957 [ 1760.603273][ C3] Code: 0b 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 48 89 54 24 18 48 89 74 24 All code ======== 0: 0b 00 or (%rax),%eax 2: f7 d8 neg %eax 4: 64 89 02 mov %eax,%fs:(%rdx) 7: 48 c7 c0 ff ff ff ff mov $0xffffffffffffffff,%rax e: eb b7 jmp 0xffffffffffffffc7 10: 0f 1f 00 nopl (%rax) 13: f3 0f 1e fa endbr64 17: 64 8b 04 25 18 00 00 mov %fs:0x18,%eax 1e: 00 1f: 85 c0 test %eax,%eax 21: 75 10 jne 0x33 23: b8 01 00 00 00 mov $0x1,%eax 28: 0f 05 syscall 2a:* 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax <-- trapping instruction 30: 77 51 ja 0x83 32: c3 ret 33: 48 83 ec 28 sub $0x28,%rsp 37: 48 89 54 24 18 mov %rdx,0x18(%rsp) 3c: 48 rex.W 3d: 89 .byte 0x89 3e: 74 24 je 0x64 Code starting with the faulting instruction =========================================== 0: 48 3d 00 f0 ff ff cmp $0xfffffffffffff000,%rax 6: 77 51 ja 0x59 8: c3 ret 9: 48 83 ec 28 sub $0x28,%rsp d: 48 89 54 24 18 mov %rdx,0x18(%rsp) 12: 48 rex.W 13: 89 .byte 0x89 14: 74 24 je 0x3a [ 1760.603845][ C3] RSP: 002b:00007ffd5068c368 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 [ 1760.604097][ C3] RAX: ffffffffffffffda RBX: 000056378a7f12b0 RCX: 00007efc765b6957 [ 1760.604371][ C3] RDX: 0000000000000001 RSI: 000056378a7f12b0 RDI: 0000000000000001 [ 1760.604600][ C3] RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000002000 [ 1760.604828][ C3] R10: 0000000000000001 R11: 0000000000000246 R12: 000056378a7dc5e0 Finger prints: __report_bad_irq:note_interrupt:handle_irq_event:handle_edge_irq:__common_interrupt