APPLIED [OEM-6.1] Re: [PATCH 0/1][SRU][K][L][M][OEM-6.1] FM350(mtk_t7xx) failed to suspend, or early wake while suspending
Timo Aaltonen
tjaalton at ubuntu.com
Tue Jun 13 13:34:28 UTC 2023
AceLan Kao kirjoitti 25.5.2023 klo 10.18:
> From: "Chia-Lin Kao (AceLan)" <acelan.kao at canonical.com>
>
> BugLink: https://launchpad.net/bugs/2020743
>
> [Impact]
> FM350(mtk_t7xx) can't suspend sometimes.
>
> kernel: [ 12.917396] mtk_t7xx 0000:57:00.0: [PM] Exiting suspend, modem in invalid state
> kernel: [ 12.917406] mtk_t7xx 0000:57:00.0: PM: pci_pm_suspend(): t7xx_pci_pm_suspend+0x0/0x20 [mtk_t7xx] returns -14
> kernel: [ 12.917446] mtk_t7xx 0000:57:00.0: PM: dpm_run_callback(): pci_pm_suspend+0x0/0x1b0 returns -14
> kernel: [ 12.917462] mtk_t7xx 0000:57:00.0: PM: failed to suspend async: error -14
>
> [Fix]
> The commit in v6.4-rc3 waits for the device to be ready before suspending.
> ab87603b2511 net: wwan: t7xx: Ensure init is completed before system sleep
>
> [Test]
> Verified on the machine with FM350 wwan module.
>
> [Where problems could occur]
> If the wwan is not ready before the time is up, it results in -ETIMEDOUT.
> However, in this scenario, we will encounter the same issue where the system
> fails to enter suspend mode. Therefore, it will not introduce regressions
> or new issues.
>
> Kai-Heng Feng (1):
> net: wwan: t7xx: Ensure init is completed before system sleep
>
> drivers/net/wwan/t7xx/t7xx_pci.c | 18 ++++++++++++++++++
> drivers/net/wwan/t7xx/t7xx_pci.h | 1 +
> 2 files changed, 19 insertions(+)
>
merged via gitea, thanks
--
t
More information about the kernel-team
mailing list