linux/drivers/net/ethernet/intel/igb
Arvind Sankar dabb8338be igb: Fix WARN_ONCE on runtime suspend
The runtime_suspend device callbacks are not supposed to save
configuration state or change the power state. Commit fb29f76cc566
("igb: Fix an issue that PME is not enabled during runtime suspend")
changed the driver to not save configuration state during runtime
suspend, however the driver callback still put the device into a
low-power state. This causes a warning in the pci pm core and results in
pci_pm_runtime_suspend not calling pci_save_state or pci_finish_runtime_suspend.

Fix this by not changing the power state either, leaving that to pci pm
core, and make the same change for suspend callback as well.

Also move a couple of defines into the appropriate header file instead
of inline in the .c file.

Fixes: fb29f76cc566 ("igb: Fix an issue that PME is not enabled during runtime suspend")
Signed-off-by: Arvind Sankar <niveditas98@gmail.com>
Reviewed-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2019-03-26 16:12:34 -07:00
..
e1000_82575.c
e1000_82575.h
e1000_defines.h igb: Fix WARN_ONCE on runtime suspend 2019-03-26 16:12:34 -07:00
e1000_hw.h
e1000_i210.c igb: fix uninitialized variables 2018-11-28 08:27:47 -08:00
e1000_i210.h
e1000_mac.c
e1000_mac.h
e1000_mbx.c
e1000_mbx.h
e1000_nvm.c
e1000_nvm.h
e1000_phy.c igb: e1000_phy: Mark expected switch fall-through 2018-08-07 17:54:20 -07:00
e1000_phy.h
e1000_regs.h
igb.h Revert "igb: reduce CPU0 latency when updating statistics" 2019-01-15 13:33:44 -08:00
igb_ethtool.c Revert "igb: reduce CPU0 latency when updating statistics" 2019-01-15 13:33:44 -08:00
igb_hwmon.c
igb_main.c igb: Fix WARN_ONCE on runtime suspend 2019-03-26 16:12:34 -07:00
igb_ptp.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2018-11-11 17:57:54 -08:00
Makefile