[ 10.994011][ T222] ip (222) used greatest stack depth: 23808 bytes left [ 10.994031][ T222] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.994033][ T222] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 222, name: ip [ 10.994035][ T222] preempt_count: 2, expected: 0 [ 10.994036][ T222] RCU nest depth: 0, expected: 0 [ 10.994037][ T222] locks held by ip/222: 5, last CPU#0: [ 10.994039][ T222] #0: ffffffff8ac167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.994051][ T222] #1: ffffffff8ad7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.994056][ T222] #2: ffffffff8ad7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.994061][ T222] #3: ffffffff8ac9d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.994065][ T222] #4: ffffffff8ac9d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.994070][ T222] irq event stamp: 24284 [ 10.994070][ T222] hardirqs last enabled at (24283): [] __down_trylock_console_sem+0x86/0xa0 [ 10.994073][ T222] hardirqs last disabled at (24284): [] console_emit_next_record+0x3d4/0x4c0 [ 10.994076][ T222] softirqs last enabled at (23016): [] handle_softirqs+0x67c/0x900 [ 10.994078][ T222] softirqs last disabled at (21979): [] __irq_exit_rcu+0x145/0x1c0 [ 10.994080][ T222] Preemption disabled at: [ 10.994081][ T222] [<0000000000000000>] 0x0 [ 10.994088][ T222] CPU: 0 UID: 0 PID: 222 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.994092][ T222] Tainted: [W]=WARN [ 10.994093][ T222] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.994095][ T222] Call Trace: [ 10.994097][ T222] [ 10.994099][ T222] dump_stack_lvl+0x6f/0xa0 [ 10.994105][ T222] __might_resched.cold+0x1fe/0x2c1 [ 10.994110][ T222] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.994114][ T222] ? __kmalloc_noprof+0xdb/0x760 [ 10.994119][ T222] __kmalloc_noprof+0x443/0x760 [ 10.994121][ T222] ? alloc_buf.isra.0+0x4b/0x260 [ 10.994128][ T222] ? do_raw_spin_unlock+0x59/0x250 [ 10.994131][ T222] alloc_buf.isra.0+0x4b/0x260 [ 10.994135][ T222] put_chars+0x1e1/0x2f0 [ 10.994137][ T222] ? __send_to_port+0x420/0x420 [ 10.994138][ T222] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.994142][ T222] ? validate_chain+0x38b/0xc20 [ 10.994148][ T222] hvc_console_print+0x292/0x780 [ 10.994155][ T222] ? hvc_write+0x3a0/0x3a0 [ 10.994158][ T222] ? rcu_is_watching+0x16/0xd0 [ 10.994160][ T222] ? lock_acquire+0x13c/0x160 [ 10.994164][ T222] console_emit_next_record+0x22f/0x4c0 [ 10.994168][ T222] ? devkmsg_read+0x4b0/0x4b0 [ 10.994170][ T222] ? console_flush_one_record+0x106/0x710 [ 10.994174][ T222] ? rcu_is_watching+0x16/0xd0 [ 10.994175][ T222] ? lock_acquire+0x13c/0x160 [ 10.994180][ T222] console_flush_one_record+0x46f/0x710 [ 10.994187][ T222] ? console_emit_next_record+0x4c0/0x4c0 [ 10.994189][ T222] ? __lock_acquire+0x518/0xc20 [ 10.994194][ T222] console_unlock+0xee/0x1f0 [ 10.994197][ T222] ? console_flush_one_record+0x710/0x710 [ 10.994199][ T222] ? rcu_is_watching+0x16/0xd0 [ 10.994201][ T222] ? lock_acquire+0xe0/0x160 [ 10.994205][ T222] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.994207][ T222] ? vprintk_emit+0x320/0x3e0 [ 10.994210][ T222] vprintk_emit+0x37c/0x3e0 [ 10.994213][ T222] ? wake_up_klogd_work_func+0x90/0x90 [ 10.994216][ T222] ? __lock_acquire+0x518/0xc20 [ 10.994220][ T222] _printk+0xc7/0x100 [ 10.994223][ T222] ? snapshot_read.cold+0x21/0x21 [ 10.994226][ T222] ? do_raw_spin_lock+0x131/0x280 [ 10.994229][ T222] ? __rwlock_init+0x150/0x150 [ 10.994233][ T222] ? do_raw_spin_lock+0x131/0x280 [ 10.994236][ T222] do_exit.cold+0x82/0x9c [ 10.994239][ T222] ? exit_notify+0x890/0x890 [ 10.994241][ T222] ? __lock_release.isra.0+0x69/0x1a0 [ 10.994244][ T222] ? rcu_is_watching+0x16/0xd0 [ 10.994247][ T222] do_group_exit+0xb8/0x370 [ 10.994250][ T222] __x64_sys_exit_group+0x3c/0x50 [ 10.994252][ T222] x64_sys_call+0x1567/0x1570 [ 10.994255][ T222] do_syscall_64+0xff/0x530 [ 10.994259][ T222] ? exc_page_fault+0xee/0x100 [ 10.994262][ T222] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.994264][ T222] RIP: 0033:0x7f5b1dc541b8 [ 10.994266][ T222] Code: Unable to access opcode bytes at 0x7f5b1dc5418e. [ 10.994268][ T222] RSP: 002b:00007ffca7960268 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.994270][ T222] RAX: ffffffffffffffda RBX: 00007f5b1dd84f88 RCX: 00007f5b1dc541b8 [ 10.994272][ T222] RDX: 00007f5b1d99efc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.994273][ T222] RBP: 00007ffca79602c0 R08: 0000000000000000 R09: 0000000000008010 [ 10.994274][ T222] R10: 00007ffca7960080 R11: 0000000000000246 R12: 0000000000000001 [ 10.994274][ T222] R13: 0000000000000000 R14: 00007f5b1dd83680 R15: 00007f5b1dd84fa0 [ 10.994282][ T222] [ 12.522311][ C0] clocksource: Watchdog remote CPU 3 read timed out [ 12.522526][ C0] [ 12.522527][ C0] ======================================================== [ 12.522528][ C0] WARNING: possible irq lock inversion dependency detected [ 12.522531][ C0] 7.2.0-virtme #1 Tainted: G W [ 12.522532][ C0] -------------------------------------------------------- [ 12.522533][ C0] swapper/0/0 just changed the state of lock: [ 12.522534][ C0] ffffffff8ac9d760 (console_owner){..-.}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 12.522546][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 12.522548][ C0] (fs_reclaim){+.+.}-{0:0} [ 12.522549][ C0] [ 12.522549][ C0] [ 12.522549][ C0] and interrupts could create inverse lock ordering between them. [ 12.522549][ C0] [ 12.522550][ C0] [ 12.522550][ C0] other info that might help us debug this: [ 12.522550][ C0] Possible interrupt unsafe locking scenario: [ 12.522550][ C0] [ 12.522551][ C0] CPU0 CPU1 [ 12.522551][ C0] ---- ---- [ 12.522552][ C0] lock(fs_reclaim); [ 12.522553][ C0] local_irq_disable(); [ 12.522553][ C0] lock(console_owner); [ 12.522554][ C0] lock(fs_reclaim); [ 12.522555][ C0] [ 12.522555][ C0] lock(console_owner); [ 12.522556][ C0] [ 12.522556][ C0] *** DEADLOCK *** [ 12.522556][ C0] [ 12.522556][ C0] locks held by swapper/0/0: 4, last CPU#0: [ 12.522558][ C0] #0: ffa0000000007c90 ((&watchdog_timer)){+.-.}-{0:0}, at: call_timer_fn+0x110/0x4d0 [ 12.522563][ C0] #1: ffffffff8ade29f8 (watchdog_lock){+.-.}-{3:3}, at: clocksource_watchdog+0x15/0x30 [ 12.522567][ C0] #2: ffffffff8ad7ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 12.522570][ C0] #3: ffffffff8ad7de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 12.522574][ C0] [ 12.522574][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 12.522578][ C0] -> (fs_reclaim){+.+.}-{0:0} { [ 12.522580][ C0] HARDIRQ-ON-W at: [ 12.522582][ C0] __lock_acquire+0x388/0xc20 [ 12.522585][ C0] lock_acquire.part.0+0xd4/0x280 [ 12.522592][ C0] fs_reclaim_acquire+0xd5/0x120 [ 12.522596][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 12.522597][ C0] kthread_create_worker_on_node+0xea/0x210 [ 12.522600][ C0] workqueue_init+0x2a/0x680 [ 12.522604][ C0] kernel_init_freeable+0x2fe/0x630 [ 12.522607][ C0] kernel_init+0x21/0x150 [ 12.522611][ C0] ret_from_fork+0x474/0x6b0 [ 12.522614][ C0] ret_from_fork_asm+0x11/0x20 [ 12.522617][ C0] SOFTIRQ-ON-W at: [ 12.522618][ C0] __lock_acquire+0x388/0xc20 [ 12.522619][ C0] lock_acquire.part.0+0xd4/0x280 [ 12.522621][ C0] fs_reclaim_acquire+0xd5/0x120 [ 12.522622][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 12.522623][ C0] kthread_create_worker_on_node+0xea/0x210 [ 12.522624][ C0] workqueue_init+0x2a/0x680 [ 12.522626][ C0] kernel_init_freeable+0x2fe/0x630 [ 12.522627][ C0] kernel_init+0x21/0x150 [ 12.522629][ C0] ret_from_fork+0x474/0x6b0 [ 12.522630][ C0] ret_from_fork_asm+0x11/0x20 [ 12.522631][ C0] INITIAL USE at: [ 12.522632][ C0] __lock_acquire+0x388/0xc20 [ 12.522633][ C0] lock_acquire.part.0+0xd4/0x280 [ 12.522635][ C0] fs_reclaim_acquire+0xd5/0x120 [ 12.522636][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 12.522637][ C0] kthread_create_worker_on_node+0xea/0x210 [ 12.522639][ C0] workqueue_init+0x2a/0x680 [ 12.522640][ C0] kernel_init_freeable+0x2fe/0x630 [ 12.522642][ C0] kernel_init+0x21/0x150 [ 12.522643][ C0] ret_from_fork+0x474/0x6b0 [ 12.522644][ C0] ret_from_fork_asm+0x11/0x20 [ 12.522645][ C0] } [ 12.522646][ C0] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 12.522650][ C0] ... acquired at: [ 12.522650][ C0] __lock_acquire+0x518/0xc20 [ 12.522652][ C0] lock_acquire.part.0+0xd4/0x280 [ 12.522653][ C0] fs_reclaim_acquire+0xd5/0x120 [ 12.522655][ C0] __kmalloc_noprof+0xd3/0x760 [ 12.522656][ C0] alloc_buf.isra.0+0x4b/0x260 [ 12.522660][ C0] put_chars+0x1e1/0x2f0 [ 12.522660][ C0] hvc_console_print+0x292/0x780 [ 12.522664][ C0] console_emit_next_record+0x22f/0x4c0 [ 12.522665][ C0] console_flush_one_record+0x46f/0x710 [ 12.522667][ C0] console_unlock+0xee/0x1f0 [ 12.522668][ C0] vprintk_emit+0x37c/0x3e0 [ 12.522669][ C0] _printk+0xc7/0x100 [ 12.522672][ C0] tun_init+0x24/0xb0 [ 12.522675][ C0] do_one_initcall+0x124/0x4f0 [ 12.522676][ C0] kernel_init_freeable+0x596/0x630 [ 12.522678][ C0] kernel_init+0x21/0x150 [ 12.522679][ C0] ret_from_fork+0x474/0x6b0 [ 12.522680][ C0] ret_from_fork_asm+0x11/0x20 [ 12.522681][ C0] [ 12.522682][ C0] -> (console_owner){..-.}-{0:0} { [ 12.522684][ C0] IN-SOFTIRQ-W at: [ 12.522684][ C0] __lock_acquire+0x388/0xc20 [ 12.522686][ C0] lock_acquire.part.0+0xd4/0x280 [ 12.522687][ C0] console_lock_spinning_enable+0x5c/0x60 [ 12.522689][ C0] console_emit_next_record+0x1d1/0x4c0 [ 12.522690][ C0] console_flush_one_record+0x46f/0x710 [ 12.522692][ C0] console_unlock+0xee/0x1f0 [ 12.522693][ C0] vprintk_emit+0x37c/0x3e0 [ 12.522694][ C0] _printk+0xc7/0x100 [ 12.522695][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 12.522698][ C0] call_timer_fn+0x160/0x4d0 [ 12.522699][ C0] __run_timers+0x68f/0xaa0 [ 12.522701][ C0] run_timer_softirq+0xf0/0x160 [ 12.522702][ C0] handle_softirqs+0x1d3/0x900 [ 12.522705][ C0] __irq_exit_rcu+0x145/0x1c0 [ 12.522706][ C0] irq_exit_rcu+0xe/0x30 [ 12.522707][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 12.522709][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 12.522711][ C0] pv_native_safe_halt+0xf/0x10 [ 12.522712][ C0] default_idle+0x9/0x10 [ 12.522713][ C0] default_idle_call+0x6e/0xb0 [ 12.522715][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 12.522717][ C0] do_idle+0xd8/0x190 [ 12.522718][ C0] cpu_startup_entry+0x53/0x70 [ 12.522719][ C0] rest_init+0x279/0x280 [ 12.522721][ C0] start_kernel+0x3b9/0x3c0 [ 12.522722][ C0] x86_64_start_reservations+0x24/0x30 [ 12.522724][ C0] x86_64_start_kernel+0x12b/0x130 [ 12.522725][ C0] common_startup_64+0x13e/0x148 [ 12.522728][ C0] INITIAL USE at: [ 12.522729][ C0] } [ 12.522730][ C0] ... key at: [] console_owner_dep_map+0x0/0x60 [ 12.522732][ C0] ... acquired at: [ 12.522732][ C0] mark_lock+0x1d7/0xa00 [ 12.522734][ C0] mark_usage+0x42/0x170 [ 12.522735][ C0] __lock_acquire+0x388/0xc20 [ 12.522736][ C0] lock_acquire.part.0+0xd4/0x280 [ 12.522738][ C0] console_lock_spinning_enable+0x5c/0x60 [ 12.522739][ C0] console_emit_next_record+0x1d1/0x4c0 [ 12.522741][ C0] console_flush_one_record+0x46f/0x710 [ 12.522743][ C0] console_unlock+0xee/0x1f0 [ 12.522744][ C0] vprintk_emit+0x37c/0x3e0 [ 12.522745][ C0] _printk+0xc7/0x100 [ 12.522746][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 12.522747][ C0] call_timer_fn+0x160/0x4d0 [ 12.522749][ C0] __run_timers+0x68f/0xaa0 [ 12.522750][ C0] run_timer_softirq+0xf0/0x160 [ 12.522752][ C0] handle_softirqs+0x1d3/0x900 [ 12.522753][ C0] __irq_exit_rcu+0x145/0x1c0 [ 12.522754][ C0] irq_exit_rcu+0xe/0x30 [ 12.522755][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 12.522756][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 12.522757][ C0] pv_native_safe_halt+0xf/0x10 [ 12.522759][ C0] default_idle+0x9/0x10 [ 12.522760][ C0] default_idle_call+0x6e/0xb0 [ 12.522761][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 12.522762][ C0] do_idle+0xd8/0x190 [ 12.522763][ C0] cpu_startup_entry+0x53/0x70 [ 12.522765][ C0] rest_init+0x279/0x280 [ 12.522766][ C0] start_kernel+0x3b9/0x3c0 [ 12.522767][ C0] x86_64_start_reservations+0x24/0x30 [ 12.522768][ C0] x86_64_start_kernel+0x12b/0x130 [ 12.522769][ C0] common_startup_64+0x13e/0x148 [ 12.522771][ C0] [ 12.522771][ C0] [ 12.522771][ C0] stack backtrace: [ 12.522774][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.522777][ C0] Tainted: [W]=WARN [ 12.522778][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.522780][ C0] Call Trace: [ 12.522781][ C0] [ 12.522782][ C0] dump_stack_lvl+0x6f/0xa0 [ 12.522786][ C0] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 12.522789][ C0] mark_lock_irq+0x989/0x9c0 [ 12.522790][ C0] ? add_lock_to_list+0x2c/0x1a0 [ 12.522793][ C0] mark_lock+0x1d7/0xa00 [ 12.522795][ C0] mark_usage+0x42/0x170 [ 12.522797][ C0] __lock_acquire+0x388/0xc20 [ 12.522799][ C0] lock_acquire.part.0+0xd4/0x280 [ 12.522800][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 12.522803][ C0] ? rcu_is_watching+0x16/0xd0 [ 12.522805][ C0] ? lock_acquire+0x13c/0x160 [ 12.522807][ C0] console_lock_spinning_enable+0x5c/0x60 [ 12.522808][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 12.522810][ C0] console_emit_next_record+0x1d1/0x4c0 [ 12.522812][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 12.522814][ C0] ? console_flush_one_record+0x106/0x710 [ 12.522816][ C0] ? rcu_is_watching+0x16/0xd0 [ 12.522817][ C0] ? lock_acquire+0x13c/0x160 [ 12.522819][ C0] console_flush_one_record+0x46f/0x710 [ 12.522821][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 12.522823][ C0] ? __lock_acquire+0x518/0xc20 [ 12.522825][ C0] console_unlock+0xee/0x1f0 [ 12.522827][ C0] ? console_flush_one_record+0x710/0x710 [ 12.522828][ C0] ? rcu_is_watching+0x16/0xd0 [ 12.522830][ C0] ? lock_acquire+0xe0/0x160 [ 12.522831][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.522833][ C0] ? vprintk_emit+0x320/0x3e0 [ 12.522835][ C0] vprintk_emit+0x37c/0x3e0 [ 12.522836][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 12.522838][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 12.522840][ C0] _printk+0xc7/0x100 [ 12.522841][ C0] ? snapshot_read.cold+0x21/0x21 [ 12.522843][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 12.522845][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 12.522847][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 12.522848][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 12.522850][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 12.522852][ C0] call_timer_fn+0x160/0x4d0 [ 12.522854][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 12.522855][ C0] ? debug_object_active_state+0x430/0x430 [ 12.522858][ C0] ? find_held_lock+0x2b/0x80 [ 12.522860][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 12.522862][ C0] ? rcu_is_watching+0x16/0xd0 [ 12.522863][ C0] __run_timers+0x68f/0xaa0 [ 12.522865][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 12.522867][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 12.522869][ C0] ? __lock_acquire+0x518/0xc20 [ 12.522872][ C0] ? __rwlock_init+0x150/0x150 [ 12.522874][ C0] run_timer_softirq+0xf0/0x160 [ 12.522876][ C0] ? __run_timers+0xaa0/0xaa0 [ 12.522878][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.522880][ C0] ? rcu_is_watching+0x16/0xd0 [ 12.522882][ C0] handle_softirqs+0x1d3/0x900 [ 12.522884][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 12.522885][ C0] ? _local_bh_enable+0xc0/0xc0 [ 12.522887][ C0] __irq_exit_rcu+0x145/0x1c0 [ 12.522889][ C0] irq_exit_rcu+0xe/0x30 [ 12.522890][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 12.522892][ C0] [ 12.522892][ C0] [ 12.522893][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 12.522895][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 12.522896][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 12.522898][ C0] Code: 48 8b 3d 94 92 68 02 e8 1f 00 00 00 48 2b 05 58 e3 a0 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 16 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 [ 12.522900][ C0] RSP: 0018:ffffffff8aa07cf8 EFLAGS: 00000296 [ 12.522902][ C0] RAX: 000000000006b845 RBX: ffffffff8aa30600 RCX: ffffffff87106247 [ 12.522904][ C0] RDX: ffffffff8aa30600 RSI: ffffffff8a311042 RDI: ffffffff89c949e0 [ 12.522904][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 12.522905][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff1540fa2 [ 12.522906][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 12.522908][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 12.522910][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 12.522911][ C0] default_idle+0x9/0x10 [ 12.522913][ C0] default_idle_call+0x6e/0xb0 [ 12.522914][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 12.522916][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 12.522918][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 12.522920][ C0] ? rcu_is_watching+0x16/0xd0 [ 12.522922][ C0] do_idle+0xd8/0x190 [ 12.522923][ C0] cpu_startup_entry+0x53/0x70 [ 12.522925][ C0] rest_init+0x279/0x280 [ 12.522926][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 12.522929][ C0] ? rest_init+0x280/0x280 [ 12.522931][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 12.522934][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 12.522936][ C0] ? acpi_enable+0x1e4/0x330 [ 12.522937][ C0] start_kernel+0x3b9/0x3c0 [ 12.522939][ C0] x86_64_start_reservations+0x24/0x30 [ 12.522941][ C0] x86_64_start_kernel+0x12b/0x130 [ 12.522942][ C0] common_startup_64+0x13e/0x148 [ 12.522945][ C0] [ 12.522949][ C0] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 12.522951][ C0] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 0, name: swapper/0 [ 12.522952][ C0] preempt_count: 103, expected: 0 [ 12.522953][ C0] RCU nest depth: 0, expected: 0 [ 12.522953][ C0] INFO: lockdep is turned off. [ 12.522954][ C0] irq event stamp: 440405 [ 12.522955][ C0] hardirqs last enabled at (440404): [] __down_trylock_console_sem+0x86/0xa0 [ 12.522957][ C0] hardirqs last disabled at (440405): [] console_emit_next_record+0x3d4/0x4c0 [ 12.522959][ C0] softirqs last enabled at (440372): [] handle_softirqs+0x67c/0x900 [ 12.522960][ C0] softirqs last disabled at (440391): [] __irq_exit_rcu+0x145/0x1c0 [ 12.522962][ C0] Preemption disabled at: [ 12.522962][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 12.522966][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 12.522968][ C0] Tainted: [W]=WARN [ 12.522968][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 12.522969][ C0] Call Trace: [ 12.522969][ C0] [ 12.522970][ C0] dump_stack_lvl+0x6f/0xa0 [ 12.522972][ C0] ? schedule_preempt_disabled+0x22/0x30 [ 12.522974][ C0] __might_resched.cold+0x1fe/0x2c1 [ 12.522977][ C0] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 12.522980][ C0] ? rcu_is_watching+0x16/0xd0 [ 12.522981][ C0] __kmalloc_noprof+0x443/0x760 [ 12.522982][ C0] ? __rwlock_init+0x150/0x150 [ 12.522984][ C0] ? alloc_buf.isra.0+0x4b/0x260 [ 12.522986][ C0] ? do_raw_spin_unlock+0x59/0x250 [ 12.522988][ C0] alloc_buf.isra.0+0x4b/0x260 [ 12.522990][ C0] put_chars+0x1e1/0x2f0 [ 12.522992][ C0] ? __send_to_port+0x420/0x420 [ 12.522994][ C0] ? mark_lock+0x1d7/0xa00 [ 12.522996][ C0] hvc_console_print+0x292/0x780 [ 12.522999][ C0] ? hvc_write+0x3a0/0x3a0 [ 12.523000][ C0] ? rcu_is_watching+0x16/0xd0 [ 12.523001][ C0] ? rcu_is_watching+0x16/0xd0 [ 12.523003][ C0] console_emit_next_record+0x22f/0x4c0 [ 12.523005][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 12.523007][ C0] ? console_flush_one_record+0x106/0x710 [ 12.523009][ C0] ? rcu_is_watching+0x16/0xd0 [ 12.523010][ C0] ? lock_acquire+0x13c/0x160 [ 12.523012][ C0] console_flush_one_record+0x46f/0x710 [ 12.523014][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 12.523016][ C0] ? __lock_acquire+0x518/0xc20 [ 12.523018][ C0] console_unlock+0xee/0x1f0 [ 12.523020][ C0] ? console_flush_one_record+0x710/0x710 [ 12.523022][ C0] ? rcu_is_watching+0x16/0xd0 [ 12.523023][ C0] ? lock_acquire+0xe0/0x160 [ 12.523025][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 12.523026][ C0] ? vprintk_emit+0x320/0x3e0 [ 12.523027][ C0] vprintk_emit+0x37c/0x3e0 [ 12.523029][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 12.523031][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 12.523032][ C0] _printk+0xc7/0x100 [ 12.523034][ C0] ? snapshot_read.cold+0x21/0x21 [ 12.523036][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 12.523037][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 12.523040][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 12.523041][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 12.523043][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 12.523045][ C0] call_timer_fn+0x160/0x4d0 [ 12.523047][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 12.523048][ C0] ? debug_object_active_state+0x430/0x430 [ 12.523050][ C0] ? find_held_lock+0x2b/0x80 [ 12.523051][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 12.523053][ C0] ? rcu_is_watching+0x16/0xd0 [ 12.523055][ C0] __run_timers+0x68f/0xaa0 [ 12.523056][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 12.523059][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 12.523060][ C0] ? __lock_acquire+0x518/0xc20 [ 12.523063][ C0] ? __rwlock_init+0x150/0x150 [ 12.523065][ C0] run_timer_softirq+0xf0/0x160 [ 12.523067][ C0] ? __run_timers+0xaa0/0xaa0 [ 12.523069][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 12.523071][ C0] ? rcu_is_watching+0x16/0xd0 [ 12.523072][ C0] handle_softirqs+0x1d3/0x900 [ 12.523074][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 12.523075][ C0] ? _local_bh_enable+0xc0/0xc0 [ 12.523077][ C0] __irq_exit_rcu+0x145/0x1c0 [ 12.523079][ C0] irq_exit_rcu+0xe/0x30 [ 12.523080][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 12.523082][ C0] [ 12.523082][ C0] [ 12.523083][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 12.523085][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 12.523086][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 12.523088][ C0] Code: 48 8b 3d 94 92 68 02 e8 1f 00 00 00 48 2b 05 58 e3 a0 00 c3 0f 1f 80 00 00 00 00 f3 0f 1e fa eb 07 0f 00 2d 13 16 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 [ 12.523089][ C0] RSP: 0018:ffffffff8aa07cf8 EFLAGS: 00000296 [ 12.523090][ C0] RAX: 000000000006b845 RBX: ffffffff8aa30600 RCX: ffffffff87106247 [ 12.523090][ C0] RDX: ffffffff8aa30600 RSI: ffffffff8a311042 RDI: ffffffff89c949e0 [ 12.523091][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 12.523092][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff1540fa2 [ 12.523092][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 12.523094][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 12.523096][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 12.523097][ C0] default_idle+0x9/0x10 [ 12.523099][ C0] default_idle_call+0x6e/0xb0 [ 12.523100][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 12.523102][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 12.523103][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 12.523105][ C0] ? rcu_is_watching+0x16/0xd0 [ 12.523106][ C0] do_idle+0xd8/0x190 [ 12.523108][ C0] cpu_startup_entry+0x53/0x70 [ 12.523109][ C0] rest_init+0x279/0x280 [ 12.523111][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 12.523113][ C0] ? rest_init+0x280/0x280 [ 12.523115][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 12.523117][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 12.523118][ C0] ? acpi_enable+0x1e4/0x330 [ 12.523120][ C0] start_kernel+0x3b9/0x3c0 [ 12.523122][ C0] x86_64_start_reservations+0x24/0x30 [ 12.523123][ C0] x86_64_start_kernel+0x12b/0x130 [ 12.523125][ C0] common_startup_64+0x13e/0x148 [ 12.523128][ C0]