[ 10.523135][ T186] ip (186) used greatest stack depth: 23712 bytes left [ 10.523154][ T186] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.523156][ T186] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 186, name: ip [ 10.523158][ T186] preempt_count: 2, expected: 0 [ 10.523159][ T186] RCU nest depth: 0, expected: 0 [ 10.523160][ T186] locks held by ip/186: 5, last CPU#3: [ 10.523162][ T186] #0: ffffffffbd0027b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.523177][ T186] #1: ffffffffbd169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.523183][ T186] #2: ffffffffbd169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.523187][ T186] #3: ffffffffbd089660 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.523191][ T186] #4: ffffffffbd089560 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.523195][ T186] irq event stamp: 35872 [ 10.523195][ T186] hardirqs last enabled at (35871): [] __down_trylock_console_sem+0x86/0xa0 [ 10.523198][ T186] hardirqs last disabled at (35872): [] console_emit_next_record+0x3d4/0x4c0 [ 10.523200][ T186] softirqs last enabled at (34606): [] netlink_release+0x17b/0xcf0 [ 10.523204][ T186] softirqs last disabled at (34604): [] netlink_release+0xd2/0xcf0 [ 10.523206][ T186] Preemption disabled at: [ 10.523207][ T186] [<0000000000000000>] 0x0 [ 10.523215][ T186] CPU: 3 UID: 0 PID: 186 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.523218][ T186] Tainted: [W]=WARN [ 10.523219][ T186] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.523221][ T186] Call Trace: [ 10.523222][ T186] [ 10.523224][ T186] dump_stack_lvl+0x6f/0xa0 [ 10.523230][ T186] __might_resched.cold+0x1fe/0x2c1 [ 10.523235][ T186] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.523239][ T186] ? __kmalloc_noprof+0xdb/0x760 [ 10.523244][ T186] __kmalloc_noprof+0x443/0x760 [ 10.523247][ T186] ? alloc_buf.isra.0+0x4b/0x260 [ 10.523252][ T186] ? do_raw_spin_unlock+0x59/0x250 [ 10.523255][ T186] alloc_buf.isra.0+0x4b/0x260 [ 10.523259][ T186] put_chars+0x1e1/0x2f0 [ 10.523262][ T186] ? __send_to_port+0x420/0x420 [ 10.523263][ T186] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.523268][ T186] ? validate_chain+0x38b/0xc20 [ 10.523273][ T186] hvc_console_print+0x292/0x780 [ 10.523279][ T186] ? hvc_write+0x3a0/0x3a0 [ 10.523282][ T186] ? rcu_is_watching+0x16/0xd0 [ 10.523284][ T186] ? lock_acquire+0x13c/0x160 [ 10.523288][ T186] console_emit_next_record+0x22f/0x4c0 [ 10.523292][ T186] ? devkmsg_read+0x4b0/0x4b0 [ 10.523294][ T186] ? console_flush_one_record+0x106/0x710 [ 10.523297][ T186] ? rcu_is_watching+0x16/0xd0 [ 10.523300][ T186] ? lock_acquire+0x13c/0x160 [ 10.523304][ T186] console_flush_one_record+0x46f/0x710 [ 10.523308][ T186] ? console_emit_next_record+0x4c0/0x4c0 [ 10.523310][ T186] ? __lock_acquire+0x518/0xc20 [ 10.523315][ T186] console_unlock+0xee/0x1f0 [ 10.523318][ T186] ? console_flush_one_record+0x710/0x710 [ 10.523320][ T186] ? rcu_is_watching+0x16/0xd0 [ 10.523322][ T186] ? lock_acquire+0x60/0x160 [ 10.523326][ T186] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.523327][ T186] ? vprintk_emit+0x320/0x3e0 [ 10.523331][ T186] vprintk_emit+0x37c/0x3e0 [ 10.523334][ T186] ? wake_up_klogd_work_func+0x90/0x90 [ 10.523338][ T186] ? __lock_acquire+0x518/0xc20 [ 10.523342][ T186] _printk+0xc7/0x100 [ 10.523345][ T186] ? snapshot_read.cold+0x21/0x21 [ 10.523348][ T186] ? do_raw_spin_lock+0x131/0x280 [ 10.523351][ T186] ? __rwlock_init+0x150/0x150 [ 10.523355][ T186] ? do_raw_spin_lock+0x131/0x280 [ 10.523358][ T186] do_exit.cold+0x82/0x9c [ 10.523361][ T186] ? exit_notify+0x890/0x890 [ 10.523363][ T186] ? __lock_release.isra.0+0x69/0x1a0 [ 10.523366][ T186] ? rcu_is_watching+0x16/0xd0 [ 10.523370][ T186] do_group_exit+0xb8/0x370 [ 10.523373][ T186] __x64_sys_exit_group+0x3c/0x50 [ 10.523375][ T186] x64_sys_call+0x1567/0x1570 [ 10.523377][ T186] do_syscall_64+0xff/0x530 [ 10.523380][ T186] ? exc_page_fault+0xee/0x100 [ 10.523383][ T186] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.523385][ T186] RIP: 0033:0x7f178d0901b8 [ 10.523388][ T186] Code: Unable to access opcode bytes at 0x7f178d09018e. [ 10.523389][ T186] RSP: 002b:00007ffed9701778 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.523392][ T186] RAX: ffffffffffffffda RBX: 00007f178d1c0f88 RCX: 00007f178d0901b8 [ 10.523393][ T186] RDX: 00007f178cddafc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.523394][ T186] RBP: 00007ffed97017d0 R08: 0000000000000000 R09: 0000000000008010 [ 10.523395][ T186] R10: 00007ffed9701590 R11: 0000000000000246 R12: 0000000000000001 [ 10.523395][ T186] R13: 0000000000000000 R14: 00007f178d1bf680 R15: 00007f178d1c0fa0 [ 10.523403][ T186] [ 29.898287][ C0] clocksource: Watchdog remote CPU 2 read timed out [ 29.898472][ C0] [ 29.898474][ C0] ======================================================== [ 29.898475][ C0] WARNING: possible irq lock inversion dependency detected [ 29.898477][ C0] 7.2.0-virtme #1 Tainted: G W [ 29.898479][ C0] -------------------------------------------------------- [ 29.898479][ C0] swapper/0/0 just changed the state of lock: [ 29.898480][ C0] ffffffffbd089660 (console_owner){..-.}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 29.898493][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 29.898494][ C0] (fs_reclaim){+.+.}-{0:0} [ 29.898496][ C0] [ 29.898496][ C0] [ 29.898496][ C0] and interrupts could create inverse lock ordering between them. [ 29.898496][ C0] [ 29.898496][ C0] [ 29.898496][ C0] other info that might help us debug this: [ 29.898497][ C0] Possible interrupt unsafe locking scenario: [ 29.898497][ C0] [ 29.898498][ C0] CPU0 CPU1 [ 29.898498][ C0] ---- ---- [ 29.898498][ C0] lock(fs_reclaim); [ 29.898500][ C0] local_irq_disable(); [ 29.898500][ C0] lock(console_owner); [ 29.898501][ C0] lock(fs_reclaim); [ 29.898502][ C0] [ 29.898502][ C0] lock(console_owner); [ 29.898503][ C0] [ 29.898503][ C0] *** DEADLOCK *** [ 29.898503][ C0] [ 29.898504][ C0] locks held by swapper/0/0: 4, last CPU#0: [ 29.898505][ C0] #0: ffa0000000007c90 ((&watchdog_timer)){+.-.}-{0:0}, at: call_timer_fn+0x110/0x4d0 [ 29.898511][ C0] #1: ffffffffbd1ce8b8 (watchdog_lock){+.-.}-{3:3}, at: clocksource_watchdog+0x15/0x30 [ 29.898515][ C0] #2: ffffffffbd169cc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 29.898518][ C0] #3: ffffffffbd169d38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 29.898521][ C0] [ 29.898521][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 29.898526][ C0] -> (fs_reclaim){+.+.}-{0:0} { [ 29.898528][ C0] HARDIRQ-ON-W at: [ 29.898529][ C0] __lock_acquire+0x388/0xc20 [ 29.898532][ C0] lock_acquire.part.0+0xd4/0x280 [ 29.898534][ C0] fs_reclaim_acquire+0xd5/0x120 [ 29.898537][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 29.898539][ C0] kthread_create_worker_on_node+0xea/0x210 [ 29.898542][ C0] workqueue_init+0x2a/0x680 [ 29.898546][ C0] kernel_init_freeable+0x2fe/0x630 [ 29.898548][ C0] kernel_init+0x21/0x150 [ 29.898552][ C0] ret_from_fork+0x474/0x6b0 [ 29.898555][ C0] ret_from_fork_asm+0x11/0x20 [ 29.898558][ C0] SOFTIRQ-ON-W at: [ 29.898559][ C0] __lock_acquire+0x388/0xc20 [ 29.898561][ C0] lock_acquire.part.0+0xd4/0x280 [ 29.898562][ C0] fs_reclaim_acquire+0xd5/0x120 [ 29.898563][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 29.898564][ C0] kthread_create_worker_on_node+0xea/0x210 [ 29.898566][ C0] workqueue_init+0x2a/0x680 [ 29.898567][ C0] kernel_init_freeable+0x2fe/0x630 [ 29.898568][ C0] kernel_init+0x21/0x150 [ 29.898570][ C0] ret_from_fork+0x474/0x6b0 [ 29.898571][ C0] ret_from_fork_asm+0x11/0x20 [ 29.898572][ C0] INITIAL USE at: [ 29.898573][ C0] __lock_acquire+0x388/0xc20 [ 29.898574][ C0] lock_acquire.part.0+0xd4/0x280 [ 29.898576][ C0] fs_reclaim_acquire+0xd5/0x120 [ 29.898577][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 29.898578][ C0] kthread_create_worker_on_node+0xea/0x210 [ 29.898585][ C0] workqueue_init+0x2a/0x680 [ 29.898586][ C0] kernel_init_freeable+0x2fe/0x630 [ 29.898587][ C0] kernel_init+0x21/0x150 [ 29.898588][ C0] ret_from_fork+0x474/0x6b0 [ 29.898590][ C0] ret_from_fork_asm+0x11/0x20 [ 29.898591][ C0] } [ 29.898591][ C0] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 29.898595][ C0] ... acquired at: [ 29.898596][ C0] __lock_acquire+0x518/0xc20 [ 29.898598][ C0] lock_acquire.part.0+0xd4/0x280 [ 29.898599][ C0] fs_reclaim_acquire+0xd5/0x120 [ 29.898600][ C0] __kmalloc_noprof+0xd3/0x760 [ 29.898601][ C0] alloc_buf.isra.0+0x4b/0x260 [ 29.898604][ C0] put_chars+0x1e1/0x2f0 [ 29.898606][ C0] hvc_console_print+0x292/0x780 [ 29.898607][ C0] console_emit_next_record+0x22f/0x4c0 [ 29.898609][ C0] console_flush_one_record+0x46f/0x710 [ 29.898610][ C0] console_unlock+0xee/0x1f0 [ 29.898612][ C0] vprintk_emit+0x37c/0x3e0 [ 29.898613][ C0] _printk+0xc7/0x100 [ 29.898617][ C0] dm_interface_init+0x50/0x60 [ 29.898619][ C0] dm_init+0x51/0xd0 [ 29.898620][ C0] do_one_initcall+0x124/0x4f0 [ 29.898621][ C0] kernel_init_freeable+0x596/0x630 [ 29.898622][ C0] kernel_init+0x21/0x150 [ 29.898624][ C0] ret_from_fork+0x474/0x6b0 [ 29.898625][ C0] ret_from_fork_asm+0x11/0x20 [ 29.898626][ C0] [ 29.898627][ C0] -> (console_owner){..-.}-{0:0} { [ 29.898628][ C0] IN-SOFTIRQ-W at: [ 29.898629][ C0] __lock_acquire+0x388/0xc20 [ 29.898631][ C0] lock_acquire.part.0+0xd4/0x280 [ 29.898632][ C0] console_lock_spinning_enable+0x5c/0x60 [ 29.898634][ C0] console_emit_next_record+0x1d1/0x4c0 [ 29.898635][ C0] console_flush_one_record+0x46f/0x710 [ 29.898637][ C0] console_unlock+0xee/0x1f0 [ 29.898638][ C0] vprintk_emit+0x37c/0x3e0 [ 29.898640][ C0] _printk+0xc7/0x100 [ 29.898641][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 29.898643][ C0] call_timer_fn+0x160/0x4d0 [ 29.898645][ C0] __run_timers+0x68f/0xaa0 [ 29.898646][ C0] run_timer_softirq+0xf0/0x160 [ 29.898648][ C0] handle_softirqs+0x1d3/0x900 [ 29.898650][ C0] __irq_exit_rcu+0x145/0x1c0 [ 29.898652][ C0] irq_exit_rcu+0xe/0x30 [ 29.898653][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 29.898655][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 29.898657][ C0] pv_native_safe_halt+0xf/0x10 [ 29.898658][ C0] default_idle+0x9/0x10 [ 29.898659][ C0] default_idle_call+0x6e/0xb0 [ 29.898661][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 29.898663][ C0] do_idle+0xd8/0x190 [ 29.898664][ C0] cpu_startup_entry+0x53/0x70 [ 29.898666][ C0] rest_init+0x279/0x280 [ 29.898667][ C0] start_kernel+0x3af/0x3b0 [ 29.898668][ C0] x86_64_start_reservations+0x24/0x30 [ 29.898670][ C0] x86_64_start_kernel+0x12b/0x130 [ 29.898672][ C0] common_startup_64+0x13e/0x148 [ 29.898674][ C0] INITIAL USE at: [ 29.898675][ C0] } [ 29.898675][ C0] ... key at: [] console_owner_dep_map+0x0/0x60 [ 29.898678][ C0] ... acquired at: [ 29.898679][ C0] mark_lock+0x1d7/0xa00 [ 29.898680][ C0] mark_usage+0x42/0x170 [ 29.898681][ C0] __lock_acquire+0x388/0xc20 [ 29.898683][ C0] lock_acquire.part.0+0xd4/0x280 [ 29.898684][ C0] console_lock_spinning_enable+0x5c/0x60 [ 29.898685][ C0] console_emit_next_record+0x1d1/0x4c0 [ 29.898687][ C0] console_flush_one_record+0x46f/0x710 [ 29.898689][ C0] console_unlock+0xee/0x1f0 [ 29.898690][ C0] vprintk_emit+0x37c/0x3e0 [ 29.898692][ C0] _printk+0xc7/0x100 [ 29.898693][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 29.898694][ C0] call_timer_fn+0x160/0x4d0 [ 29.898695][ C0] __run_timers+0x68f/0xaa0 [ 29.898697][ C0] run_timer_softirq+0xf0/0x160 [ 29.898698][ C0] handle_softirqs+0x1d3/0x900 [ 29.898700][ C0] __irq_exit_rcu+0x145/0x1c0 [ 29.898701][ C0] irq_exit_rcu+0xe/0x30 [ 29.898702][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 29.898703][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 29.898705][ C0] pv_native_safe_halt+0xf/0x10 [ 29.898706][ C0] default_idle+0x9/0x10 [ 29.898708][ C0] default_idle_call+0x6e/0xb0 [ 29.898709][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 29.898710][ C0] do_idle+0xd8/0x190 [ 29.898711][ C0] cpu_startup_entry+0x53/0x70 [ 29.898713][ C0] rest_init+0x279/0x280 [ 29.898714][ C0] start_kernel+0x3af/0x3b0 [ 29.898715][ C0] x86_64_start_reservations+0x24/0x30 [ 29.898717][ C0] x86_64_start_kernel+0x12b/0x130 [ 29.898718][ C0] common_startup_64+0x13e/0x148 [ 29.898719][ C0] [ 29.898720][ C0] [ 29.898720][ C0] stack backtrace: [ 29.898723][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 29.898726][ C0] Tainted: [W]=WARN [ 29.898726][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 29.898728][ C0] Call Trace: [ 29.898729][ C0] [ 29.898731][ C0] dump_stack_lvl+0x6f/0xa0 [ 29.898734][ C0] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 29.898737][ C0] mark_lock_irq+0x989/0x9c0 [ 29.898738][ C0] ? add_lock_to_list+0x2c/0x1a0 [ 29.898741][ C0] mark_lock+0x1d7/0xa00 [ 29.898743][ C0] mark_usage+0x42/0x170 [ 29.898745][ C0] __lock_acquire+0x388/0xc20 [ 29.898747][ C0] lock_acquire.part.0+0xd4/0x280 [ 29.898748][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 29.898750][ C0] ? rcu_is_watching+0x16/0xd0 [ 29.898753][ C0] ? lock_acquire+0x13c/0x160 [ 29.898755][ C0] console_lock_spinning_enable+0x5c/0x60 [ 29.898757][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 29.898759][ C0] console_emit_next_record+0x1d1/0x4c0 [ 29.898761][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 29.898762][ C0] ? console_flush_one_record+0x106/0x710 [ 29.898764][ C0] ? rcu_is_watching+0x16/0xd0 [ 29.898766][ C0] ? lock_acquire+0x13c/0x160 [ 29.898768][ C0] console_flush_one_record+0x46f/0x710 [ 29.898770][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 29.898772][ C0] ? __lock_acquire+0x518/0xc20 [ 29.898774][ C0] console_unlock+0xee/0x1f0 [ 29.898776][ C0] ? console_flush_one_record+0x710/0x710 [ 29.898778][ C0] ? rcu_is_watching+0x16/0xd0 [ 29.898779][ C0] ? lock_acquire+0x60/0x160 [ 29.898781][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 29.898783][ C0] ? vprintk_emit+0x320/0x3e0 [ 29.898785][ C0] vprintk_emit+0x37c/0x3e0 [ 29.898787][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 29.898790][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 29.898791][ C0] _printk+0xc7/0x100 [ 29.898793][ C0] ? snapshot_read.cold+0x21/0x21 [ 29.898795][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 29.898796][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 29.898799][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 29.898800][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 29.898802][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 29.898804][ C0] call_timer_fn+0x160/0x4d0 [ 29.898806][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 29.898807][ C0] ? debug_object_active_state+0x430/0x430 [ 29.898811][ C0] ? find_held_lock+0x2b/0x80 [ 29.898812][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 29.898814][ C0] ? rcu_is_watching+0x16/0xd0 [ 29.898816][ C0] __run_timers+0x68f/0xaa0 [ 29.898818][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 29.898820][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 29.898822][ C0] ? __lock_acquire+0x518/0xc20 [ 29.898824][ C0] ? __rwlock_init+0x150/0x150 [ 29.898827][ C0] run_timer_softirq+0xf0/0x160 [ 29.898829][ C0] ? __run_timers+0xaa0/0xaa0 [ 29.898830][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 29.898833][ C0] ? rcu_is_watching+0x16/0xd0 [ 29.898835][ C0] handle_softirqs+0x1d3/0x900 [ 29.898836][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 29.898838][ C0] ? _local_bh_enable+0xc0/0xc0 [ 29.898840][ C0] __irq_exit_rcu+0x145/0x1c0 [ 29.898841][ C0] irq_exit_rcu+0xe/0x30 [ 29.898843][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 29.898844][ C0] [ 29.898845][ C0] [ 29.898845][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 29.898847][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 29.898849][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 29.898851][ C0] Code: 48 8b 3d 94 d2 f5 01 e8 1f 00 00 00 48 2b 05 58 93 95 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 86 11 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01 [ 29.898853][ C0] RSP: 0018:ffffffffbce07cf8 EFLAGS: 00000296 [ 29.898855][ C0] RAX: 00000000000b868f RBX: ffffffffbce1c600 RCX: ffffffffb9ef0307 [ 29.898856][ C0] RDX: ffffffffbce1c600 RSI: ffffffffbcc38af6 RDI: ffffffffbc68d8e0 [ 29.898857][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 29.898858][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff79c0fa2 [ 29.898859][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 29.898860][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 29.898863][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 29.898864][ C0] default_idle+0x9/0x10 [ 29.898866][ C0] default_idle_call+0x6e/0xb0 [ 29.898867][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 29.898869][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 29.898871][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 29.898873][ C0] ? rcu_is_watching+0x16/0xd0 [ 29.898875][ C0] do_idle+0xd8/0x190 [ 29.898877][ C0] cpu_startup_entry+0x53/0x70 [ 29.898878][ C0] rest_init+0x279/0x280 [ 29.898880][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 29.898883][ C0] ? rest_init+0x280/0x280 [ 29.898884][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 29.898888][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 29.898890][ C0] ? acpi_enable+0x1e4/0x330 [ 29.898893][ C0] start_kernel+0x3af/0x3b0 [ 29.898894][ C0] x86_64_start_reservations+0x24/0x30 [ 29.898896][ C0] x86_64_start_kernel+0x12b/0x130 [ 29.898898][ C0] common_startup_64+0x13e/0x148 [ 29.898901][ C0] [ 29.898905][ C0] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 29.898906][ C0] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 0, name: swapper/0 [ 29.898907][ C0] preempt_count: 103, expected: 0 [ 29.898908][ C0] RCU nest depth: 0, expected: 0 [ 29.898909][ C0] INFO: lockdep is turned off. [ 29.898909][ C0] irq event stamp: 755359 [ 29.898910][ C0] hardirqs last enabled at (755358): [] __down_trylock_console_sem+0x86/0xa0 [ 29.898912][ C0] hardirqs last disabled at (755359): [] console_emit_next_record+0x3d4/0x4c0 [ 29.898914][ C0] softirqs last enabled at (755332): [] handle_softirqs+0x67c/0x900 [ 29.898915][ C0] softirqs last disabled at (755345): [] __irq_exit_rcu+0x145/0x1c0 [ 29.898917][ C0] Preemption disabled at: [ 29.898918][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 29.898920][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 29.898922][ C0] Tainted: [W]=WARN [ 29.898923][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 29.898923][ C0] Call Trace: [ 29.898924][ C0] [ 29.898925][ C0] dump_stack_lvl+0x6f/0xa0 [ 29.898927][ C0] ? schedule_preempt_disabled+0x22/0x30 [ 29.898928][ C0] __might_resched.cold+0x1fe/0x2c1 [ 29.898931][ C0] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 29.898934][ C0] ? rcu_is_watching+0x16/0xd0 [ 29.898936][ C0] __kmalloc_noprof+0x443/0x760 [ 29.898938][ C0] ? __rwlock_init+0x150/0x150 [ 29.898939][ C0] ? alloc_buf.isra.0+0x4b/0x260 [ 29.898941][ C0] ? do_raw_spin_unlock+0x59/0x250 [ 29.898943][ C0] alloc_buf.isra.0+0x4b/0x260 [ 29.898944][ C0] put_chars+0x1e1/0x2f0 [ 29.898946][ C0] ? __send_to_port+0x420/0x420 [ 29.898948][ C0] ? mark_lock+0x1d7/0xa00 [ 29.898950][ C0] hvc_console_print+0x292/0x780 [ 29.898952][ C0] ? hvc_write+0x3a0/0x3a0 [ 29.898954][ C0] ? rcu_is_watching+0x16/0xd0 [ 29.898955][ C0] ? rcu_is_watching+0x16/0xd0 [ 29.898958][ C0] console_emit_next_record+0x22f/0x4c0 [ 29.898960][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 29.898961][ C0] ? console_flush_one_record+0x106/0x710 [ 29.898963][ C0] ? rcu_is_watching+0x16/0xd0 [ 29.898965][ C0] ? lock_acquire+0x13c/0x160 [ 29.898967][ C0] console_flush_one_record+0x46f/0x710 [ 29.898969][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 29.898971][ C0] ? __lock_acquire+0x518/0xc20 [ 29.898973][ C0] console_unlock+0xee/0x1f0 [ 29.898975][ C0] ? console_flush_one_record+0x710/0x710 [ 29.898976][ C0] ? rcu_is_watching+0x16/0xd0 [ 29.898978][ C0] ? lock_acquire+0x60/0x160 [ 29.898980][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 29.898981][ C0] ? vprintk_emit+0x320/0x3e0 [ 29.898983][ C0] vprintk_emit+0x37c/0x3e0 [ 29.898985][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 29.898988][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 29.898989][ C0] _printk+0xc7/0x100 [ 29.898991][ C0] ? snapshot_read.cold+0x21/0x21 [ 29.898993][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 29.898995][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 29.898997][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 29.898998][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 29.899000][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 29.899001][ C0] call_timer_fn+0x160/0x4d0 [ 29.899003][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 29.899005][ C0] ? debug_object_active_state+0x430/0x430 [ 29.899007][ C0] ? find_held_lock+0x2b/0x80 [ 29.899008][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 29.899010][ C0] ? rcu_is_watching+0x16/0xd0 [ 29.899012][ C0] __run_timers+0x68f/0xaa0 [ 29.899014][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 29.899016][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 29.899018][ C0] ? __lock_acquire+0x518/0xc20 [ 29.899020][ C0] ? __rwlock_init+0x150/0x150 [ 29.899022][ C0] run_timer_softirq+0xf0/0x160 [ 29.899025][ C0] ? __run_timers+0xaa0/0xaa0 [ 29.899026][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 29.899028][ C0] ? rcu_is_watching+0x16/0xd0 [ 29.899029][ C0] handle_softirqs+0x1d3/0x900 [ 29.899031][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 29.899033][ C0] ? _local_bh_enable+0xc0/0xc0 [ 29.899035][ C0] __irq_exit_rcu+0x145/0x1c0 [ 29.899036][ C0] irq_exit_rcu+0xe/0x30 [ 29.899037][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 29.899039][ C0] [ 29.899040][ C0] [ 29.899040][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 29.899042][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 29.899043][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 29.899045][ C0] Code: 48 8b 3d 94 d2 f5 01 e8 1f 00 00 00 48 2b 05 58 93 95 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 86 11 00 fb f4 0f 1f 40 d6 48 83 ec 20 8b 17 49 89 f8 83 e2 fe 41 89 d2 0f 01 [ 29.899046][ C0] RSP: 0018:ffffffffbce07cf8 EFLAGS: 00000296 [ 29.899047][ C0] RAX: 00000000000b868f RBX: ffffffffbce1c600 RCX: ffffffffb9ef0307 [ 29.899048][ C0] RDX: ffffffffbce1c600 RSI: ffffffffbcc38af6 RDI: ffffffffbc68d8e0 [ 29.899048][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 29.899049][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff79c0fa2 [ 29.899050][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 29.899051][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 29.899053][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 29.899055][ C0] default_idle+0x9/0x10 [ 29.899056][ C0] default_idle_call+0x6e/0xb0 [ 29.899058][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 29.899060][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 29.899061][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 29.899062][ C0] ? rcu_is_watching+0x16/0xd0 [ 29.899064][ C0] do_idle+0xd8/0x190 [ 29.899066][ C0] cpu_startup_entry+0x53/0x70 [ 29.899067][ C0] rest_init+0x279/0x280 [ 29.899069][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 29.899072][ C0] ? rest_init+0x280/0x280 [ 29.899074][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 29.899076][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 29.899077][ C0] ? acpi_enable+0x1e4/0x330 [ 29.899079][ C0] start_kernel+0x3af/0x3b0 [ 29.899081][ C0] x86_64_start_reservations+0x24/0x30 [ 29.899082][ C0] x86_64_start_kernel+0x12b/0x130 [ 29.899084][ C0] common_startup_64+0x13e/0x148 [ 29.899087][ C0]