------------[ cut here ]------------ WARNING: CPU: 0 PID: 0 at kernel/events/core.c:1691 perf_group_attach kernel/events/core.c:1691 [inline] WARNING: CPU: 0 PID: 0 at kernel/events/core.c:1691 add_event_to_ctx+0x84a/0xa70 kernel/events/core.c:2292 Kernel panic - not syncing: panic_on_warn set ... CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.14.154+ #0 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0xe5/0x154 lib/dump_stack.c:58 panic+0x1f1/0x3da kernel/panic.c:183 __warn.cold+0x2f/0x33 kernel/panic.c:547 report_bug+0x20a/0x248 lib/bug.c:186 fixup_bug arch/x86/kernel/traps.c:177 [inline] fixup_bug arch/x86/kernel/traps.c:172 [inline] do_error_trap+0x1bf/0x2d0 arch/x86/kernel/traps.c:295 invalid_op+0x18/0x40 arch/x86/entry/entry_64.S:963 RIP: 0010:perf_group_attach kernel/events/core.c:1691 [inline] RIP: 0010:add_event_to_ctx+0x84a/0xa70 kernel/events/core.c:2292 RSP: 0018:ffff8881dba07ec8 EFLAGS: 00010006 RAX: ffffffffa9a30d40 RBX: ffff8881abd7aa80 RCX: 1ffff1103b745b1f RDX: 0000000000010000 RSI: 00000000ffffffff RDI: ffff8881abd7ac88 RBP: ffff8881a9800880 R08: 0000000000001aeb R09: ffffed103b745b02 R10: ffffed103b745b01 R11: ffff8881dba2d80b R12: ffff8881dba30fc0 R13: ffff8881a980090c R14: ffff8881dba2d8f0 R15: ffff8881dba2d8f0 __perf_install_in_context+0x241/0x2f0 kernel/events/core.c:2439 remote_function kernel/events/core.c:87 [inline] remote_function+0x110/0x190 kernel/events/core.c:67 flush_smp_call_function_queue+0xae/0x320 kernel/smp.c:243 smp_call_function_single_interrupt+0xc7/0x530 arch/x86/kernel/smp.c:304 call_function_single_interrupt+0x8c/0xa0 arch/x86/entry/entry_64.S:814 RIP: 0010:__raw_spin_unlock_irq include/linux/spinlock_api_smp.h:169 [inline] RIP: 0010:_raw_spin_unlock_irq+0x2b/0x50 kernel/locking/spinlock.c:200 RSP: 0018:ffffffffa9a07c18 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff04 RAX: 0000000000000007 RBX: 0000000000000001 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffffffffa9a3156c RBP: ffff8881dba29240 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8881dba29240 R13: ffff8881abb51780 R14: 0000000000000000 R15: ffffffffa9a30d40 finish_lock_switch kernel/sched/sched.h:1487 [inline] finish_task_switch+0x204/0x660 kernel/sched/core.c:2734 context_switch kernel/sched/core.c:2870 [inline] __schedule+0x894/0x1f80 kernel/sched/core.c:3455 schedule_idle+0x58/0x80 kernel/sched/core.c:3526 do_idle+0x22a/0x390 kernel/sched/idle.c:292 cpu_startup_entry+0xc6/0xd0 kernel/sched/idle.c:374 start_kernel+0x858/0x890 init/main.c:733 secondary_startup_64+0xa5/0xb0 arch/x86/kernel/head_64.S:240 Kernel Offset: 0x26600000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) Rebooting in 86400 seconds..