wifi: rtw89: RTL8922AE fails to resume from s2idle
RTL8922AE fails to resume from s2idle
After resuming from s2idle, the rtw89_8922ae driver fails to reinitialize the RTL8922AE adapter, reporting a WLAN timeout. The adapter functions correctly on startup, and rebooting fixes the issue, however unloading and reloading the driver with modprobe does not.
System information:
Laptop: Lenovo Yoga Slim 7 14ILL11
Kernel version: 7.4.0-0.rc1.261104.05441d69.412.vanilla.fc45.x86_64
Processor: Intel(R) Core(TM) Ultra 7 256V
PCI information:
00:00.0 Host bridge: Intel Corporation Core Ultra 200V Series Processors with 4 P-Cores 4 E-Cores Host Bridge (rev 04) 00:02.0 VGA compatible controller: Intel Corporation Core Ultra 200V Series Processors Arc Graphics 130V/140V GPU (rev 04) 00:04.0 Signal processing controller: Intel Corporation Core Ultra 200V Series Processors Dynamic Tuning Technology (DTT) (rev 04) 00:0a.0 Signal processing controller: Intel Corporation Core Ultra 200V Series Processors Crash Log and Telemetry (rev 04) 00:0b.0 Processing accelerators: Intel Corporation Core Ultra 200V Series Processors NPU (rev 04)
00:0d.0 USB controller: Intel Corporation Core Ultra 200V Series Processors Type-C Subsystem xHCI (rev 10) 00:13.0 Communication controller: Intel Corporation Core Ultra 200V Series Processors CSME HECI #1 (rev 10) 00:14.0 USB controller: Intel Corporation Core Ultra 200V Series Processors Standalone xHCI Controller (rev 10) 00:14.2 RAM memory: Intel Corporation Core Ultra 200V Series Processors Shared SRAM (rev 10)
00:15.0 Serial bus controller: Intel Corporation Core Ultra 200V Series Processors I2C #0 (rev 10)
00:15.1 Serial bus controller: Intel Corporation Core Ultra 200V Series Processors I2C #1 (rev 10)
00:15.3 Serial bus controller: Intel Corporation Core Ultra 200V Series Processors I2C #3 (rev 10)
00:16.0 Communication controller: Intel Corporation Core Ultra 200V Series Processors CSME HECI #1 (CSE) (rev 10) 00:19.0 Serial bus controller: Intel Corporation Core Ultra 200V Series Processors I2C #4 (rev 10)
00:19.1 Serial bus controller: Intel Corporation Core Ultra 200V Series Processors I2C #5 (rev 10)
00:1c.0 PCI bridge: Intel Corporation Core Ultra 200V Series Processors PCIe Root Port #3 (rev 10)
00:1c.4 PCI bridge: Intel Corporation Core Ultra 200V Series Processors PCIe Root Port #5 (rev 10)
00:1f.0 ISA bridge: Intel Corporation Core Ultra 200V Series Processors eSPI Controller (rev 10)
00:1f.3 Multimedia audio controller: Intel Corporation Core Ultra 200V Series Processors HD Audio (rev 10) 00:1f.4 SMBus: Intel Corporation Lunar Lake-M SMbus Controller (rev 10)
00:1f.5 Serial bus controller: Intel Corporation Core Ultra 200V Series Processors SPI (flash) Controller (rev 10) 01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8922AE 802.11be PCIe Wireless Network Adapter (rev 01) 02:00.0 Non-Volatile memory controller: Sandisk Corp PC SN5100S M.2 2242 NVMe SSD (DRAM-less)
Logs on first boot (successfull initialization:
Nov 05 11:55:15 freddies-laptop kernel: rtw89_8922ae 0000:01:00.0: loaded firmware rtw89/rtw8922a_fw-4.bin Nov 05 11:55:15 freddies-laptop kernel: rtw89_8922ae 0000:01:00.0: enabling device (0000 -> 0003) Nov 05 11:55:15 freddies-laptop kernel: rtw89_8922ae 0000:01:00.0: Firmware version 0.35.80.3 (8ef4f0cf), cmd version 1, type 1 Nov 05 11:55:15 freddies-laptop kernel: rtw89_8922ae 0000:01:00.0: Firmware version 0.35.80.3 (8ef4f0cf), cmd version 1, type 3 Nov 05 11:55:15 freddies-laptop kernel: rtw89_8922ae 0000:01:00.0: Firmware version 0.1.0.0 (7b393818), cmd version 0, type 64 Nov 05 11:55:15 freddies-laptop kernel: rtw89_8922ae 0000:01:00.0: Firmware element BB version: 00 49 00 00 Nov 05 11:55:15 freddies-laptop kernel: rtw89_8922ae 0000:01:00.0: Firmware element radio A version: 00 33 00 00 Nov 05 11:55:15 freddies-laptop kernel: rtw89_8922ae 0000:01:00.0: Firmware element NCTL version: 00 0f 00 00 Nov 05 11:55:15 freddies-laptop kernel: rtw89_8922ae 0000:01:00.0: Firmware element TXPWR version: 00 46 00 00 Nov 05 11:55:15 freddies-laptop kernel: rtw89_8922ae 0000:01:00.0: Firmware element TXPWR version: 00 46 00 00 Nov 05 11:55:15 freddies-laptop kernel: rtw89_8922ae 0000:01:00.0: Firmware element TXPWR version: 00 46 00 00 Nov 05 11:55:15 freddies-laptop kernel: rtw89_8922ae 0000:01:00.0: Firmware element PWR_TRK version: 00 33 00 00 Nov 05 11:55:15 freddies-laptop kernel: rtw89_8922ae 0000:01:00.0: Firmware element REGD version: 00 49 00 08 Nov 05 11:55:15 freddies-laptop kernel: rtw89_8922ae 0000:01:00.0: chip info CID: 71, CV: 2, AID: 6933, ACV: 1, RFE: 1 Nov 05 11:55:15 freddies-laptop kernel: rtw89_8922ae 0000:01:00.0: rfkill hardware state changed to enable Nov 05 11:55:15 freddies-laptop kernel: rtw89_8922ae 0000:01:00.0 wlp1s0: renamed from wlan0
Logs on resume (failed initialization):
Nov 05 12:00:37 freddies-laptop kernel: PM: suspend entry (s2idle) Nov 05 12:01:04 freddies-laptop kernel: printk: Suspending console(s) (use no_console_suspend to debug) Nov 05 12:01:04 freddies-laptop kernel: PM: suspend devices took 0.167 seconds Nov 05 12:01:04 freddies-laptop kernel: ACPI Error: No handler for Region [RCM0] (00000000b5169a23) [SystemCMOS] (20260408/evregion-131) Nov 05 12:01:04 freddies-laptop kernel: ACPI Error: Region SystemCMOS (ID=5) has no handler (20260408/exfldio-261) Nov 05 12:01:04 freddies-laptop kernel: ACPI Error: Aborting method \CPEP due to previous error (AE_NOT_EXIST) (20260408/psparse-543) Nov 05 12:01:04 freddies-laptop kernel: ACPI Error: Aborting method \_SB.PEPD._DSM due to previous error (AE_NOT_EXIST) (20260408/psparse-543) Nov 05 12:01:04 freddies-laptop kernel: ACPI: \_SB_.PEPD: failed to evaluate _DSM a040ebc4-d26c-e211-bcfd-0800200c9a66 rev:1 func:4 (0x6) Nov 05 12:01:04 freddies-laptop kernel: rtw89_8922ae 0000:01:00.0: [ERR] PCIE SER clear polling fail Nov 05 12:01:04 freddies-laptop kernel: rtw89_8922ae 0000:01:00.0: failed to read PCI cap, ret=134 Nov 05 12:01:04 freddies-laptop kernel: usb 3-6: reset full-speed USB device number 3 using xhci_hcd Nov 05 12:01:04 freddies-laptop kernel: rtw89_8922ae 0000:01:00.0: [ERR]Polling WLAN PMC timeout= 1FF Nov 05 12:01:04 freddies-laptop kernel: rtw89_8922ae 0000:01:00.0: xtal si not ready(W): offset=90 val=10 mask=10 Nov 05 12:01:04 freddies-laptop kernel: rtw89_8922ae 0000:01:00.0: [ERR]Polling WLAN PMC timeout= 1FF Nov 05 12:01:04 freddies-laptop kernel: rtw89_8922ae 0000:01:00.0: mac preinit fail, ret: -110 Nov 05 12:01:04 freddies-laptop kernel: Hardware became unavailable upon resume. This could be a software issue prior to suspend or a hardware issue. Nov 05 12:01:04 freddies-laptop kernel: WARNING: net/mac80211/util.c:1979 at ieee80211_reconfig+0xb1/0x1360 [mac80211], CPU#5: kworker/u34:11/1271
Attempted workarounds:
Disabling PCIe CLKREQ and ASPM L1/L1SS through the rtw89_pci module parameters. Disabling rtw89_core power saving with disable_ps_mode=1. Unloading and reloading rtw89_8922ae after the failure.
Unloading rtw89_8922ae before the suspend and reloading it after resume.
None of the above had any effect.
Sorry if there's any important information I've missed, this is my first time interacting with the kernel mailing lists. I'm happy to test any patches/other kernel versions.