linux-stable/drivers/net/wwan/iosm
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_ipc_chnl_cfg.c net: wwan: iosm: transport layer support for fw flashing/cd 2021-09-20 10:03:37 +01:00
iosm_ipc_chnl_cfg.h net: wwan: iosm: transport layer support for fw flashing/cd 2021-09-20 10:03:37 +01:00
iosm_ipc_coredump.c net: wwan: iosm: fw flashing and cd improvements 2021-09-22 14:23:33 +01:00
iosm_ipc_coredump.h net: wwan: iosm: fw flashing and cd improvements 2021-09-22 14:23:33 +01:00
iosm_ipc_debugfs.c net: wwan: iosm: move debugfs knobs into a subdir 2021-12-08 17:58:58 -08:00
iosm_ipc_debugfs.h net: wwan: make debugfs optional 2021-12-08 17:58:59 -08:00
iosm_ipc_devlink.c net: wwan: iosm: correct devlink extra params 2021-10-02 16:05:20 +01:00
iosm_ipc_devlink.h net: wwan: iosm: correct devlink extra params 2021-10-02 16:05:20 +01:00
iosm_ipc_flash.c net: wwan: iosm: correct devlink extra params 2021-10-02 16:05:20 +01:00
iosm_ipc_flash.h net: wwan: iosm: fw flashing and cd improvements 2021-09-22 14:23:33 +01:00
iosm_ipc_imem.c net: wwan: iosm: release data channel in case no active IP session 2021-12-10 20:53:56 -08:00
iosm_ipc_imem.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-12-09 13:23:02 -08:00
iosm_ipc_imem_ops.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2021-12-09 13:23:02 -08:00
iosm_ipc_imem_ops.h net: wwan: iosm: consolidate trace port init code 2021-12-08 17:58:57 -08:00
iosm_ipc_irq.c
iosm_ipc_irq.h
iosm_ipc_mmio.c net: wwan: iosm: correct open parenthesis alignment 2021-12-10 20:53:56 -08:00
iosm_ipc_mmio.h net: wwan: iosm: correct data protocol mask bit 2021-08-05 11:28:55 +01:00
iosm_ipc_mux.c net: wwan: iosm: release data channel in case no active IP session 2021-12-10 20:53:56 -08:00
iosm_ipc_mux.h net: wwan: iosm: release data channel in case no active IP session 2021-12-10 20:53:56 -08:00
iosm_ipc_mux_codec.c net: wwan: iosm: release data channel in case no active IP session 2021-12-10 20:53:56 -08:00
iosm_ipc_mux_codec.h net: wwan: iosm: endianness type correction 2021-08-05 11:28:55 +01:00
iosm_ipc_pcie.c Revert "net: wwan: iosm: Keep device at D0 for s2idle case" 2022-01-04 18:15:17 -08:00
iosm_ipc_pcie.h
iosm_ipc_pm.c net: iosm: power management 2021-06-13 13:49:38 -07:00
iosm_ipc_pm.h net: iosm: power management 2021-06-13 13:49:38 -07:00
iosm_ipc_port.c net: wwan: iosm: device trace collection using relayfs 2021-11-22 13:23:08 +00:00
iosm_ipc_port.h net: iosm: wwan port control device 2021-06-13 13:49:38 -07:00
iosm_ipc_protocol.c net: wwan: iosm: switch from 'pci_' to 'dma_' API 2021-08-23 11:56:56 +01:00
iosm_ipc_protocol.h net: iosm: shared memory protocol 2021-06-13 13:49:38 -07:00
iosm_ipc_protocol_ops.c net: wwan: iosm: switch from 'pci_' to 'dma_' API 2021-08-23 11:56:56 +01:00
iosm_ipc_protocol_ops.h net: iosm: protocol operations 2021-06-13 13:49:38 -07:00
iosm_ipc_task_queue.c net: iosm: bottom half 2021-06-13 13:49:38 -07:00
iosm_ipc_task_queue.h net: iosm: bottom half 2021-06-13 13:49:38 -07:00
iosm_ipc_trace.c net: wwan: make debugfs optional 2021-12-08 17:58:59 -08:00
iosm_ipc_trace.h net: wwan: make debugfs optional 2021-12-08 17:58:59 -08:00
iosm_ipc_uevent.c net: wwan: iosm: fix uevent reporting 2021-07-01 13:04:41 -07:00
iosm_ipc_uevent.h net: iosm: uevent support 2021-06-13 13:49:38 -07:00
iosm_ipc_wwan.c net: wwan: iosm: set tx queue len 2021-12-10 20:53:56 -08:00
iosm_ipc_wwan.h net: wwan: iosm: removed unused function decl 2021-12-10 20:53:56 -08:00
Makefile net: wwan: make debugfs optional 2021-12-08 17:58:59 -08:00