https://bugzilla.kernel.org/show_bug.cgi?id=208889

            Bug ID: 208889
           Summary: Lid switch and some function keys sometimes stop
                    responding after resuming from s2idle (Dell XPS 13
                    9300)
           Product: ACPI
           Version: 2.5
    Kernel Version: 5.8.0-050800-generic #202008022230 (ubuntu mainline)
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: EC
          Assignee: acpi...@kernel-bugs.osdl.org
          Reporter: david.hedb...@gmail.com
        Regression: No

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).

-- 
You are receiving this mail because:
You are watching the assignee of the bug.

_______________________________________________
acpi-bugzilla mailing list
acpi-bugzilla@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acpi-bugzilla

Reply via email to