linux-stable/drivers/net/wwan
M Chetan Kumar ffd32ea6b1 Revert "net: wwan: iosm: Keep device at D0 for s2idle case"
Depending on BIOS configuration IOSM driver exchanges
protocol required for putting device into D3L2 or D3L1.2.

ipc_pcie_suspend_s2idle() is implemented to put device to D3L1.2.

This patch forces PCI core know this device should stay at D0.
- pci_save_state()is expensive since it does a lot of slow PCI
config reads.

The reported issue is not observed on x86 platform. The supurios
wake on AMD platform needs to be futher debugged with orignal patch
submitter [1]. Also the impact of adding pci_save_state() needs to be
assessed by testing it on other platforms.

This reverts commit f4dd5174e273("net: wwan: iosm: Keep device
at D0 for s2idle case").

[1] https://lore.kernel.org/all/20211224081914.345292-2-kai.heng.feng@canonical.com/

Signed-off-by: M Chetan Kumar <m.chetan.kumar@linux.intel.com>
Link: https://lore.kernel.org/r/20220104150213.1894-1-m.chetan.kumar@linux.intel.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-01-04 18:15:17 -08:00
..
iosm Revert "net: wwan: iosm: Keep device at D0 for s2idle case" 2022-01-04 18:15:17 -08:00
Kconfig net: wwan: make debugfs optional 2021-12-08 17:58:59 -08:00
Makefile net: wwan: Add Qualcomm BAM-DMUX WWAN network driver 2021-11-29 12:27:34 +00:00
mhi_wwan_ctrl.c Revert "net: really fix the build..." 2021-08-26 11:08:32 -07:00
mhi_wwan_mbim.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-08-26 17:57:57 -07:00
qcom_bam_dmux.c net: wwan: Add Qualcomm BAM-DMUX WWAN network driver 2021-11-29 12:27:34 +00:00
rpmsg_wwan_ctrl.c net: wwan: Allow WWAN drivers to provide blocking tx and poll function 2021-06-18 13:13:40 -07:00
wwan_core.c net: wwan: make debugfs optional 2021-12-08 17:58:59 -08:00
wwan_hwsim.c wwan: core: support default netdev creation 2021-06-22 10:01:16 -07:00