Re: [PATCH v2] rtw88: pci: Power cycle device during shutdown

From: Kalle Valo
Date: Thu Oct 01 2020 - 09:28:59 EST


Kai-Heng Feng <kai.heng.feng@xxxxxxxxxxxxx> wrote:

> There are reports that 8822CE fails to work rtw88 with "failed to read DBI
> register" error. Also I have a system with 8723DE which freezes the whole
> system when the rtw88 is probing the device.
>
> According to [1], platform firmware may not properly power manage the
> device during shutdown. I did some expirements and putting the device to
> D3 can workaround the issue.
>
> So let's power cycle the device by putting the device to D3 at shutdown
> to prevent the issue from happening.
>
> [1] https://bugzilla.kernel.org/show_bug.cgi?id=206411#c9
>
> BugLink: https://bugs.launchpad.net/bugs/1872984
> Signed-off-by: Kai-Heng Feng <kai.heng.feng@xxxxxxxxxxxxx>

Patch applied to wireless-drivers-next.git, thanks.

44492e70adc8 rtw88: pci: Power cycle device during shutdown

--
https://patchwork.kernel.org/patch/11804271/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches