Search Linux Wireless

[BUG] RTL8821CS panic on entering power-save mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have an Allwinner-H700-based platform (Anbernic RG35XX+) which I am working on mainline u-boot/kernel support for. The RGL8821CS chip on this board works when configured with a 32MHz clock and 3.3v VCC and the RTW88 kernel driver, however the BT is unstable with extensive logging about LPS state entry failures, and the driver will eventually crash with the following:

[  830.797592] ------------[ cut here ]------------
[  830.802268] firmware failed to ack driver for entering Deep Power mode
[  830.808931] WARNING: CPU: 1 PID: 67 at drivers/net/wireless/realtek/rtw88/ps.c:105 rtw_power_mode_change+0x130/0x180 [rtw88_core]
[  830.820663] Modules linked in: btrfs blake2b_generic libcrc32c xor xor_neon raid6_pq zstd_compress af_alg rtw88_8821cs rtw88_8821c 6
[  830.846661] CPU: 1 PID: 67 Comm: kworker/u16:4 Not tainted 6.8.0-rc7-next-20240308-00004-gee0f4864bb48 #8
[  830.856231] Hardware name: Anbernic RG35XX Plus (DT)
[  830.861198] Workqueue: phy0 rtw_watch_dog_work [rtw88_core]
[  830.866831] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[  830.873796] pc : rtw_power_mode_change+0x130/0x180 [rtw88_core]
[  830.879763] lr : rtw_power_mode_change+0x130/0x180 [rtw88_core]
[  830.885730] sp : ffff800082fabcc0
[  830.889047] x29: ffff800082fabcc0 x28: 0000000000000000 x27: 0000000000000000
[  830.896192] x26: ffff00000e670900 x25: ffff0000042a2b80 x24: 0000000000000000
[  830.903337] x23: 0000000000000001 x22: 0000000000068dbc x21: 0000000000000000
[  830.910482] x20: 0000000000000000 x19: ffff00000e671fc0 x18: 0000000000000006
[  830.917627] x17: 0000000000000000 x16: 0000000000000080 x15: 076e076907720765
[  830.924772] x14: 0774076e07650720 x13: ffff8000825a26c0 x12: 0000000000000954
[  830.931916] x11: 000000000000031c x10: ffff8000825fa6c0 x9 : ffff8000825a26c0
[  830.939061] x8 : 00000000ffffefff x7 : ffff8000825fa6c0 x6 : 80000000fffff000
[  830.946205] x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000000
[  830.953348] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff000003264500
[  830.960493] Call trace:
[  830.962943]  rtw_power_mode_change+0x130/0x180 [rtw88_core]
[  830.968565]  rtw_sdio_deep_ps+0x8c/0xd8 [rtw88_sdio]
[  830.973547]  rtw_enter_lps+0xec/0x148 [rtw88_core]
[  830.978387]  rtw_watch_dog_work+0x298/0x2a4 [rtw88_core]
[  830.983746]  process_one_work+0x148/0x2a0
[  830.987771]  worker_thread+0x2fc/0x40c
[  830.991530]  kthread+0x110/0x114
[  830.994768]  ret_from_fork+0x10/0x20
[  830.998352] ---[ end trace 0000000000000000 ]---

FW version is 
[   12.561710] rtw_8821cs mmc1:0001:1: Firmware version 24.11.0, H2C version 12
[   13.471889] Bluetooth: hci0: RTL: fw version 0x75b8f098

Thanks,

Ryan




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux