WARNING: CPU: 4 PID: 1643 at kernel/workqueue.c:1790
I am getting this warning in the kernel logs after rebooting the laptop. It is not resuming, it is a fresh start. I use kernel 6.8.4 but see it on later too, but I can't use them as every later kernel freezes my system.
I am not sure if it is a video driver related issue, but as nouveau_display_hpd_resume came up in the stack trace I picked that category.
[ 56.407501] ------------[ cut here ]------------
[ 56.407504] WARNING: CPU: 4 PID: 1643 at kernel/workqueue.c:1790 __queue_work.part.0+0x30c/0x3e0
[ 56.407509] Modules linked in: nf_conntrack_netlink xfrm_user xfrm_algo xt_addrtype br_netfilter vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) ccm rfcomm snd_seq_dummy snd_hrtimer snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq snd_seq_device xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp
nft_compat nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables bridge stp llc overlay cmac algif_hash algif_skcipher af_alg qrtr bnep btusb uvcvideo btrtl videobuf2_vmalloc btintel uvc videobuf2_memops btbcm videobuf2_v4l2 btmtk videodev snd_ctl_led bluetooth snd_soc_skl_hda_dsp videobuf2_common
snd_soc_hdac_hdmi ecdh_generic mc snd_soc_intel_hda_dsp_common snd_sof_probes ecc xe snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic drm_suballoc_helper snd_soc_dmic intel_uncore_frequency intel_uncore_frequency_common intel_tcc_cooling x86_pkg_temp_thermal intel_powerclamp binfmt_misc snd_sof_pci_intel_
tgl snd_sof_intel_hda_common soundwire_intel snd_sof_intel_hda_mlink
[ 56.407545] soundwire_cadence snd_sof_intel_hda snd_sof_pci nls_iso8859_1 snd_sof_xtensa_dsp snd_sof snd_sof_utils snd_soc_hdac_hda iwlmvm snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi soundwire_generic_allocation coretemp soundwire_bus mac80211 snd_soc_core cmdlinepart kvm_intel spi_nor snd_compress ac97_
bus ee1004 mei_pxp mei_hdcp mtd intel_rapl_msr libarc4 snd_pcm_dmaengine nouveau kvm i915 snd_hda_intel snd_intel_dspcfg irqbypass snd_intel_sdw_acpi processor_thermal_device_pci_legacy iwlwifi snd_hda_codec rapl processor_thermal_device mxm_wmi drm_gpuvm snd_hda_core drm_exec processor_thermal_wt_hint intel_cstate pro
cessor_thermal_rfim snd_hwdep think_lmi processor_thermal_rapl drm_buddy cfg80211 gpu_sched firmware_attributes_class wmi_bmof drm_ttm_helper snd_pcm mei_me ttm drm_display_helper intel_rapl_common i2c_i801 snd_timer spi_intel_pci processor_thermal_wt_req cec mei spi_intel i2c_smbus processor_thermal_power_floor rc_cor
e igen6_edac processor_thermal_mbox i2c_algo_bit intel_soc_dts_iosf
[ 56.407579] thinkpad_acpi intel_pmc_core int3403_thermal nvram intel_vsec int340x_thermal_zone pmt_telemetry intel_hid pmt_class joydev acpi_pad int3400_thermal input_leds acpi_tad sparse_keymap acpi_thermal_rel mac_hid serio_raw msr parport_pc ppdev lp parport efi_pstore nfnetlink dmi_sysfs ip_tables x_tables auto
fs4 btrfs blake2b_generic dm_crypt raid10 raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor raid6_pq libcrc32c raid1 raid0 ax88179_178a usbnet mii crct10dif_pclmul crc32_pclmul polyval_clmulni polyval_generic ghash_clmulni_intel sha256_ssse3 snd sha1_ssse3 nvme sdhci_pci cqhci soundcore psmouse vid
eo e1000e sdhci nvme_core ucsi_acpi thunderbolt typec_ucsi xhci_pci nvme_auth xhci_pci_renesas typec ledtrig_audio platform_profile wmi pinctrl_tigerlake aesni_intel crypto_simd cryptd
[ 56.407614] CPU: 4 PID: 1643 Comm: systemd-logind Tainted: G S OE 6.8.4-060804-generic #202404041833
[ 56.407615] Hardware name: LENOVO 20VX0010GE/20VX0010GE, BIOS N34ET61W (1.61 ) 03/08/2024
[ 56.407616] RIP: 0010:__queue_work.part.0+0x30c/0x3e0
[ 56.407619] Code: 4c 8b 30 49 89 c7 49 39 fe 0f 84 5a fe ff ff 0f 0b e9 53 fe ff ff 65 8b 3d fd df b0 4a e8 3c c0 ff ff 89 45 d0 e9 23 fd ff ff <0f> 0b e9 e2 fe ff ff 48 8b 0b 44 89 e0 49 8d 57 68 83 c8 07 83 e1
[ 56.407620] RSP: 0018:ffffbb9900b87878 EFLAGS: 00010082
[ 56.407621] RAX: 0000000000000000 RBX: ffff97d20afe14c0 RCX: 0000000000000000
[ 56.407622] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[ 56.407623] RBP: ffffbb9900b878b0 R08: 0000000000000000 R09: 0000000000000000
[ 56.407624] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000002000
[ 56.407624] R13: ffff97d20afe14c8 R14: ffff97d8ff634540 R15: ffff97d1c01de600
[ 56.407625] FS: 000076f16b41e4c0(0000) GS:ffff97d8ff600000(0000) knlGS:0000000000000000
[ 56.407626] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 56.407627] CR2: 00007ffe834046b8 CR3: 00000001d5f94004 CR4: 0000000000f70ef0
[ 56.407628] PKRU: 55555554
[ 56.407629] Call Trace:
[ 56.407630] <TASK>
[ 56.407632] ? show_regs+0x6d/0x80
[ 56.407635] ? __warn+0x89/0x160
[ 56.407637] ? __queue_work.part.0+0x30c/0x3e0
[ 56.407639] ? report_bug+0x17e/0x1b0
[ 56.407642] ? handle_bug+0x51/0xa0
[ 56.407645] ? exc_invalid_op+0x18/0x80
[ 56.407646] ? asm_exc_invalid_op+0x1b/0x20
[ 56.407650] ? __queue_work.part.0+0x30c/0x3e0
[ 56.407652] ? __queue_work.part.0+0xf7/0x3e0
[ 56.407653] ? __pfx_pci_pm_runtime_resume+0x10/0x10
[ 56.407656] __queue_work+0x36/0xa0
[ 56.407658] queue_work_on+0x67/0x70
[ 56.407660] nouveau_display_hpd_resume+0x49/0x60 [nouveau]
[ 56.407750] nouveau_pmops_runtime_resume+0xef/0x1a0 [nouveau]
[ 56.407830] pci_pm_runtime_resume+0xa0/0x100
[ 56.407831] __rpm_callback+0x4d/0x170
[ 56.407834] rpm_callback+0x6d/0x80
[ 56.407836] ? __pfx_pci_pm_runtime_resume+0x10/0x10
[ 56.407837] rpm_resume+0x594/0x7e0
[ 56.407839] ? xa_load+0x87/0xf0
[ 56.407841] __pm_runtime_resume+0x4e/0x80
[ 56.407843] nouveau_drm_open+0x6d/0x1f0 [nouveau]
[ 56.407920] drm_file_alloc+0x1ea/0x2b0
[ 56.407922] drm_open_helper+0x77/0x130
[ 56.407924] ? drm_minor_acquire+0xb1/0x180
[ 56.407926] drm_open+0x6f/0x120
[ 56.407928] drm_stub_open+0xac/0xf0
[ 56.407929] chrdev_open+0xcf/0x250
[ 56.407933] ? __pfx_chrdev_open+0x10/0x10
[ 56.407935] do_dentry_open+0x21d/0x570
[ 56.407937] vfs_open+0x33/0x50
[ 56.407939] do_open+0x2ed/0x470
[ 56.407941] path_openat+0x135/0x2d0
[ 56.407943] do_filp_open+0xaf/0x170
[ 56.407945] do_sys_openat2+0xb3/0xe0
[ 56.407947] __x64_sys_openat+0x55/0xa0
[ 56.407948] do_syscall_64+0x82/0x180
[ 56.407950] ? syscall_exit_to_user_mode+0x86/0x260
[ 56.407953] ? do_syscall_64+0x92/0x180
[ 56.407954] ? syscall_exit_to_user_mode+0x86/0x260
[ 56.407956] ? do_syscall_64+0x92/0x180
[ 56.407957] ? do_syscall_64+0x92/0x180
[ 56.407959] ? do_syscall_64+0x92/0x180
[ 56.407960] ? irqentry_exit+0x43/0x50
[ 56.407962] entry_SYSCALL_64_after_hwframe+0x73/0x7b
[ 56.407965] RIP: 0033:0x76f16b31b175
[ 56.407984] Code: 83 e2 40 75 50 89 f0 f7 d0 a9 00 00 41 00 74 45 80 3d de fe 0e 00 00 74 60 89 da 4c 89 e6 bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 0f 87 7f 00 00 00 48 8b 55 b8 64 48 2b 14 25 28
[ 56.407985] RSP: 002b:00007ffcc934c080 EFLAGS: 00000202 ORIG_RAX: 0000000000000101
[ 56.407986] RAX: ffffffffffffffda RBX: 0000000000080902 RCX: 000076f16b31b175
[ 56.407987] RDX: 0000000000080902 RSI: 00005d2a548b88f0 RDI: 00000000ffffff9c
[ 56.407988] RBP: 00007ffcc934c0f0 R08: 0000000000000000 R09: 00005d2a54899bb0
[ 56.407989] R10: 0000000000000000 R11: 0000000000000202 R12: 00005d2a548b88f0
[ 56.407989] R13: 0000000000000001 R14: 0000000000000008 R15: 0000000000000001
[ 56.407991] </TASK>
[ 56.407991] ---[ end trace 0000000000000000 ]---
The issue was reported here first https://bugzilla.kernel.org/show_bug.cgi?id=218768 and I was told to report here.