Sometimes after resuming from sleep, the lid switch and the brightness up/down keys stop responding until the computer is rebooted. Sleeping manually using systemctl suspend still works fine. Brightness up/down is bound to the light utility in sway; running the light command manually still works. Volume up/down seems unaffected. The reason I suspect EC to be involved is that when things break, I get this: [16276.003614] ACPI: EC: interrupt blocked [16288.071173] ------------[ cut here ]------------ [16288.071184] WARNING: CPU: 1 PID: 10528 at kernel/workqueue.c:1413 __queue_work+0x2f1/0x370 [16288.071185] Modules linked in: rfcomm ccm cmac algif_hash algif_skcipher af_alg bnep binfmt_misc nls_iso8859_1 uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common btusb btrtl videodev btbcm btintel mc bluetooth ecdh_generic ecc snd_hda_codec_hdmi snd_sof_pci snd_sof_intel_byt snd_sof_intel_ipc snd_sof_intel_hda_common snd_soc_hdac_hda snd_sof_xtensa_dsp snd_hda_codec_realtek snd_sof_intel_hda mei_hdcp intel_rapl_msr snd_hda_codec_generic snd_sof snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi snd_soc_core snd_compress ac97_bus snd_pcm_dmaengine snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hda_core snd_hwdep x86_pkg_temp_thermal intel_powerclamp coretemp snd_pcm dell_laptop ledtrig_audio kvm_intel snd_seq_midi dell_smm_hwmon iwlmvm snd_seq_midi_event kvm snd_rawmidi mac80211 snd_seq libarc4 snd_seq_device rapl snd_timer intel_cstate dell_wmi hid_sensor_als input_leds snd dell_smbios hid_sensor_trigger dcdbas industrialio_triggered_buffer serio_raw [16288.071222] efi_pstore iwlwifi kfifo_buf mei_me dell_wmi_descriptor intel_wmi_thunderbolt wmi_bmof ucsi_acpi soundcore hid_sensor_iio_common mei industrialio processor_thermal_device typec_ucsi 8250_dw intel_rapl_common cros_ec_ishtp hid_multitouch joydev cfg80211 cros_ec intel_soc_dts_iosf typec int3403_thermal int340x_thermal_zone mac_hid intel_hid acpi_pad int3400_thermal sparse_keymap acpi_thermal_rel acpi_tad sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 btrfs blake2b_generic xor raid6_pq libcrc32c dm_crypt wacom usbhid hid_sensor_hub hid_generic intel_ishtp_loader intel_ishtp_hid rtsx_pci_sdmmc crct10dif_pclmul crc32_pclmul ghash_clmulni_intel i915 aesni_intel crypto_simd cryptd glue_helper psmouse i2c_algo_bit drm_kms_helper syscopyarea sysfillrect i2c_i801 sysimgblt nvme rtsx_pci fb_sys_fops i2c_smbus cec nvme_core rc_core intel_lpss_pci drm intel_lpss idma64 intel_ish_ipc virt_dma thunderbolt xhci_pci intel_ishtp xhci_pci_renesas wmi i2c_hid hid video [16288.071260] pinctrl_icelake pinctrl_intel [16288.071264] CPU: 1 PID: 10528 Comm: kworker/1:2 Not tainted 5.8.0-050800-generic #202008022230 [16288.071266] Hardware name: Dell Inc. XPS 13 9300/077Y9N, BIOS 1.1.0 07/07/2020 [16288.071271] Workqueue: kec_query acpi_ec_event_processor [16288.071275] RIP: 0010:__queue_work+0x2f1/0x370 [16288.071278] Code: e9 f6 fd ff ff 49 89 c6 e9 a8 fe ff ff 65 8b 05 65 ed 94 79 a9 00 01 ff 00 75 0f 65 48 8b 3c 25 c0 7b 01 00 f6 47 24 20 75 25 <0f> 0b 48 83 c4 18 5b 41 5c 41 5d 41 5e 41 5f 5d c3 0f 0b e9 de fe [16288.071279] RSP: 0018:ffffb493c39538b8 EFLAGS: 00010006 [16288.071282] RAX: ffff91630f474600 RBX: 0000000000000002 RCX: 0000000000000004 [16288.071283] RDX: ffff9162fa856e90 RSI: ffff9162fa879600 RDI: ffff9162edea8000 [16288.071284] RBP: ffffb493c39538f8 R08: 0000000000000000 R09: 0000000000000000 [16288.071285] R10: ffff9162fae7af78 R11: ffff9162f4580038 R12: ffff9162fa879600 [16288.071286] R13: 0000000000002000 R14: 0000000000000020 R15: ffff9162fa856e90 [16288.071288] FS: 0000000000000000(0000) GS:ffff91630f440000(0000) knlGS:0000000000000000 [16288.071289] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [16288.071290] CR2: 00007f8f85ef4000 CR3: 00000003dcb1c002 CR4: 0000000000760ee0 [16288.071291] PKRU: 55555554 [16288.071292] Call Trace: [16288.071297] ? acpi_os_release_lock+0xe/0x10 [16288.071303] queue_work_on+0x3e/0x50 [16288.071305] acpi_ec_submit_query+0x69/0xa0 [16288.071307] advance_transaction+0x1e7/0x470 [16288.071309] ec_poll+0x4c/0xf0 [16288.071311] acpi_ec_transaction_unlocked+0xcf/0x250 [16288.071313] acpi_ec_transaction+0xb2/0x160 [16288.071314] acpi_ec_space_handler+0xd7/0x270 [16288.071318] ? up+0x37/0x60 [16288.071322] acpi_ev_address_space_dispatch+0x2f5/0x39d [16288.071324] ? acpi_ec_add+0x1c0/0x1c0 [16288.071326] acpi_ex_access_region+0x1c4/0x25d [16288.071329] ? acpi_ut_trace_u32+0x2b/0x74 [16288.071331] acpi_ex_field_datum_io+0x18a/0x42d [16288.071333] acpi_ex_extract_from_field+0xe7/0x32e [16288.071336] ? acpi_ev_acquire_global_lock+0x1de/0x1e6 [16288.071338] ? acpi_ex_acquire_mutex_object+0x115/0x11f [16288.071340] acpi_ex_read_data_from_field+0x31f/0x371 [16288.071342] acpi_ex_resolve_node_to_value+0x3a7/0x4dd [16288.071344] acpi_ex_resolve_to_value+0x111/0x1aa [16288.071347] acpi_ds_evaluate_name_path+0xb1/0x169 [16288.071351] ? acpi_db_single_step+0x1f/0x252 [16288.071353] acpi_ds_exec_end_op+0x118/0x767 [16288.071355] acpi_ps_parse_loop+0x58a/0x65c [16288.071357] acpi_ps_parse_aml+0x1af/0x550 [16288.071359] acpi_ps_execute_method+0x208/0x2ca [16288.071362] acpi_ns_evaluate+0x34e/0x4f0 [16288.071364] acpi_evaluate_object+0x18e/0x3b4 [16288.071367] acpi_ec_event_processor+0x71/0xa0 [16288.071369] process_one_work+0x1e8/0x3b0 [16288.071372] worker_thread+0x50/0x370 [16288.071375] kthread+0x12f/0x150 [16288.071377] ? process_one_work+0x3b0/0x3b0 [16288.071379] ? __kthread_bind_mask+0x70/0x70 [16288.071383] ret_from_fork+0x1f/0x30 [16288.071386] ---[ end trace 2ff47e88c1a12262 ]--- [16766.813153] ACPI: EC: interrupt unblocked I'm running the latest available BIOS (1.1.0).
I don't see this issue on my Dell 9300. Same BIOS: 1.1.0 I've run over 16,000 s2idle cycles on this machine using upstream kernels between 5.7.0 and 5.8.0, inclusive. I've also not seen this issue, when testing with the 5.0-based ubuntu binary delivered with the machine. > 5.8.0-050800-generic #202008022230 (ubuntu mainline) What is that? (and what kernel cmdline options are in use?)
> > 5.8.0-050800-generic #202008022230 (ubuntu mainline) > > What is that? (and what kernel cmdline options are in use?) $ uname -a Linux xps13 5.8.0-050800-generic #202008022230 SMP Sun Aug 2 22:33:21 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux $ cat /proc/cmdline BOOT_IMAGE=/vmlinuz-5.8.0-050800-generic root=/dev/mapper/vgubuntu-root ro quiet splash vt.handoff=7 The kernel was installed from https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.8/ (supposedly "made from unmodified kernel source but using the Ubuntu kernel configuration files"). The rest of the system is Ubuntu 20.04, plus: deb http://dell.archive.canonical.com/updates/ focal-dell public deb http://dell.archive.canonical.com/updates/ focal-oem public deb http://dell.archive.canonical.com/updates/ focal-somerville public deb http://dell.archive.canonical.com/updates/ focal-somerville-melisa public deb http://dell.archive.canonical.com/ focal somerville deb http://dell.archive.canonical.com/ focal somerville-melisa I can't remember doing any particularly intrusive changes to anything, but I might be forgetting something.
I found this stack trace from an older kernel/bios combination: Aug 9 13:45:02 xps13 kernel: [164896.363826] ACPI: EC: interrupt blocked Aug 9 13:45:02 xps13 kernel: [165063.560894] ------------[ cut here ]------------ Aug 9 13:45:02 xps13 kernel: [165063.560899] WARNING: CPU: 1 PID: 33146 at kernel/workqueue.c:1410 __queue_work+0x337/0x3f0 Aug 9 13:45:02 xps13 kernel: [165063.560899] Modules linked in: rfcomm ccm cmac algif_hash algif_skcipher af_alg bnep uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common videodev mc btusb btrtl btbcm btintel bluetooth ecdh_generic ecc binfmt_misc nls_iso8859_1 snd_sof_pci snd_sof_intel_hda_common snd_soc_hdac_hda snd_sof_xtensa_dsp soundwire_intel soundwire_generic_allocation soundwire_cadence snd_sof_intel_hda snd_sof snd_hda_codec_hdmi snd_hda_ext_core snd_soc_acpi_intel_match snd_soc_acpi soundwire_bus snd_soc_core snd_hda_codec_realtek snd_hda_codec_generic snd_compress ac97_bus snd_pcm_dmaengine mei_hdcp intel_rapl_msr snd_hda_intel snd_intel_dspcfg snd_hda_codec dell_laptop ledtrig_audio snd_hda_core snd_hwdep x86_pkg_temp_thermal intel_powerclamp snd_pcm coretemp kvm_intel snd_seq_midi snd_seq_midi_event snd_rawmidi snd_seq dell_wmi snd_seq_device kvm dell_smbios dcdbas iwlmvm snd_timer intel_cstate mac80211 intel_rapl_perf input_leds serio_raw intel_wmi_thunderbolt wmi_bmof snd Aug 9 13:45:02 xps13 kernel: [165063.560922] dell_wmi_descriptor libarc4 8250_dw hid_sensor_als hid_sensor_trigger industrialio_triggered_buffer soundcore iwlwifi kfifo_buf hid_multitouch hid_sensor_iio_common industrialio joydev processor_thermal_device cfg80211 ucsi_acpi mei_me typec_ucsi cros_ec_ishtp intel_rapl_common mei cros_ec intel_soc_dts_iosf typec int3403_thermal int340x_thermal_zone mac_hid int3400_thermal intel_hid acpi_thermal_rel sparse_keymap acpi_pad acpi_tad sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 btrfs blake2b_generic xor zstd_compress raid6_pq libcrc32c dm_crypt wacom usbhid hid_sensor_hub hid_generic intel_ishtp_loader intel_ishtp_hid i915 rtsx_pci_sdmmc i2c_algo_bit crct10dif_pclmul crc32_pclmul drm_kms_helper ghash_clmulni_intel aesni_intel syscopyarea sysfillrect sysimgblt fb_sys_fops crypto_simd cec cryptd psmouse intel_lpss_pci i2c_i801 nvme glue_helper intel_lpss rc_core rtsx_pci nvme_core idma64 drm virt_dma thunderbolt intel_ish_ipc intel_ishtp wmi i2c_hid hid Aug 9 13:45:02 xps13 kernel: [165063.560945] video pinctrl_icelake pinctrl_intel Aug 9 13:45:02 xps13 kernel: [165063.560948] CPU: 1 PID: 33146 Comm: kworker/1:4 Tainted: G W 5.6.0-1020-oem #20-Ubuntu Aug 9 13:45:02 xps13 kernel: [165063.560948] Hardware name: Dell Inc. XPS 13 9300/077Y9N, BIOS 1.0.11 05/08/2020 Aug 9 13:45:02 xps13 kernel: [165063.560951] Workqueue: kec_query acpi_ec_event_processor Aug 9 13:45:02 xps13 kernel: [165063.560952] RIP: 0010:__queue_work+0x337/0x3f0 Aug 9 13:45:02 xps13 kernel: [165063.560953] Code: ff 49 8b 9d a0 00 00 00 e9 aa fd ff ff 65 8b 05 f7 e9 75 58 a9 00 01 1f 00 75 0f 65 48 8b 3c 25 c0 8b 01 00 f6 47 24 20 75 25 <0f> 0b 48 83 c4 18 5b 41 5c 41 5d 41 5e 41 5f 5d c3 0f 0b e9 fd fd Aug 9 13:45:02 xps13 kernel: [165063.560954] RSP: 0018:ffffb08742d5f8f0 EFLAGS: 00010087 Aug 9 13:45:02 xps13 kernel: [165063.560955] RAX: ffff9e21ff875500 RBX: 0000000000000002 RCX: 0000000000000004 Aug 9 13:45:02 xps13 kernel: [165063.560955] RDX: ffff9e21fcc4c290 RSI: ffff9e21fc8b8000 RDI: ffff9e20d4890000 Aug 9 13:45:02 xps13 kernel: [165063.560955] RBP: ffffb08742d5f930 R08: 0000000000000000 R09: 0000000000000007 Aug 9 13:45:02 xps13 kernel: [165063.560956] R10: ffff9e21fce7f708 R11: ffff9e2145900038 R12: ffff9e21fcc4c200 Aug 9 13:45:02 xps13 kernel: [165063.560956] R13: ffff9e21fc8b8000 R14: 0000000000002000 R15: ffff9e21fcc4c290 Aug 9 13:45:02 xps13 kernel: [165063.560957] FS: 0000000000000000(0000) GS:ffff9e21ff840000(0000) knlGS:0000000000000000 Aug 9 13:45:02 xps13 kernel: [165063.560957] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Aug 9 13:45:02 xps13 kernel: [165063.560958] CR2: 00007f7a64a14526 CR3: 0000000424a0a006 CR4: 0000000000760ee0 Aug 9 13:45:02 xps13 kernel: [165063.560958] PKRU: 55555554 Aug 9 13:45:02 xps13 kernel: [165063.560959] Call Trace: Aug 9 13:45:02 xps13 kernel: [165063.560962] ? acpi_os_release_lock+0xe/0x10 Aug 9 13:45:02 xps13 kernel: [165063.560964] queue_work_on+0x3b/0x50 Aug 9 13:45:02 xps13 kernel: [165063.560965] advance_transaction+0x2d2/0x640 Aug 9 13:45:02 xps13 kernel: [165063.560966] acpi_ec_transaction+0x16c/0x3c0 Aug 9 13:45:02 xps13 kernel: [165063.560967] acpi_ec_space_handler+0xd4/0x280 Aug 9 13:45:02 xps13 kernel: [165063.560969] acpi_ev_address_space_dispatch+0x2f7/0x39f Aug 9 13:45:02 xps13 kernel: [165063.560970] ? ec_transaction+0x70/0x70 Aug 9 13:45:02 xps13 kernel: [165063.560971] acpi_ex_access_region+0x454/0x4ed Aug 9 13:45:02 xps13 kernel: [165063.560972] acpi_ex_field_datum_io+0x18a/0x42d Aug 9 13:45:02 xps13 kernel: [165063.560973] acpi_ex_extract_from_field+0xe7/0x320 Aug 9 13:45:02 xps13 kernel: [165063.560974] ? acpi_ev_acquire_global_lock+0x1de/0x1e6 Aug 9 13:45:02 xps13 kernel: [165063.560974] ? acpi_ex_acquire_mutex_object+0x115/0x11f Aug 9 13:45:02 xps13 kernel: [165063.560975] acpi_ex_read_data_from_field+0x31f/0x371 Aug 9 13:45:02 xps13 kernel: [165063.560976] acpi_ex_resolve_node_to_value+0x3a7/0x4dd Aug 9 13:45:02 xps13 kernel: [165063.560977] acpi_ex_resolve_to_value+0x3c3/0x472 Aug 9 13:45:02 xps13 kernel: [165063.560978] acpi_ds_evaluate_name_path+0xb1/0x169 Aug 9 13:45:02 xps13 kernel: [165063.560980] ? acpi_db_single_step+0x1f/0x252 Aug 9 13:45:02 xps13 kernel: [165063.560980] acpi_ds_exec_end_op+0x118/0x76b Aug 9 13:45:02 xps13 kernel: [165063.560981] acpi_ps_parse_loop+0x84b/0x920 Aug 9 13:45:02 xps13 kernel: [165063.560982] acpi_ps_parse_aml+0x1af/0x550 Aug 9 13:45:02 xps13 kernel: [165063.560983] acpi_ps_execute_method+0x208/0x2ca Aug 9 13:45:02 xps13 kernel: [165063.560984] acpi_ns_evaluate+0x34e/0x4f0 Aug 9 13:45:02 xps13 kernel: [165063.560985] acpi_evaluate_object+0x18e/0x3b4 Aug 9 13:45:02 xps13 kernel: [165063.560986] acpi_ec_event_processor+0x95/0xa0 Aug 9 13:45:02 xps13 kernel: [165063.560987] process_one_work+0x1e8/0x3b0 Aug 9 13:45:02 xps13 kernel: [165063.560987] worker_thread+0x4d/0x400 Aug 9 13:45:02 xps13 kernel: [165063.560989] kthread+0x104/0x140 Aug 9 13:45:02 xps13 kernel: [165063.560989] ? process_one_work+0x3b0/0x3b0 Aug 9 13:45:02 xps13 kernel: [165063.560990] ? kthread_park+0x90/0x90 Aug 9 13:45:02 xps13 kernel: [165063.560993] ret_from_fork+0x1f/0x40 Aug 9 13:45:02 xps13 kernel: [165063.560994] ---[ end trace bafc902f3a71e1ff ]--- Aug 9 13:45:02 xps13 kernel: [165194.891248] ACPI: EC: interrupt unblocked This is from 5.6 with Ubuntu patches, which probably means that the problem is not specific to 5.8.
Created attachment 290919 [details] Kernel log around suspend/resume Attached is kernel output at the time of suspend/resume with dynamic debug enabled for ec.c, I don't know if it's useful. I also noticed another line which I might have wrongly ignored previously: ucsi_acpi USBC000:00: ucsi_handle_connector_change: GET_CONNECTOR_STATUS failed (-110)
A reasonably reliable way of reproducing this for me is to: 0. Have the AC adapter plugged in 1. Close the lid 2. Unplug and re-plug the AC adapter 3. Open the lid Often (50%+ reproducibility?), the laptop won't wake up without a key press; the EC/workqueue related stack trace can then be found in dmesg and a reboot is required to restore the lid switch functionality as described above. I have reproduced this with kernel 5.8.2 that I built myself (using make oldconfig with the Ubuntu mainline configuration), so there are absolutely no vendor patches involved. Please tell me if there is anything else I can do to assist with nailing down the problem.
I can still reproduce this (involuntarily) with kernel version 5.10.2 and system firmware 1.4.1. Please note the procedure in #5. Just suspending and resuming is not enough to reproduce the problem.
Len will try to reproduce it follow your process. At the same time, can you please confirm if the problem still exist with latest upstream kernel?
Thanks for looking into it. I'm no longer able to reliably reproduce this, even on a kernel I know could be repeatedly broken using #5. I cannot tell if it's been fixed or not, but it might not be a problem for me anymore. I switched from Ubuntu 20.04 to Debian 11 since my last comment. The laptop has mostly been sitting on a desk with the AC permanently connected since then, so I don't have any real world stability data. I'm still on system firmware 1.4.1. I tried three kernels: * Failed to reproduce with 5.12.8 (from git, make oldconfig with debian config from an older kernel). * Failed to reproduce with Debian kernel linux-image-5.10.0-6-amd64 (based on 5.10.28). * Reproduced only once using https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.10.2/ (should be vanilla 5.10.2 with Ubuntu config). ==== This is the output from 5.10.2, in case it's of any help: May 29 11:37:31 xps13 systemd-sleep[3915]: Suspending system... May 29 11:37:31 xps13 kernel: [ 1720.408989] PM: suspend entry (s2idle) May 29 11:37:31 xps13 kernel: [ 1720.411965] Filesystems sync: 0.002 seconds May 29 11:37:31 xps13 wpa_supplicant[707]: nl80211: deinit ifname=p2p-dev-wlp0s20 disabled_11b_rates=0 May 29 11:37:31 xps13 wpa_supplicant[707]: nl80211: deinit ifname=wlp0s20f3 disabled_11b_rates=0 May 29 11:37:53 xps13 kernel: [ 1720.529989] Freezing user space processes ... (elapsed 0.002 seconds) done. May 29 11:37:53 xps13 kernel: [ 1720.532111] OOM killer disabled. May 29 11:37:53 xps13 kernel: [ 1720.532113] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done. May 29 11:37:53 xps13 kernel: [ 1720.533352] printk: Suspending console(s) (use no_console_suspend to debug) May 29 11:37:53 xps13 kernel: [ 1721.005425] ACPI: EC: interrupt blocked May 29 11:37:53 xps13 kernel: [ 1727.409965] ------------[ cut here ]------------ May 29 11:37:53 xps13 kernel: [ 1727.409970] WARNING: CPU: 4 PID: 3237 at kernel/workqueue.c:1416 __queue_work+0x2cf/0x350 May 29 11:37:53 xps13 kernel: [ 1727.409971] Modules linked in: ccm rfcomm wireguard curve25519_x86_64 libchacha20poly1305 chacha_x86_64 poly1305_x86_64 libblake2s blake2s_x86_64 ip6_udp_tunnel udp_tunnel libcurve25519_generic libchacha libblake2s_generic cmac algif_hash algif_skcipher af_alg snd_hda_codec_hdmi nft_counter bnep snd_sof_pci snd_sof_intel_byt snd_sof_intel_ipc snd_sof_intel_hda_common snd_soc_hdac_hda snd_sof_xtensa_dsp snd_sof_intel_hda snd_sof snd_hda_codec_realtek ipt_REJECT snd_hda_codec_generic nf_reject_ipv4 snd_hda_ext_core xt_tcpudp snd_soc_acpi_intel_match snd_soc_acpi xt_state snd_hda_intel xt_conntrack nf_conntrack x86_pkg_temp_thermal intel_powerclamp snd_intel_dspcfg nf_defrag_ipv6 coretemp nf_defrag_ipv4 soundwire_intel soundwire_generic_allocation soundwire_cadence nft_compat snd_hda_codec nf_tables snd_hda_core mei_hdcp libcrc32c snd_hwdep dell_laptop soundwire_bus ledtrig_audio intel_rapl_msr dell_smm_hwmon nfnetlink uvcvideo snd_soc_core videobuf2_vmalloc videobuf2_memops kvm_intel May 29 11:37:53 xps13 kernel: [ 1727.410000] snd_compress videobuf2_v4l2 ac97_bus snd_pcm_dmaengine kvm hid_sensor_als videobuf2_common snd_pcm btusb snd_timer joydev hid_sensor_trigger btrtl rapl snd dell_wmi input_leds soundcore dell_smbios videodev nls_iso8859_1 intel_cstate dcdbas 8250_dw efi_pstore pcspkr industrialio_triggered_buffer btbcm kfifo_buf serio_raw mc intel_wmi_thunderbolt hid_sensor_iio_common btintel ucsi_acpi industrialio bluetooth dell_wmi_descriptor typec_ucsi wmi_bmof processor_thermal_device mousedev mei_me hid_multitouch intel_rapl_common ecdh_generic mei cros_ec_ishtp ecc cros_ec typec intel_soc_dts_iosf int3403_thermal int340x_thermal_zone evbug mac_hid intel_hid int3400_thermal acpi_pad acpi_thermal_rel sparse_keymap acpi_tad iwlmvm iwlwifi mac80211 cfg80211 libarc4 msr ip_tables x_tables autofs4 dm_crypt wacom usbhid hid_sensor_hub hid_generic intel_ishtp_loader intel_ishtp_hid i2c_designware_platform i2c_designware_core i915 rtsx_pci_sdmmc crct10dif_pclmul crc32_pclmul nvme May 29 11:37:53 xps13 kernel: [ 1727.410032] ghash_clmulni_intel i2c_algo_bit aesni_intel drm_kms_helper syscopyarea crypto_simd cryptd sysfillrect sysimgblt glue_helper fb_sys_fops nvme_core psmouse cec rc_core rtsx_pci i2c_i801 drm intel_lpss_pci thunderbolt i2c_smbus intel_lpss intel_ish_ipc idma64 xhci_pci intel_ishtp virt_dma xhci_pci_renesas wmi i2c_hid hid video backlight pinctrl_icelake May 29 11:37:53 xps13 kernel: [ 1727.410045] CPU: 4 PID: 3237 Comm: kworker/4:1 Not tainted 5.10.2-051002-generic #202012210832 May 29 11:37:53 xps13 kernel: [ 1727.410046] Hardware name: Dell Inc. XPS 13 9300/077Y9N, BIOS 1.4.1 11/23/2020 May 29 11:37:53 xps13 kernel: [ 1727.410049] Workqueue: kec_query acpi_ec_event_processor May 29 11:37:53 xps13 kernel: [ 1727.410051] RIP: 0010:__queue_work+0x2cf/0x350 May 29 11:37:53 xps13 kernel: [ 1727.410052] Code: e9 0d fe ff ff 49 89 c7 e9 bf fe ff ff 65 8b 05 17 85 55 6b a9 00 01 ff 00 75 0f 65 48 8b 3c 25 c0 7b 01 00 f6 47 24 20 75 24 <0f> 0b 48 83 c4 10 5b 41 5c 41 5d 41 5e 41 5f 5d c3 0f 0b e9 f1 fe May 29 11:37:53 xps13 kernel: [ 1727.410052] RSP: 0018:ffffb545430cb8c8 EFLAGS: 00010006 May 29 11:37:53 xps13 kernel: [ 1727.410053] RAX: ffff9b6e8f534600 RBX: 0000000000000002 RCX: 0000000000000004 May 29 11:37:53 xps13 kernel: [ 1727.410054] RDX: ffff9b6b012df190 RSI: ffff9b6b012eaa00 RDI: ffff9b6b00ba9e40 May 29 11:37:53 xps13 kernel: [ 1727.410054] RBP: ffffb545430cb900 R08: 0000000000000000 R09: 0000000000000001 May 29 11:37:53 xps13 kernel: [ 1727.410055] R10: ffff9b6b0130d750 R11: ffff9b6b09739838 R12: ffff9b6b012eaa00 May 29 11:37:53 xps13 kernel: [ 1727.410055] R13: ffffb545430cba60 R14: ffff9b6b012df190 R15: 0000000000000282 May 29 11:37:53 xps13 kernel: [ 1727.410056] FS: 0000000000000000(0000) GS:ffff9b6e8f500000(0000) knlGS:0000000000000000 May 29 11:37:53 xps13 kernel: [ 1727.410057] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 May 29 11:37:53 xps13 kernel: [ 1727.410057] CR2: 00007f071000c656 CR3: 00000002cc010004 CR4: 0000000000770ee0 May 29 11:37:53 xps13 kernel: [ 1727.410058] PKRU: 55555554 May 29 11:37:53 xps13 kernel: [ 1727.410058] Call Trace: May 29 11:37:53 xps13 kernel: [ 1727.410062] queue_work_on+0x3e/0x50 May 29 11:37:53 xps13 kernel: [ 1727.410063] acpi_ec_submit_query+0x69/0xa0 May 29 11:37:53 xps13 kernel: [ 1727.410064] advance_transaction+0x1e7/0x470 May 29 11:37:53 xps13 kernel: [ 1727.410065] ec_poll+0x4c/0xf0 May 29 11:37:53 xps13 kernel: [ 1727.410066] acpi_ec_transaction_unlocked+0xcf/0x250 May 29 11:37:53 xps13 kernel: [ 1727.410067] acpi_ec_transaction+0xa9/0x160 May 29 11:37:53 xps13 kernel: [ 1727.410068] acpi_ec_space_handler+0xd7/0x270 May 29 11:37:53 xps13 kernel: [ 1727.410069] ? up+0x37/0x60 May 29 11:37:53 xps13 kernel: [ 1727.410071] acpi_ev_address_space_dispatch+0x2f5/0x39d May 29 11:37:53 xps13 kernel: [ 1727.410072] ? acpi_ec_add+0x1c0/0x1c0 May 29 11:37:53 xps13 kernel: [ 1727.410073] acpi_ex_access_region+0x1c4/0x25d May 29 11:37:53 xps13 kernel: [ 1727.410074] ? acpi_ut_trace_u32+0x2b/0x73 May 29 11:37:53 xps13 kernel: [ 1727.410075] acpi_ex_field_datum_io+0x18a/0x42d May 29 11:37:53 xps13 kernel: [ 1727.410076] acpi_ex_extract_from_field+0xe7/0x32e May 29 11:37:53 xps13 kernel: [ 1727.410077] ? acpi_ev_acquire_global_lock+0x1de/0x1e6 May 29 11:37:53 xps13 kernel: [ 1727.410078] ? acpi_ex_acquire_mutex_object+0x115/0x11f May 29 11:37:53 xps13 kernel: [ 1727.410079] acpi_ex_read_data_from_field+0x31f/0x371 May 29 11:37:53 xps13 kernel: [ 1727.410080] acpi_ex_resolve_node_to_value+0x3a7/0x4dd May 29 11:37:53 xps13 kernel: [ 1727.410081] acpi_ex_resolve_to_value+0x111/0x1aa May 29 11:37:53 xps13 kernel: [ 1727.410082] acpi_ds_evaluate_name_path+0xb1/0x169 May 29 11:37:53 xps13 kernel: [ 1727.410083] ? acpi_db_single_step+0x1f/0x252 May 29 11:37:53 xps13 kernel: [ 1727.410084] acpi_ds_exec_end_op+0x118/0x767 May 29 11:37:53 xps13 kernel: [ 1727.410086] acpi_ps_parse_loop+0x58a/0x65c May 29 11:37:53 xps13 kernel: [ 1727.410086] acpi_ps_parse_aml+0x1af/0x550 May 29 11:37:53 xps13 kernel: [ 1727.410087] acpi_ps_execute_method+0x208/0x2ca May 29 11:37:53 xps13 kernel: [ 1727.410089] acpi_ns_evaluate+0x34e/0x4f0 May 29 11:37:53 xps13 kernel: [ 1727.410089] acpi_evaluate_object+0x18e/0x3b4 May 29 11:37:53 xps13 kernel: [ 1727.410090] acpi_ec_event_processor+0x71/0xa0 May 29 11:37:53 xps13 kernel: [ 1727.410092] process_one_work+0x1ef/0x390 May 29 11:37:53 xps13 kernel: [ 1727.410093] worker_thread+0x50/0x370 May 29 11:37:53 xps13 kernel: [ 1727.410094] kthread+0x12f/0x150 May 29 11:37:53 xps13 kernel: [ 1727.410095] ? process_one_work+0x390/0x390 May 29 11:37:53 xps13 kernel: [ 1727.410096] ? __kthread_bind_mask+0x70/0x70 May 29 11:37:53 xps13 kernel: [ 1727.410098] ret_from_fork+0x1f/0x30 May 29 11:37:53 xps13 kernel: [ 1727.410099] ---[ end trace 72d5e4c4c2882d39 ]--- May 29 11:37:53 xps13 kernel: [ 1739.952856] ACPI: EC: interrupt unblocked May 29 11:37:53 xps13 kernel: [ 1742.034428] evbug: Event. Dev: input0, Type: 5, Code: 0, Value: 0 May 29 11:37:53 xps13 kernel: [ 1742.034429] evbug: Event. Dev: input0, Type: 0, Code: 0, Value: 0 May 29 11:37:53 xps13 kernel: [ 1742.390214] OOM killer enabled. May 29 11:37:53 xps13 kernel: [ 1742.390215] Restarting tasks ... done. May 29 11:37:53 xps13 kernel: [ 1742.393444] mei_hdcp 0000:00:16.0-b638ab7e-94e2-4ea2-a552-d1c54b627f04: bound 0000:00:02.0 (ops i915_hdcp_component_ops [i915]) May 29 11:37:53 xps13 systemd-sleep[3915]: System resumed.
Given that you can not reliably reproduce it, especially with latest upstream kernel, I will close this bug report for now. Please feel free to re-open it anytime you can reproduce it again. Note that, we must make sure the problem is reproducible with LATEST upstream kernel before re-opening. Or else, we may debugging a problem that may get fixed already, which is a waste of time for both of us.