Bug 215103 - [bisected][regression] ath11k: mhi breaks suspend on NUC
Summary: [bisected][regression] ath11k: mhi breaks suspend on NUC
Status: RESOLVED CODE_FIX
Alias: None
Product: Drivers
Classification: Unclassified
Component: network-wireless (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_network-wireless@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-22 14:56 UTC by Kalle Valo
Modified: 2022-01-18 13:13 UTC (History)
0 users

See Also:
Kernel Version: v5.13-rc1
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Kalle Valo 2021-11-22 14:56:39 UTC
I noticed already a while ago that commit 020d3b26c07a ("bus: mhi: Early
MHI resume failure in non M3 state"), introduced in v5.13-rc1, broke
ath11k resume on my NUC x86 testbox using QCA6390. Interestingly enough
Dell XPS 13 9310 laptop (with QCA6390 as well) does not have this
problem, I only see the problem on the NUC. I do not know what's causing
this difference.

Discussion in the list:

https://lore.kernel.org/all/20211118174145.GA31300@thinkpad/T/

Loic's fix here which I have verified to fix the issue:

https://lore.kernel.org/all/CAMZdPi8P7YZPhPir+WfS3cY_a7He1m2Pq2uqBhczPdEeoNRb0Q@mail.gmail.com/

Log:

[  269.368584] ath11k_pci 0000:06:00.0: failed to set mhi state: RESUME(6)
[  269.455966] nvme nvme0: 8/0/0 default/read/poll queues
[  272.289737] igb 0000:05:00.0 eth1: igb: eth1 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX
[  272.424084] ath11k_pci 0000:06:00.0: timed out while waiting for wow wakeup completion
[  272.424091] ath11k_pci 0000:06:00.0: failed to wakeup wow during resume: -110
[  272.424096] ath11k_pci 0000:06:00.0: failed to resume core: -110
[  272.424101] PM: dpm_run_callback(): pci_pm_resume+0x0/0x2d0 returns -110
[  272.424119] ath11k_pci 0000:06:00.0: PM: failed to resume async: error -110
[  275.432003] ath11k_pci 0000:06:00.0: wmi command 16387 timeout
[  275.432034] ath11k_pci 0000:06:00.0: failed to send WMI_PDEV_SET_PARAM cmd
[  275.432088] ath11k_pci 0000:06:00.0: failed to enable PMF QOS: (-11
[  275.432094] ------------[ cut here ]------------
[  275.432114] Hardware became unavailable upon resume. This could be a software issue prior to suspend or a hardware issue.
[  275.432144] WARNING: CPU: 3 PID: 3164 at net/mac80211/util.c:2361 ieee80211_reconfig+0x216/0x22a0 [mac80211]
Comment 1 Kalle Valo 2021-12-07 14:51:40 UTC
The fix for MHI stack is now in review:

https://lkml.kernel.org/r/20211206161059.107007-1-manivannan.sadhasivam@linaro.org
Comment 2 Kalle Valo 2022-01-18 13:13:29 UTC
The fix is now commited:

https://git.kernel.org/linus/cab2d3fd6866

Closing the bug.

Note You need to log in before you can comment on or make changes to this bug.