mbox series

[v2,0/1,SRU,Unstable/Kinetic/OEM-6.0] Fix suspend failure on t7xx equipped platform

Message ID 20221102083850.550342-1-vicamo.yang@canonical.com
Headers show
Series Fix suspend failure on t7xx equipped platform | expand

Message

You-Sheng Yang Nov. 2, 2022, 8:38 a.m. UTC
From: "You-Sheng Yang (vicamo)" <vicamo.yang@canonical.com>

BugLink: https://bugs.launchpad.net/bugs/1990700

[Impact]

Fibocom WWAN FM350-GL equipped platform fails to suspend.

[Fix]

Full t7xx driver is still under development and some of them have
already accepted and merged in mainline kernel. The following commits
are once in the mainline and are reverted in v6.0:

  d20ef656f994 net: wwan: t7xx: Add AP CLDMA
  007f26f0d68e net: wwan: t7xx: Infrastructure for early port configuration
  140424d90165 net: wwan: t7xx: PCIe reset rescan
  87dae9e70bf7 net: wwan: t7xx: Enable devlink based fw flashing and
               coredump collection

The first patch implemented the other AP-CLDMA, and with that applied,
platforms in question may suspend and resume normally as every bits are in
position.

However, while these patches had been reverted for another revision that is
still being worked on by the hardware vendor, a minimum, sauced patch is
created to work-around this first to meet project schedules, and will be
reverted and superseded with a final, mainline landing revision.

[Test Case]

Trigger suspend and there should be no more suspend errors from t7xx:

  mtk_t7xx 0000:58:00.0: [PM] SAP suspend error: -110
  mtk_t7xx 0000:58:00.0: PM: pci_pm_suspend(): t7xx_pci_pm_suspend+0x0/0x20 [mtk_t7xx] returns -110
  mtk_t7xx 0000:58:00.0: PM: dpm_run_callback(): pci_pm_suspend+0x0/0x1a0 returns -110
  mtk_t7xx 0000:58:00.0: PM: failed to suspend async: error -110

[Where problems could occur]

The t7xx driver is still incomplete and we're staging aforementioned 4 patches
in internal experimental kernels for development use.

[Other Info]

This affects Kinetic and above, so only Unstable, Kinetic and OEM-6.0 are
nominated for fix.

Sethuraman, Muralidharan (1):
  UBUNTU: SAUCE: t7xx: skip suspend to AP-CLDMA

 drivers/net/wwan/t7xx/t7xx_pci.c | 7 -------
 1 file changed, 7 deletions(-)