mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-28 12:53:14 +01:00
Since the MHI HELLO exchange was relocated, it is sent only at device
registration. During a suspend-resume cycle, the firmware in WiFi
cards such as WCN7850 indefinitely waits for another HELLO,
triggering:
ath12k_wifi7_pci 0004:01:00.0: timeout while waiting for restart complete
ath12k_wifi7_pci 0004:01:00.0: failed to resume core: -110
Fix this by triggering the handshake from resume_early in the MHI
transport.
Validated on Qualcomm X1E-801800 on Lenovo Slim 7x across 10
suspend-resume cycles.
Fixes: 544d85de4d ("net: qrtr: Send HELLO message on endpoint register")
Signed-off-by: Daniel J Blueman <[email protected]>
Reviewed-by: Manivannan Sadhasivam <[email protected]>
Reported-by: Jeff Johnson <[email protected]>
Link: https://lore.kernel.org/all/[email protected]/
Tested-by: Jeff Johnson <[email protected]>
Reported-by: Vlastimil Babka (SUSE) <[email protected]>
Link: https://lore.kernel.org/all/[email protected]/
Tested-by: Vlastimil Babka (SUSE) <[email protected]>
Reported-by: Takashi Iwai <[email protected]>
Link: https://lore.kernel.org/all/[email protected]/
Tested-by: Takashi Iwai <[email protected]>
Signed-off-by: Thorsten Leemhuis <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>