[ 11.394417][ T208] ip (208) used greatest stack depth: 23312 bytes left [ 11.394432][ T208] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 11.394434][ T208] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 208, name: ip [ 11.394436][ T208] preempt_count: 2, expected: 0 [ 11.394436][ T208] RCU nest depth: 0, expected: 0 [ 11.394438][ T208] locks held by ip/208: 5, last CPU#3: [ 11.394440][ T208] #0: ffffffffb2e167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 11.394451][ T208] #1: ffffffffb2f7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 11.394455][ T208] #2: ffffffffb2f7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 11.394459][ T208] #3: ffffffffb2e9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 11.394463][ T208] #4: ffffffffb2e9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 11.394467][ T208] irq event stamp: 36862 [ 11.394468][ T208] hardirqs last enabled at (36861): [] __down_trylock_console_sem+0x86/0xa0 [ 11.394471][ T208] hardirqs last disabled at (36862): [] console_emit_next_record+0x3d4/0x4c0 [ 11.394473][ T208] softirqs last enabled at (36694): [] handle_softirqs+0x67c/0x900 [ 11.394476][ T208] softirqs last disabled at (36105): [] __irq_exit_rcu+0x145/0x1c0 [ 11.394478][ T208] Preemption disabled at: [ 11.394478][ T208] [<0000000000000000>] 0x0 [ 11.394485][ T208] CPU: 3 UID: 0 PID: 208 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 11.394488][ T208] Tainted: [W]=WARN [ 11.394489][ T208] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 11.394491][ T208] Call Trace: [ 11.394493][ T208] [ 11.394494][ T208] dump_stack_lvl+0x6f/0xa0 [ 11.394501][ T208] __might_resched.cold+0x1fe/0x2c1 [ 11.394506][ T208] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 11.394510][ T208] ? __kmalloc_noprof+0xdb/0x760 [ 11.394514][ T208] __kmalloc_noprof+0x443/0x760 [ 11.394516][ T208] ? alloc_buf.isra.0+0x4b/0x260 [ 11.394522][ T208] ? do_raw_spin_unlock+0x59/0x250 [ 11.394525][ T208] alloc_buf.isra.0+0x4b/0x260 [ 11.394529][ T208] put_chars+0x1e1/0x2f0 [ 11.394531][ T208] ? __send_to_port+0x420/0x420 [ 11.394533][ T208] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 11.394536][ T208] ? validate_chain+0x38b/0xc20 [ 11.394541][ T208] hvc_console_print+0x292/0x780 [ 11.394548][ T208] ? hvc_write+0x3a0/0x3a0 [ 11.394551][ T208] ? rcu_is_watching+0x16/0xd0 [ 11.394553][ T208] ? lock_acquire+0x13c/0x160 [ 11.394557][ T208] console_emit_next_record+0x22f/0x4c0 [ 11.394561][ T208] ? devkmsg_read+0x4b0/0x4b0 [ 11.394563][ T208] ? console_flush_one_record+0x106/0x710 [ 11.394566][ T208] ? rcu_is_watching+0x16/0xd0 [ 11.394567][ T208] ? lock_acquire+0x13c/0x160 [ 11.394571][ T208] console_flush_one_record+0x46f/0x710 [ 11.394575][ T208] ? console_emit_next_record+0x4c0/0x4c0 [ 11.394577][ T208] ? __lock_acquire+0x518/0xc20 [ 11.394582][ T208] console_unlock+0xee/0x1f0 [ 11.394585][ T208] ? console_flush_one_record+0x710/0x710 [ 11.394587][ T208] ? rcu_is_watching+0x16/0xd0 [ 11.394588][ T208] ? lock_acquire+0xe0/0x160 [ 11.394592][ T208] ? __down_trylock_console_sem+0x5e/0xa0 [ 11.394594][ T208] ? vprintk_emit+0x320/0x3e0 [ 11.394597][ T208] vprintk_emit+0x37c/0x3e0 [ 11.394600][ T208] ? wake_up_klogd_work_func+0x90/0x90 [ 11.394603][ T208] ? __lock_acquire+0x518/0xc20 [ 11.394606][ T208] _printk+0xc7/0x100 [ 11.394610][ T208] ? snapshot_read.cold+0x21/0x21 [ 11.394612][ T208] ? do_raw_spin_lock+0x131/0x280 [ 11.394615][ T208] ? __rwlock_init+0x150/0x150 [ 11.394619][ T208] ? do_raw_spin_lock+0x131/0x280 [ 11.394621][ T208] do_exit.cold+0x82/0x9c [ 11.394625][ T208] ? exit_notify+0x890/0x890 [ 11.394626][ T208] ? __lock_release.isra.0+0x69/0x1a0 [ 11.394629][ T208] ? rcu_is_watching+0x16/0xd0 [ 11.394632][ T208] do_group_exit+0xb8/0x370 [ 11.394635][ T208] __x64_sys_exit_group+0x3c/0x50 [ 11.394637][ T208] x64_sys_call+0x1567/0x1570 [ 11.394639][ T208] do_syscall_64+0xff/0x530 [ 11.394643][ T208] ? exc_page_fault+0xee/0x100 [ 11.394646][ T208] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 11.394648][ T208] RIP: 0033:0x7fabf9c6f1b8 [ 11.394650][ T208] Code: Unable to access opcode bytes at 0x7fabf9c6f18e. [ 11.394651][ T208] RSP: 002b:00007ffddc102888 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 11.394654][ T208] RAX: ffffffffffffffda RBX: 00007fabf9d9ff88 RCX: 00007fabf9c6f1b8 [ 11.394655][ T208] RDX: 00007fabf99b9fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 11.394656][ T208] RBP: 00007ffddc1028e0 R08: 0000000000000000 R09: 0000000000000000 [ 11.394657][ T208] R10: 00007ffddc1026a0 R11: 0000000000000246 R12: 0000000000000001 [ 11.394658][ T208] R13: 0000000000000000 R14: 00007fabf9d9e680 R15: 00007fabf9d9ffa0 [ 11.394664][ T208] [ 74.515230][ C0] clocksource: Watchdog remote CPU 3 read timed out [ 74.515417][ C0] [ 74.515420][ C0] ======================================================== [ 74.515427][ C0] WARNING: possible irq lock inversion dependency detected [ 74.515430][ C0] 7.2.0-virtme #1 Tainted: G W [ 74.515432][ C0] -------------------------------------------------------- [ 74.515433][ C0] swapper/0/0 just changed the state of lock: [ 74.515435][ C0] ffffffffb2e9d760 (console_owner){..-.}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 74.515449][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 74.515451][ C0] (fs_reclaim){+.+.}-{0:0} [ 74.515453][ C0] [ 74.515453][ C0] [ 74.515453][ C0] and interrupts could create inverse lock ordering between them. [ 74.515453][ C0] [ 74.515454][ C0] [ 74.515454][ C0] other info that might help us debug this: [ 74.515455][ C0] Possible interrupt unsafe locking scenario: [ 74.515455][ C0] [ 74.515456][ C0] CPU0 CPU1 [ 74.515457][ C0] ---- ---- [ 74.515457][ C0] lock(fs_reclaim); [ 74.515459][ C0] local_irq_disable(); [ 74.515460][ C0] lock(console_owner); [ 74.515461][ C0] lock(fs_reclaim); [ 74.515462][ C0] [ 74.515463][ C0] lock(console_owner); [ 74.515464][ C0] [ 74.515464][ C0] *** DEADLOCK *** [ 74.515464][ C0] [ 74.515465][ C0] locks held by swapper/0/0: 4, last CPU#0: [ 74.515467][ C0] #0: ffa0000000007c90 ((&watchdog_timer)){+.-.}-{0:0}, at: call_timer_fn+0x110/0x4d0 [ 74.515474][ C0] #1: ffffffffb2fe29f8 (watchdog_lock){+.-.}-{3:3}, at: clocksource_watchdog+0x15/0x30 [ 74.515480][ C0] #2: ffffffffb2f7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 74.515484][ C0] #3: ffffffffb2f7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 74.515489][ C0] [ 74.515489][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 74.515496][ C0] -> (fs_reclaim){+.+.}-{0:0} { [ 74.515499][ C0] HARDIRQ-ON-W at: [ 74.515501][ C0] __lock_acquire+0x388/0xc20 [ 74.515505][ C0] lock_acquire.part.0+0xd4/0x280 [ 74.515508][ C0] fs_reclaim_acquire+0xd5/0x120 [ 74.515512][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 74.515514][ C0] kthread_create_worker_on_node+0xea/0x210 [ 74.515518][ C0] workqueue_init+0x2a/0x680 [ 74.515523][ C0] kernel_init_freeable+0x2fe/0x630 [ 74.515527][ C0] kernel_init+0x21/0x150 [ 74.515531][ C0] ret_from_fork+0x474/0x6b0 [ 74.515534][ C0] ret_from_fork_asm+0x11/0x20 [ 74.515538][ C0] SOFTIRQ-ON-W at: [ 74.515539][ C0] __lock_acquire+0x388/0xc20 [ 74.515542][ C0] lock_acquire.part.0+0xd4/0x280 [ 74.515544][ C0] fs_reclaim_acquire+0xd5/0x120 [ 74.515546][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 74.515547][ C0] kthread_create_worker_on_node+0xea/0x210 [ 74.515549][ C0] workqueue_init+0x2a/0x680 [ 74.515551][ C0] kernel_init_freeable+0x2fe/0x630 [ 74.515554][ C0] kernel_init+0x21/0x150 [ 74.515556][ C0] ret_from_fork+0x474/0x6b0 [ 74.515558][ C0] ret_from_fork_asm+0x11/0x20 [ 74.515560][ C0] INITIAL USE at: [ 74.515561][ C0] __lock_acquire+0x388/0xc20 [ 74.515563][ C0] lock_acquire.part.0+0xd4/0x280 [ 74.515565][ C0] fs_reclaim_acquire+0xd5/0x120 [ 74.515567][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 74.515569][ C0] kthread_create_worker_on_node+0xea/0x210 [ 74.515571][ C0] workqueue_init+0x2a/0x680 [ 74.515573][ C0] kernel_init_freeable+0x2fe/0x630 [ 74.515575][ C0] kernel_init+0x21/0x150 [ 74.515577][ C0] ret_from_fork+0x474/0x6b0 [ 74.515579][ C0] ret_from_fork_asm+0x11/0x20 [ 74.515581][ C0] } [ 74.515582][ C0] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 74.515586][ C0] ... acquired at: [ 74.515587][ C0] __lock_acquire+0x518/0xc20 [ 74.515589][ C0] lock_acquire.part.0+0xd4/0x280 [ 74.515591][ C0] fs_reclaim_acquire+0xd5/0x120 [ 74.515593][ C0] __kmalloc_noprof+0xd3/0x760 [ 74.515595][ C0] alloc_buf.isra.0+0x4b/0x260 [ 74.515599][ C0] put_chars+0x1e1/0x2f0 [ 74.515600][ C0] hvc_console_print+0x292/0x780 [ 74.515604][ C0] console_emit_next_record+0x22f/0x4c0 [ 74.515606][ C0] console_flush_one_record+0x46f/0x710 [ 74.515608][ C0] console_unlock+0xee/0x1f0 [ 74.515611][ C0] vprintk_emit+0x37c/0x3e0 [ 74.515612][ C0] _printk+0xc7/0x100 [ 74.515616][ C0] tun_init+0x24/0xb0 [ 74.515619][ C0] do_one_initcall+0x124/0x4f0 [ 74.515621][ C0] kernel_init_freeable+0x596/0x630 [ 74.515623][ C0] kernel_init+0x21/0x150 [ 74.515625][ C0] ret_from_fork+0x474/0x6b0 [ 74.515627][ C0] ret_from_fork_asm+0x11/0x20 [ 74.515629][ C0] [ 74.515629][ C0] -> (console_owner){..-.}-{0:0} { [ 74.515632][ C0] IN-SOFTIRQ-W at: [ 74.515633][ C0] __lock_acquire+0x388/0xc20 [ 74.515635][ C0] lock_acquire.part.0+0xd4/0x280 [ 74.515637][ C0] console_lock_spinning_enable+0x5c/0x60 [ 74.515640][ C0] console_emit_next_record+0x1d1/0x4c0 [ 74.515642][ C0] console_flush_one_record+0x46f/0x710 [ 74.515644][ C0] console_unlock+0xee/0x1f0 [ 74.515647][ C0] vprintk_emit+0x37c/0x3e0 [ 74.515648][ C0] _printk+0xc7/0x100 [ 74.515650][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 74.515653][ C0] call_timer_fn+0x160/0x4d0 [ 74.515655][ C0] __run_timers+0x68f/0xaa0 [ 74.515658][ C0] run_timer_softirq+0xf0/0x160 [ 74.515660][ C0] handle_softirqs+0x1d3/0x900 [ 74.515663][ C0] __irq_exit_rcu+0x145/0x1c0 [ 74.515665][ C0] irq_exit_rcu+0xe/0x30 [ 74.515667][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 74.515669][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 74.515671][ C0] pv_native_safe_halt+0xf/0x10 [ 74.515673][ C0] default_idle+0x9/0x10 [ 74.515675][ C0] default_idle_call+0x6e/0xb0 [ 74.515677][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 74.515680][ C0] do_idle+0xd8/0x190 [ 74.515682][ C0] cpu_startup_entry+0x53/0x70 [ 74.515684][ C0] rest_init+0x279/0x280 [ 74.515686][ C0] start_kernel+0x3b9/0x3c0 [ 74.515688][ C0] x86_64_start_reservations+0x24/0x30 [ 74.515690][ C0] x86_64_start_kernel+0x12b/0x130 [ 74.515692][ C0] common_startup_64+0x13e/0x148 [ 74.515696][ C0] INITIAL USE at: [ 74.515697][ C0] } [ 74.515698][ C0] ... key at: [] console_owner_dep_map+0x0/0x60 [ 74.515701][ C0] ... acquired at: [ 74.515701][ C0] mark_lock+0x1d7/0xa00 [ 74.515703][ C0] mark_usage+0x42/0x170 [ 74.515705][ C0] __lock_acquire+0x388/0xc20 [ 74.515707][ C0] lock_acquire.part.0+0xd4/0x280 [ 74.515709][ C0] console_lock_spinning_enable+0x5c/0x60 [ 74.515711][ C0] console_emit_next_record+0x1d1/0x4c0 [ 74.515713][ C0] console_flush_one_record+0x46f/0x710 [ 74.515716][ C0] console_unlock+0xee/0x1f0 [ 74.515718][ C0] vprintk_emit+0x37c/0x3e0 [ 74.515719][ C0] _printk+0xc7/0x100 [ 74.515721][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 74.515723][ C0] call_timer_fn+0x160/0x4d0 [ 74.515725][ C0] __run_timers+0x68f/0xaa0 [ 74.515727][ C0] run_timer_softirq+0xf0/0x160 [ 74.515729][ C0] handle_softirqs+0x1d3/0x900 [ 74.515731][ C0] __irq_exit_rcu+0x145/0x1c0 [ 74.515732][ C0] irq_exit_rcu+0xe/0x30 [ 74.515734][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 74.515736][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 74.515738][ C0] pv_native_safe_halt+0xf/0x10 [ 74.515739][ C0] default_idle+0x9/0x10 [ 74.515741][ C0] default_idle_call+0x6e/0xb0 [ 74.515743][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 74.515745][ C0] do_idle+0xd8/0x190 [ 74.515747][ C0] cpu_startup_entry+0x53/0x70 [ 74.515749][ C0] rest_init+0x279/0x280 [ 74.515750][ C0] start_kernel+0x3b9/0x3c0 [ 74.515752][ C0] x86_64_start_reservations+0x24/0x30 [ 74.515754][ C0] x86_64_start_kernel+0x12b/0x130 [ 74.515756][ C0] common_startup_64+0x13e/0x148 [ 74.515758][ C0] [ 74.515759][ C0] [ 74.515759][ C0] stack backtrace: [ 74.515762][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 74.515767][ C0] Tainted: [W]=WARN [ 74.515768][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 74.515770][ C0] Call Trace: [ 74.515771][ C0] [ 74.515773][ C0] dump_stack_lvl+0x6f/0xa0 [ 74.515778][ C0] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 74.515782][ C0] mark_lock_irq+0x989/0x9c0 [ 74.515784][ C0] ? add_lock_to_list+0x2c/0x1a0 [ 74.515789][ C0] mark_lock+0x1d7/0xa00 [ 74.515792][ C0] mark_usage+0x42/0x170 [ 74.515794][ C0] __lock_acquire+0x388/0xc20 [ 74.515798][ C0] lock_acquire.part.0+0xd4/0x280 [ 74.515800][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 74.515803][ C0] ? rcu_is_watching+0x16/0xd0 [ 74.515806][ C0] ? lock_acquire+0x13c/0x160 [ 74.515810][ C0] console_lock_spinning_enable+0x5c/0x60 [ 74.515812][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 74.515815][ C0] console_emit_next_record+0x1d1/0x4c0 [ 74.515818][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 74.515820][ C0] ? console_flush_one_record+0x106/0x710 [ 74.515823][ C0] ? rcu_is_watching+0x16/0xd0 [ 74.515825][ C0] ? lock_acquire+0x13c/0x160 [ 74.515828][ C0] console_flush_one_record+0x46f/0x710 [ 74.515832][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 74.515834][ C0] ? __lock_acquire+0x518/0xc20 [ 74.515838][ C0] console_unlock+0xee/0x1f0 [ 74.515841][ C0] ? console_flush_one_record+0x710/0x710 [ 74.515843][ C0] ? rcu_is_watching+0x16/0xd0 [ 74.515845][ C0] ? lock_acquire+0xe0/0x160 [ 74.515848][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 74.515850][ C0] ? vprintk_emit+0x320/0x3e0 [ 74.515853][ C0] vprintk_emit+0x37c/0x3e0 [ 74.515855][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 74.515858][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 74.515861][ C0] _printk+0xc7/0x100 [ 74.515863][ C0] ? snapshot_read.cold+0x21/0x21 [ 74.515866][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 74.515868][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 74.515872][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 74.515874][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 74.515877][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 74.515879][ C0] call_timer_fn+0x160/0x4d0 [ 74.515882][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 74.515885][ C0] ? debug_object_active_state+0x430/0x430 [ 74.515888][ C0] ? find_held_lock+0x2b/0x80 [ 74.515891][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 74.515893][ C0] ? rcu_is_watching+0x16/0xd0 [ 74.515896][ C0] __run_timers+0x68f/0xaa0 [ 74.515898][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 74.515902][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 74.515904][ C0] ? __lock_acquire+0x518/0xc20 [ 74.515909][ C0] ? __rwlock_init+0x150/0x150 [ 74.515913][ C0] run_timer_softirq+0xf0/0x160 [ 74.515916][ C0] ? __run_timers+0xaa0/0xaa0 [ 74.515918][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 74.515922][ C0] ? rcu_is_watching+0x16/0xd0 [ 74.515924][ C0] handle_softirqs+0x1d3/0x900 [ 74.515927][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 74.515929][ C0] ? _local_bh_enable+0xc0/0xc0 [ 74.515933][ C0] __irq_exit_rcu+0x145/0x1c0 [ 74.515935][ C0] irq_exit_rcu+0xe/0x30 [ 74.515937][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 74.515940][ C0] [ 74.515941][ C0] [ 74.515941][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 74.515944][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 74.515947][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 74.515950][ C0] Code: 48 8b 3d 94 82 68 02 e8 1f 00 00 00 48 2b 05 58 d3 a0 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 06 0e 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01 [ 74.515952][ C0] RSP: 0018:ffffffffb2c07cf8 EFLAGS: 00000296 [ 74.515955][ C0] RAX: 000000000017c04b RBX: ffffffffb2c30600 RCX: ffffffffaf306247 [ 74.515957][ C0] RDX: ffffffffb2c30600 RSI: ffffffffb2511011 RDI: ffffffffb1e949e0 [ 74.515958][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 74.515960][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff6580fa2 [ 74.515961][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 74.515963][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 74.515967][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 74.515968][ C0] default_idle+0x9/0x10 [ 74.515971][ C0] default_idle_call+0x6e/0xb0 [ 74.515973][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 74.515976][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 74.515978][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 74.515982][ C0] ? rcu_is_watching+0x16/0xd0 [ 74.515984][ C0] do_idle+0xd8/0x190 [ 74.515986][ C0] cpu_startup_entry+0x53/0x70 [ 74.515989][ C0] rest_init+0x279/0x280 [ 74.515991][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 74.515995][ C0] ? rest_init+0x280/0x280 [ 74.515998][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 74.516002][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 74.516004][ C0] ? acpi_enable+0x1e4/0x330 [ 74.516007][ C0] start_kernel+0x3b9/0x3c0 [ 74.516010][ C0] x86_64_start_reservations+0x24/0x30 [ 74.516013][ C0] x86_64_start_kernel+0x12b/0x130 [ 74.516015][ C0] common_startup_64+0x13e/0x148 [ 74.516020][ C0] [ 74.516026][ C0] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 74.516028][ C0] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 0, name: swapper/0 [ 74.516030][ C0] preempt_count: 103, expected: 0 [ 74.516031][ C0] RCU nest depth: 0, expected: 0 [ 74.516032][ C0] INFO: lockdep is turned off. [ 74.516033][ C0] irq event stamp: 1556571 [ 74.516034][ C0] hardirqs last enabled at (1556570): [] __down_trylock_console_sem+0x86/0xa0 [ 74.516037][ C0] hardirqs last disabled at (1556571): [] console_emit_next_record+0x3d4/0x4c0 [ 74.516040][ C0] softirqs last enabled at (1556550): [] handle_softirqs+0x67c/0x900 [ 74.516042][ C0] softirqs last disabled at (1556557): [] __irq_exit_rcu+0x145/0x1c0 [ 74.516045][ C0] Preemption disabled at: [ 74.516045][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 74.516050][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 74.516053][ C0] Tainted: [W]=WARN [ 74.516054][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 74.516055][ C0] Call Trace: [ 74.516056][ C0] [ 74.516057][ C0] dump_stack_lvl+0x6f/0xa0 [ 74.516065][ C0] ? schedule_preempt_disabled+0x22/0x30 [ 74.516068][ C0] __might_resched.cold+0x1fe/0x2c1 [ 74.516071][ C0] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 74.516075][ C0] ? rcu_is_watching+0x16/0xd0 [ 74.516078][ C0] __kmalloc_noprof+0x443/0x760 [ 74.516080][ C0] ? __rwlock_init+0x150/0x150 [ 74.516082][ C0] ? alloc_buf.isra.0+0x4b/0x260 [ 74.516087][ C0] ? do_raw_spin_unlock+0x59/0x250 [ 74.516089][ C0] alloc_buf.isra.0+0x4b/0x260 [ 74.516093][ C0] put_chars+0x1e1/0x2f0 [ 74.516096][ C0] ? __send_to_port+0x420/0x420 [ 74.516099][ C0] ? mark_lock+0x1d7/0xa00 [ 74.516102][ C0] hvc_console_print+0x292/0x780 [ 74.516107][ C0] ? hvc_write+0x3a0/0x3a0 [ 74.516110][ C0] ? rcu_is_watching+0x16/0xd0 [ 74.516111][ C0] ? rcu_is_watching+0x16/0xd0 [ 74.516114][ C0] console_emit_next_record+0x22f/0x4c0 [ 74.516118][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 74.516120][ C0] ? console_flush_one_record+0x106/0x710 [ 74.516123][ C0] ? rcu_is_watching+0x16/0xd0 [ 74.516125][ C0] ? lock_acquire+0x13c/0x160 [ 74.516128][ C0] console_flush_one_record+0x46f/0x710 [ 74.516132][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 74.516134][ C0] ? __lock_acquire+0x518/0xc20 [ 74.516138][ C0] console_unlock+0xee/0x1f0 [ 74.516141][ C0] ? console_flush_one_record+0x710/0x710 [ 74.516143][ C0] ? rcu_is_watching+0x16/0xd0 [ 74.516145][ C0] ? lock_acquire+0xe0/0x160 [ 74.516148][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 74.516150][ C0] ? vprintk_emit+0x320/0x3e0 [ 74.516152][ C0] vprintk_emit+0x37c/0x3e0 [ 74.516155][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 74.516157][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 74.516160][ C0] _printk+0xc7/0x100 [ 74.516162][ C0] ? snapshot_read.cold+0x21/0x21 [ 74.516165][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 74.516167][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 74.516171][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 74.516173][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 74.516176][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 74.516178][ C0] call_timer_fn+0x160/0x4d0 [ 74.516181][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 74.516184][ C0] ? debug_object_active_state+0x430/0x430 [ 74.516186][ C0] ? find_held_lock+0x2b/0x80 [ 74.516188][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 74.516191][ C0] ? rcu_is_watching+0x16/0xd0 [ 74.516193][ C0] __run_timers+0x68f/0xaa0 [ 74.516196][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 74.516199][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 74.516202][ C0] ? __lock_acquire+0x518/0xc20 [ 74.516206][ C0] ? __rwlock_init+0x150/0x150 [ 74.516209][ C0] run_timer_softirq+0xf0/0x160 [ 74.516212][ C0] ? __run_timers+0xaa0/0xaa0 [ 74.516215][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 74.516217][ C0] ? rcu_is_watching+0x16/0xd0 [ 74.516219][ C0] handle_softirqs+0x1d3/0x900 [ 74.516222][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 74.516224][ C0] ? _local_bh_enable+0xc0/0xc0 [ 74.516227][ C0] __irq_exit_rcu+0x145/0x1c0 [ 74.516229][ C0] irq_exit_rcu+0xe/0x30 [ 74.516231][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 74.516234][ C0] [ 74.516234][ C0] [ 74.516235][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 74.516238][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 74.516240][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 74.516242][ C0] Code: 48 8b 3d 94 82 68 02 e8 1f 00 00 00 48 2b 05 58 d3 a0 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 06 0e 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01 [ 74.516244][ C0] RSP: 0018:ffffffffb2c07cf8 EFLAGS: 00000296 [ 74.516246][ C0] RAX: 000000000017c04b RBX: ffffffffb2c30600 RCX: ffffffffaf306247 [ 74.516247][ C0] RDX: ffffffffb2c30600 RSI: ffffffffb2511011 RDI: ffffffffb1e949e0 [ 74.516248][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 74.516249][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff6580fa2 [ 74.516250][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 74.516253][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 74.516256][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 74.516258][ C0] default_idle+0x9/0x10 [ 74.516260][ C0] default_idle_call+0x6e/0xb0 [ 74.516262][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 74.516265][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 74.516267][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 74.516270][ C0] ? rcu_is_watching+0x16/0xd0 [ 74.516272][ C0] do_idle+0xd8/0x190 [ 74.516274][ C0] cpu_startup_entry+0x53/0x70 [ 74.516277][ C0] rest_init+0x279/0x280 [ 74.516279][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 74.516283][ C0] ? rest_init+0x280/0x280 [ 74.516285][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 74.516288][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 74.516290][ C0] ? acpi_enable+0x1e4/0x330 [ 74.516292][ C0] start_kernel+0x3b9/0x3c0 [ 74.516295][ C0] x86_64_start_reservations+0x24/0x30 [ 74.516298][ C0] x86_64_start_kernel+0x12b/0x130 [ 74.516300][ C0] common_startup_64+0x13e/0x148 [ 74.516305][ C0]