[ 10.383250][ T195] ip (195) used greatest stack depth: 24112 bytes left [ 10.383269][ T195] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 10.383271][ T195] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 195, name: ip [ 10.383273][ T195] preempt_count: 2, expected: 0 [ 10.383273][ T195] RCU nest depth: 0, expected: 0 [ 10.383274][ T195] locks held by ip/195: 5, last CPU#0: [ 10.383277][ T195] #0: ffffffff918167b8 (low_water_lock){+.+.}-{3:3}, at: do_exit+0x887/0xdc0 [ 10.383288][ T195] #1: ffffffff9197ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 10.383293][ T195] #2: ffffffff9197de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 10.383298][ T195] #3: ffffffff9189d760 (console_owner){....}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 10.383302][ T195] #4: ffffffff9189d660 (printk_legacy_map-wait-type-override){....}-{3:3}, at: console_emit_next_record+0x1df/0x4c0 [ 10.383305][ T195] irq event stamp: 20152 [ 10.383306][ T195] hardirqs last enabled at (20151): [] __down_trylock_console_sem+0x86/0xa0 [ 10.383309][ T195] hardirqs last disabled at (20152): [] console_emit_next_record+0x3d4/0x4c0 [ 10.383312][ T195] softirqs last enabled at (18564): [] netlink_release+0x17b/0xcf0 [ 10.383316][ T195] softirqs last disabled at (18562): [] netlink_release+0xd2/0xcf0 [ 10.383318][ T195] Preemption disabled at: [ 10.383319][ T195] [<0000000000000000>] 0x0 [ 10.383326][ T195] CPU: 0 UID: 0 PID: 195 Comm: ip Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 10.383329][ T195] Tainted: [W]=WARN [ 10.383330][ T195] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 10.383332][ T195] Call Trace: [ 10.383333][ T195] [ 10.383335][ T195] dump_stack_lvl+0x6f/0xa0 [ 10.383347][ T195] __might_resched.cold+0x1fe/0x2c1 [ 10.383352][ T195] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 10.383356][ T195] ? __kmalloc_noprof+0xdb/0x760 [ 10.383360][ T195] __kmalloc_noprof+0x443/0x760 [ 10.383362][ T195] ? alloc_buf.isra.0+0x4b/0x260 [ 10.383369][ T195] ? do_raw_spin_unlock+0x59/0x250 [ 10.383372][ T195] alloc_buf.isra.0+0x4b/0x260 [ 10.383375][ T195] put_chars+0x1e1/0x2f0 [ 10.383378][ T195] ? __send_to_port+0x420/0x420 [ 10.383379][ T195] ? rcu_lockdep_current_cpu_online+0x3f/0x1b0 [ 10.383382][ T195] ? validate_chain+0x38b/0xc20 [ 10.383388][ T195] hvc_console_print+0x292/0x780 [ 10.383395][ T195] ? hvc_write+0x3a0/0x3a0 [ 10.383398][ T195] ? rcu_is_watching+0x16/0xd0 [ 10.383400][ T195] ? lock_acquire+0x13c/0x160 [ 10.383403][ T195] console_emit_next_record+0x22f/0x4c0 [ 10.383407][ T195] ? devkmsg_read+0x4b0/0x4b0 [ 10.383409][ T195] ? console_flush_one_record+0x106/0x710 [ 10.383412][ T195] ? rcu_is_watching+0x16/0xd0 [ 10.383414][ T195] ? lock_acquire+0x13c/0x160 [ 10.383418][ T195] console_flush_one_record+0x46f/0x710 [ 10.383422][ T195] ? console_emit_next_record+0x4c0/0x4c0 [ 10.383424][ T195] ? __lock_acquire+0x518/0xc20 [ 10.383429][ T195] console_unlock+0xee/0x1f0 [ 10.383432][ T195] ? console_flush_one_record+0x710/0x710 [ 10.383434][ T195] ? rcu_is_watching+0x16/0xd0 [ 10.383436][ T195] ? lock_acquire+0xe0/0x160 [ 10.383439][ T195] ? __down_trylock_console_sem+0x5e/0xa0 [ 10.383441][ T195] ? vprintk_emit+0x320/0x3e0 [ 10.383444][ T195] vprintk_emit+0x37c/0x3e0 [ 10.383447][ T195] ? wake_up_klogd_work_func+0x90/0x90 [ 10.383450][ T195] ? __lock_acquire+0x518/0xc20 [ 10.383453][ T195] _printk+0xc7/0x100 [ 10.383457][ T195] ? snapshot_read.cold+0x21/0x21 [ 10.383460][ T195] ? do_raw_spin_lock+0x131/0x280 [ 10.383462][ T195] ? __rwlock_init+0x150/0x150 [ 10.383466][ T195] ? do_raw_spin_lock+0x131/0x280 [ 10.383469][ T195] do_exit.cold+0x82/0x9c [ 10.383472][ T195] ? exit_notify+0x890/0x890 [ 10.383474][ T195] ? __lock_release.isra.0+0x69/0x1a0 [ 10.383476][ T195] ? rcu_is_watching+0x16/0xd0 [ 10.383480][ T195] do_group_exit+0xb8/0x370 [ 10.383482][ T195] __x64_sys_exit_group+0x3c/0x50 [ 10.383484][ T195] x64_sys_call+0x1567/0x1570 [ 10.383487][ T195] do_syscall_64+0xff/0x530 [ 10.383491][ T195] ? exc_page_fault+0xee/0x100 [ 10.383494][ T195] entry_SYSCALL_64_after_hwframe+0x4b/0x53 [ 10.383496][ T195] RIP: 0033:0x7f379f57e1b8 [ 10.383498][ T195] Code: Unable to access opcode bytes at 0x7f379f57e18e. [ 10.383499][ T195] RSP: 002b:00007ffea58ce568 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7 [ 10.383501][ T195] RAX: ffffffffffffffda RBX: 00007f379f6aef88 RCX: 00007f379f57e1b8 [ 10.383502][ T195] RDX: 00007f379f2c8fc8 RSI: fffffffffffffeb8 RDI: 0000000000000000 [ 10.383503][ T195] RBP: 00007ffea58ce5c0 R08: 0000000000000000 R09: 0000000000000050 [ 10.383504][ T195] R10: 00007ffea58ce380 R11: 0000000000000246 R12: 0000000000000001 [ 10.383505][ T195] R13: 0000000000000000 R14: 00007f379f6ad680 R15: 00007f379f6aefa0 [ 10.383512][ T195] [ 10.473198][ T197] ip (197) used greatest stack depth: 23856 bytes left [ 15.993408][ C0] clocksource: Watchdog remote CPU 2 read timed out [ 15.993565][ C0] [ 15.993567][ C0] ======================================================== [ 15.993568][ C0] WARNING: possible irq lock inversion dependency detected [ 15.993570][ C0] 7.2.0-virtme #1 Tainted: G W [ 15.993572][ C0] -------------------------------------------------------- [ 15.993572][ C0] swapper/0/0 just changed the state of lock: [ 15.993574][ C0] ffffffff9189d760 (console_owner){..-.}-{0:0}, at: console_lock_spinning_enable+0x40/0x60 [ 15.993586][ C0] but this lock took another, SOFTIRQ-unsafe lock in the past: [ 15.993588][ C0] (fs_reclaim){+.+.}-{0:0} [ 15.993589][ C0] [ 15.993589][ C0] [ 15.993589][ C0] and interrupts could create inverse lock ordering between them. [ 15.993589][ C0] [ 15.993590][ C0] [ 15.993590][ C0] other info that might help us debug this: [ 15.993591][ C0] Possible interrupt unsafe locking scenario: [ 15.993591][ C0] [ 15.993592][ C0] CPU0 CPU1 [ 15.993592][ C0] ---- ---- [ 15.993592][ C0] lock(fs_reclaim); [ 15.993593][ C0] local_irq_disable(); [ 15.993594][ C0] lock(console_owner); [ 15.993595][ C0] lock(fs_reclaim); [ 15.993596][ C0] [ 15.993596][ C0] lock(console_owner); [ 15.993597][ C0] [ 15.993597][ C0] *** DEADLOCK *** [ 15.993597][ C0] [ 15.993598][ C0] locks held by swapper/0/0: 4, last CPU#0: [ 15.993599][ C0] #0: ffa0000000007c90 ((&watchdog_timer)){+.-.}-{0:0}, at: call_timer_fn+0x110/0x4d0 [ 15.993605][ C0] #1: ffffffff919e29f8 (watchdog_lock){+.-.}-{3:3}, at: clocksource_watchdog+0x15/0x30 [ 15.993609][ C0] #2: ffffffff9197ddc0 (console_lock){+.+.}-{0:0}, at: vprintk_emit+0x320/0x3e0 [ 15.993612][ C0] #3: ffffffff9197de38 (console_srcu){....}-{0:0}, at: console_flush_one_record+0x106/0x710 [ 15.993616][ C0] [ 15.993616][ C0] the shortest dependencies between 2nd lock and 1st lock: [ 15.993620][ C0] -> (fs_reclaim){+.+.}-{0:0} { [ 15.993623][ C0] HARDIRQ-ON-W at: [ 15.993624][ C0] __lock_acquire+0x388/0xc20 [ 15.993627][ C0] lock_acquire.part.0+0xd4/0x280 [ 15.993629][ C0] fs_reclaim_acquire+0xd5/0x120 [ 15.993632][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 15.993634][ C0] kthread_create_worker_on_node+0xea/0x210 [ 15.993637][ C0] workqueue_init+0x2a/0x680 [ 15.993641][ C0] kernel_init_freeable+0x2fe/0x630 [ 15.993644][ C0] kernel_init+0x21/0x150 [ 15.993648][ C0] ret_from_fork+0x474/0x6b0 [ 15.993651][ C0] ret_from_fork_asm+0x11/0x20 [ 15.993654][ C0] SOFTIRQ-ON-W at: [ 15.993655][ C0] __lock_acquire+0x388/0xc20 [ 15.993656][ C0] lock_acquire.part.0+0xd4/0x280 [ 15.993658][ C0] fs_reclaim_acquire+0xd5/0x120 [ 15.993659][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 15.993660][ C0] kthread_create_worker_on_node+0xea/0x210 [ 15.993662][ C0] workqueue_init+0x2a/0x680 [ 15.993663][ C0] kernel_init_freeable+0x2fe/0x630 [ 15.993665][ C0] kernel_init+0x21/0x150 [ 15.993666][ C0] ret_from_fork+0x474/0x6b0 [ 15.993668][ C0] ret_from_fork_asm+0x11/0x20 [ 15.993669][ C0] INITIAL USE at: [ 15.993670][ C0] __lock_acquire+0x388/0xc20 [ 15.993671][ C0] lock_acquire.part.0+0xd4/0x280 [ 15.993673][ C0] fs_reclaim_acquire+0xd5/0x120 [ 15.993674][ C0] __kmalloc_cache_noprof+0x6e/0x620 [ 15.993675][ C0] kthread_create_worker_on_node+0xea/0x210 [ 15.993677][ C0] workqueue_init+0x2a/0x680 [ 15.993679][ C0] kernel_init_freeable+0x2fe/0x630 [ 15.993680][ C0] kernel_init+0x21/0x150 [ 15.993682][ C0] ret_from_fork+0x474/0x6b0 [ 15.993683][ C0] ret_from_fork_asm+0x11/0x20 [ 15.993685][ C0] } [ 15.993685][ C0] ... key at: [] __fs_reclaim_map+0x0/0xbe0 [ 15.993689][ C0] ... acquired at: [ 15.993690][ C0] __lock_acquire+0x518/0xc20 [ 15.993691][ C0] lock_acquire.part.0+0xd4/0x280 [ 15.993693][ C0] fs_reclaim_acquire+0xd5/0x120 [ 15.993694][ C0] __kmalloc_noprof+0xd3/0x760 [ 15.993695][ C0] alloc_buf.isra.0+0x4b/0x260 [ 15.993699][ C0] put_chars+0x1e1/0x2f0 [ 15.993700][ C0] hvc_console_print+0x292/0x780 [ 15.993703][ C0] console_emit_next_record+0x22f/0x4c0 [ 15.993705][ C0] console_flush_one_record+0x46f/0x710 [ 15.993707][ C0] console_unlock+0xee/0x1f0 [ 15.993709][ C0] vprintk_emit+0x37c/0x3e0 [ 15.993709][ C0] _printk+0xc7/0x100 [ 15.993713][ C0] tun_init+0x24/0xb0 [ 15.993715][ C0] do_one_initcall+0x124/0x4f0 [ 15.993717][ C0] kernel_init_freeable+0x596/0x630 [ 15.993718][ C0] kernel_init+0x21/0x150 [ 15.993720][ C0] ret_from_fork+0x474/0x6b0 [ 15.993721][ C0] ret_from_fork_asm+0x11/0x20 [ 15.993723][ C0] [ 15.993723][ C0] -> (console_owner){..-.}-{0:0} { [ 15.993725][ C0] IN-SOFTIRQ-W at: [ 15.993726][ C0] __lock_acquire+0x388/0xc20 [ 15.993727][ C0] lock_acquire.part.0+0xd4/0x280 [ 15.993729][ C0] console_lock_spinning_enable+0x5c/0x60 [ 15.993730][ C0] console_emit_next_record+0x1d1/0x4c0 [ 15.993732][ C0] console_flush_one_record+0x46f/0x710 [ 15.993734][ C0] console_unlock+0xee/0x1f0 [ 15.993736][ C0] vprintk_emit+0x37c/0x3e0 [ 15.993736][ C0] _printk+0xc7/0x100 [ 15.993738][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 15.993740][ C0] call_timer_fn+0x160/0x4d0 [ 15.993742][ C0] __run_timers+0x68f/0xaa0 [ 15.993744][ C0] run_timer_softirq+0xf0/0x160 [ 15.993746][ C0] handle_softirqs+0x1d3/0x900 [ 15.993748][ C0] __irq_exit_rcu+0x145/0x1c0 [ 15.993750][ C0] irq_exit_rcu+0xe/0x30 [ 15.993751][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 15.993753][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.993754][ C0] pv_native_safe_halt+0xf/0x10 [ 15.993756][ C0] default_idle+0x9/0x10 [ 15.993757][ C0] default_idle_call+0x6e/0xb0 [ 15.993758][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 15.993761][ C0] do_idle+0xd8/0x190 [ 15.993762][ C0] cpu_startup_entry+0x53/0x70 [ 15.993764][ C0] rest_init+0x279/0x280 [ 15.993765][ C0] start_kernel+0x3b9/0x3c0 [ 15.993767][ C0] x86_64_start_reservations+0x24/0x30 [ 15.993769][ C0] x86_64_start_kernel+0x12b/0x130 [ 15.993770][ C0] common_startup_64+0x13e/0x148 [ 15.993773][ C0] INITIAL USE at: [ 15.993774][ C0] } [ 15.993774][ C0] ... key at: [] console_owner_dep_map+0x0/0x60 [ 15.993777][ C0] ... acquired at: [ 15.993777][ C0] mark_lock+0x1d7/0xa00 [ 15.993779][ C0] mark_usage+0x42/0x170 [ 15.993780][ C0] __lock_acquire+0x388/0xc20 [ 15.993782][ C0] lock_acquire.part.0+0xd4/0x280 [ 15.993783][ C0] console_lock_spinning_enable+0x5c/0x60 [ 15.993785][ C0] console_emit_next_record+0x1d1/0x4c0 [ 15.993787][ C0] console_flush_one_record+0x46f/0x710 [ 15.993788][ C0] console_unlock+0xee/0x1f0 [ 15.993790][ C0] vprintk_emit+0x37c/0x3e0 [ 15.993791][ C0] _printk+0xc7/0x100 [ 15.993792][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 15.993793][ C0] call_timer_fn+0x160/0x4d0 [ 15.993795][ C0] __run_timers+0x68f/0xaa0 [ 15.993796][ C0] run_timer_softirq+0xf0/0x160 [ 15.993798][ C0] handle_softirqs+0x1d3/0x900 [ 15.993799][ C0] __irq_exit_rcu+0x145/0x1c0 [ 15.993800][ C0] irq_exit_rcu+0xe/0x30 [ 15.993802][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 15.993803][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.993804][ C0] pv_native_safe_halt+0xf/0x10 [ 15.993805][ C0] default_idle+0x9/0x10 [ 15.993807][ C0] default_idle_call+0x6e/0xb0 [ 15.993808][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 15.993809][ C0] do_idle+0xd8/0x190 [ 15.993810][ C0] cpu_startup_entry+0x53/0x70 [ 15.993812][ C0] rest_init+0x279/0x280 [ 15.993813][ C0] start_kernel+0x3b9/0x3c0 [ 15.993815][ C0] x86_64_start_reservations+0x24/0x30 [ 15.993816][ C0] x86_64_start_kernel+0x12b/0x130 [ 15.993817][ C0] common_startup_64+0x13e/0x148 [ 15.993818][ C0] [ 15.993819][ C0] [ 15.993819][ C0] stack backtrace: [ 15.993821][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 15.993824][ C0] Tainted: [W]=WARN [ 15.993825][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.993827][ C0] Call Trace: [ 15.993828][ C0] [ 15.993829][ C0] dump_stack_lvl+0x6f/0xa0 [ 15.993834][ C0] print_irq_inversion_bug.part.0.cold+0xe6/0x143 [ 15.993836][ C0] mark_lock_irq+0x989/0x9c0 [ 15.993838][ C0] ? add_lock_to_list+0x2c/0x1a0 [ 15.993841][ C0] mark_lock+0x1d7/0xa00 [ 15.993843][ C0] mark_usage+0x42/0x170 [ 15.993845][ C0] __lock_acquire+0x388/0xc20 [ 15.993847][ C0] lock_acquire.part.0+0xd4/0x280 [ 15.993849][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 15.993851][ C0] ? rcu_is_watching+0x16/0xd0 [ 15.993854][ C0] ? lock_acquire+0x13c/0x160 [ 15.993856][ C0] console_lock_spinning_enable+0x5c/0x60 [ 15.993858][ C0] ? console_lock_spinning_enable+0x40/0x60 [ 15.993859][ C0] console_emit_next_record+0x1d1/0x4c0 [ 15.993862][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 15.993864][ C0] ? console_flush_one_record+0x106/0x710 [ 15.993866][ C0] ? rcu_is_watching+0x16/0xd0 [ 15.993867][ C0] ? lock_acquire+0x13c/0x160 [ 15.993869][ C0] console_flush_one_record+0x46f/0x710 [ 15.993872][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 15.993874][ C0] ? __lock_acquire+0x518/0xc20 [ 15.993876][ C0] console_unlock+0xee/0x1f0 [ 15.993878][ C0] ? console_flush_one_record+0x710/0x710 [ 15.993880][ C0] ? rcu_is_watching+0x16/0xd0 [ 15.993881][ C0] ? lock_acquire+0xe0/0x160 [ 15.993883][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 15.993886][ C0] ? vprintk_emit+0x320/0x3e0 [ 15.993887][ C0] vprintk_emit+0x37c/0x3e0 [ 15.993889][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 15.993891][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 15.993893][ C0] _printk+0xc7/0x100 [ 15.993894][ C0] ? snapshot_read.cold+0x21/0x21 [ 15.993896][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 15.993898][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 15.993901][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 15.993902][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 15.993904][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 15.993906][ C0] call_timer_fn+0x160/0x4d0 [ 15.993908][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 15.993910][ C0] ? debug_object_active_state+0x430/0x430 [ 15.993913][ C0] ? find_held_lock+0x2b/0x80 [ 15.993915][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 15.993917][ C0] ? rcu_is_watching+0x16/0xd0 [ 15.993918][ C0] __run_timers+0x68f/0xaa0 [ 15.993920][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 15.993923][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 15.993924][ C0] ? __lock_acquire+0x518/0xc20 [ 15.993927][ C0] ? __rwlock_init+0x150/0x150 [ 15.993930][ C0] run_timer_softirq+0xf0/0x160 [ 15.993932][ C0] ? __run_timers+0xaa0/0xaa0 [ 15.993934][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 15.993937][ C0] ? rcu_is_watching+0x16/0xd0 [ 15.993938][ C0] handle_softirqs+0x1d3/0x900 [ 15.993940][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 15.993942][ C0] ? _local_bh_enable+0xc0/0xc0 [ 15.993944][ C0] __irq_exit_rcu+0x145/0x1c0 [ 15.993946][ C0] irq_exit_rcu+0xe/0x30 [ 15.993947][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 15.993949][ C0] [ 15.993950][ C0] [ 15.993950][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 15.993952][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.993954][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 15.993956][ 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 [ 15.993958][ C0] RSP: 0018:ffffffff91607cf8 EFLAGS: 00000296 [ 15.993960][ C0] RAX: 00000000000a9539 RBX: ffffffff91630600 RCX: ffffffff8dd06247 [ 15.993961][ C0] RDX: ffffffff91630600 RSI: ffffffff90f11027 RDI: ffffffff908949e0 [ 15.993962][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 15.993963][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff22c0fa2 [ 15.993964][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 15.993966][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 15.993968][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 15.993970][ C0] default_idle+0x9/0x10 [ 15.993971][ C0] default_idle_call+0x6e/0xb0 [ 15.993973][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 15.993975][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 15.993976][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 15.993979][ C0] ? rcu_is_watching+0x16/0xd0 [ 15.993981][ C0] do_idle+0xd8/0x190 [ 15.993982][ C0] cpu_startup_entry+0x53/0x70 [ 15.993984][ C0] rest_init+0x279/0x280 [ 15.993986][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 15.993989][ C0] ? rest_init+0x280/0x280 [ 15.993990][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 15.993994][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 15.993996][ C0] ? acpi_enable+0x1e4/0x330 [ 15.993998][ C0] start_kernel+0x3b9/0x3c0 [ 15.994000][ C0] x86_64_start_reservations+0x24/0x30 [ 15.994001][ C0] x86_64_start_kernel+0x12b/0x130 [ 15.994003][ C0] common_startup_64+0x13e/0x148 [ 15.994006][ C0] [ 15.994010][ C0] BUG: sleeping function called from invalid context at ./include/linux/sched/mm.h:322 [ 15.994012][ C0] in_atomic(): 1, irqs_disabled(): 1, non_block: 0, pid: 0, name: swapper/0 [ 15.994013][ C0] preempt_count: 103, expected: 0 [ 15.994014][ C0] RCU nest depth: 0, expected: 0 [ 15.994015][ C0] INFO: lockdep is turned off. [ 15.994015][ C0] irq event stamp: 693577 [ 15.994016][ C0] hardirqs last enabled at (693576): [] __down_trylock_console_sem+0x86/0xa0 [ 15.994019][ C0] hardirqs last disabled at (693577): [] console_emit_next_record+0x3d4/0x4c0 [ 15.994021][ C0] softirqs last enabled at (693556): [] handle_softirqs+0x67c/0x900 [ 15.994023][ C0] softirqs last disabled at (693563): [] __irq_exit_rcu+0x145/0x1c0 [ 15.994024][ C0] Preemption disabled at: [ 15.994025][ C0] [] schedule_preempt_disabled+0x22/0x30 [ 15.994028][ C0] CPU: 0 UID: 0 PID: 0 Comm: swapper/0 Tainted: G W 7.2.0-virtme #1 PREEMPT(full) [ 15.994030][ C0] Tainted: [W]=WARN [ 15.994031][ C0] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 15.994031][ C0] Call Trace: [ 15.994032][ C0] [ 15.994033][ C0] dump_stack_lvl+0x6f/0xa0 [ 15.994035][ C0] ? schedule_preempt_disabled+0x22/0x30 [ 15.994037][ C0] __might_resched.cold+0x1fe/0x2c1 [ 15.994040][ C0] ? perf_trace_sched_switch+0x7c0/0x7c0 [ 15.994042][ C0] ? rcu_is_watching+0x16/0xd0 [ 15.994044][ C0] __kmalloc_noprof+0x443/0x760 [ 15.994045][ C0] ? __rwlock_init+0x150/0x150 [ 15.994047][ C0] ? alloc_buf.isra.0+0x4b/0x260 [ 15.994050][ C0] ? do_raw_spin_unlock+0x59/0x250 [ 15.994051][ C0] alloc_buf.isra.0+0x4b/0x260 [ 15.994054][ C0] put_chars+0x1e1/0x2f0 [ 15.994056][ C0] ? __send_to_port+0x420/0x420 [ 15.994058][ C0] ? mark_lock+0x1d7/0xa00 [ 15.994060][ C0] hvc_console_print+0x292/0x780 [ 15.994063][ C0] ? hvc_write+0x3a0/0x3a0 [ 15.994065][ C0] ? rcu_is_watching+0x16/0xd0 [ 15.994066][ C0] ? rcu_is_watching+0x16/0xd0 [ 15.994068][ C0] console_emit_next_record+0x22f/0x4c0 [ 15.994070][ C0] ? devkmsg_read+0x4b0/0x4b0 [ 15.994072][ C0] ? console_flush_one_record+0x106/0x710 [ 15.994074][ C0] ? rcu_is_watching+0x16/0xd0 [ 15.994075][ C0] ? lock_acquire+0x13c/0x160 [ 15.994078][ C0] console_flush_one_record+0x46f/0x710 [ 15.994080][ C0] ? console_emit_next_record+0x4c0/0x4c0 [ 15.994082][ C0] ? __lock_acquire+0x518/0xc20 [ 15.994084][ C0] console_unlock+0xee/0x1f0 [ 15.994087][ C0] ? console_flush_one_record+0x710/0x710 [ 15.994088][ C0] ? rcu_is_watching+0x16/0xd0 [ 15.994090][ C0] ? lock_acquire+0xe0/0x160 [ 15.994092][ C0] ? __down_trylock_console_sem+0x5e/0xa0 [ 15.994093][ C0] ? vprintk_emit+0x320/0x3e0 [ 15.994095][ C0] vprintk_emit+0x37c/0x3e0 [ 15.994096][ C0] ? wake_up_klogd_work_func+0x90/0x90 [ 15.994098][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 15.994100][ C0] _printk+0xc7/0x100 [ 15.994102][ C0] ? snapshot_read.cold+0x21/0x21 [ 15.994104][ C0] ? clocksource_watchdog.part.0+0x450/0x540 [ 15.994106][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 15.994108][ C0] clocksource_watchdog.part.0.cold+0x105/0x1dd [ 15.994110][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 15.994112][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 15.994113][ C0] call_timer_fn+0x160/0x4d0 [ 15.994116][ C0] ? detach_if_pending+0x1d0/0x1d0 [ 15.994117][ C0] ? debug_object_active_state+0x430/0x430 [ 15.994119][ C0] ? find_held_lock+0x2b/0x80 [ 15.994121][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 15.994123][ C0] ? rcu_is_watching+0x16/0xd0 [ 15.994124][ C0] __run_timers+0x68f/0xaa0 [ 15.994126][ C0] ? clocksource_watchdog.part.0+0x540/0x540 [ 15.994129][ C0] ? __bpf_trace_itimer_expire+0x10/0x10 [ 15.994131][ C0] ? __lock_acquire+0x518/0xc20 [ 15.994134][ C0] ? __rwlock_init+0x150/0x150 [ 15.994136][ C0] run_timer_softirq+0xf0/0x160 [ 15.994138][ C0] ? __run_timers+0xaa0/0xaa0 [ 15.994140][ C0] ? trace_irq_enable.constprop.0+0x9b/0x160 [ 15.994142][ C0] ? rcu_is_watching+0x16/0xd0 [ 15.994143][ C0] handle_softirqs+0x1d3/0x900 [ 15.994145][ C0] ? __lock_release.isra.0+0x69/0x1a0 [ 15.994147][ C0] ? _local_bh_enable+0xc0/0xc0 [ 15.994149][ C0] __irq_exit_rcu+0x145/0x1c0 [ 15.994150][ C0] irq_exit_rcu+0xe/0x30 [ 15.994152][ C0] sysvec_apic_timer_interrupt+0x9d/0xe0 [ 15.994154][ C0] [ 15.994154][ C0] [ 15.994155][ C0] ? lockdep_hardirqs_on_prepare.part.0+0x9a/0x160 [ 15.994157][ C0] asm_sysvec_apic_timer_interrupt+0x1a/0x20 [ 15.994158][ C0] RIP: 0010:pv_native_safe_halt+0xf/0x10 [ 15.994160][ 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 [ 15.994161][ C0] RSP: 0018:ffffffff91607cf8 EFLAGS: 00000296 [ 15.994162][ C0] RAX: 00000000000a9539 RBX: ffffffff91630600 RCX: ffffffff8dd06247 [ 15.994163][ C0] RDX: ffffffff91630600 RSI: ffffffff90f11027 RDI: ffffffff908949e0 [ 15.994163][ C0] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [ 15.994164][ C0] R10: 0000000000000000 R11: 0000000000000001 R12: 1ffffffff22c0fa2 [ 15.994165][ C0] R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000014770 [ 15.994166][ C0] ? cpuidle_idle_call.constprop.0+0x237/0x410 [ 15.994169][ C0] ? lockdep_hardirqs_on+0x91/0x130 [ 15.994170][ C0] default_idle+0x9/0x10 [ 15.994172][ C0] default_idle_call+0x6e/0xb0 [ 15.994173][ C0] cpuidle_idle_call.constprop.0+0x237/0x410 [ 15.994175][ C0] ? arch_cpu_idle_exit+0x40/0x40 [ 15.994177][ C0] ? mark_tsc_async_resets+0x30/0x30 [ 15.994179][ C0] ? rcu_is_watching+0x16/0xd0 [ 15.994180][ C0] do_idle+0xd8/0x190 [ 15.994182][ C0] cpu_startup_entry+0x53/0x70 [ 15.994183][ C0] rest_init+0x279/0x280 [ 15.994185][ C0] ? __cpuidle_text_end+0x3b/0x3b [ 15.994188][ C0] ? rest_init+0x280/0x280 [ 15.994190][ C0] ? acpi_hw_set_mode+0x4a0/0x4a0 [ 15.994192][ C0] ? cpus_read_unlock+0x4f/0xc0 [ 15.994193][ C0] ? acpi_enable+0x1e4/0x330 [ 15.994195][ C0] start_kernel+0x3b9/0x3c0 [ 15.994197][ C0] x86_64_start_reservations+0x24/0x30 [ 15.994198][ C0] x86_64_start_kernel+0x12b/0x130 [ 15.994200][ C0] common_startup_64+0x13e/0x148 [ 15.994203][ C0]