Subject: RE: [PATCH 0/4] rtw88: Four fixes found while working on SDIO support

From: Ping-Ke Shih <[email-masked]>
Date: Mon, 9 Jan 2023 00:55:11 +0000

> -----Original Message-----
> From: gert erkelens <[email-masked]>
> Sent: Sunday, January 8, 2023 2:23 AM
> To: [email-masked]
> Cc: [email-masked]; [email-masked]; [email-masked];
> [email-masked]; Ping-Ke Shih <[email-masked]>; [email-masked];
> [email-masked]
> Subject: Re: [PATCH 0/4] rtw88: Four fixes found while working on SDIO support
> 
> In the course of 3 weeks my Shuttle DS10U bare bone running Ubuntu 22.04 server locked up 3 times.
> I'm using the Realtek RTL8822CE PCIe module in access point mode.
> Below a dump of the first lock up. There is no log from the other two lockups, possibly because of
> 'options rtw88_pci disable_aspm=1' in rtw88_pci.conf
> 
> I hope this is of any use to you.
> 
> Best regards,
> Gert Erkelens
> 
> 
> Dec 29 22:24:29 shuttle kernel: [98328.813880] BUG: scheduling while atomic:
> kworker/u4:0/7592/0x00000700

[...]

> Dec 29 22:24:29 shuttle kernel: [98328.814032] CPU: 0 PID: 7592 Comm: kworker/u4:0 Not tainted
> 5.15.0-56-generic #62-Ubuntu

The trace below is very similar to this fix
7711fe713a49 ("wifi: rtw88: add a work to correct atomic scheduling warning of ::set_tim")
Please check if the driver you are using includes it.

By the way, ::set_time is added after 5.19, but your kernel is 5.15.0-56-generic

Ping-Ke