mbox series

[0/2,v2] Leverage runtime suspend to speed up the s2ram on e1000e

Message ID cover.1606370334.git.yu.c.chen@intel.com (mailing list archive)
Headers show
Series Leverage runtime suspend to speed up the s2ram on e1000e | expand

Message

Chen Yu Nov. 26, 2020, 6:14 a.m. UTC
The NIC is put in runtime suspend status when there is no cable connected.
As a result, it is safe to keep non-wakeup NIC in runtime suspended during
s2ram because the system does not rely on the NIC plug event nor WoL to wake
up the system. After doing this, the s2ram could speed up the suspend/resume
process a lot.

Chen Yu (2):
  e1000e: Assign DPM_FLAG_SMART_SUSPEND and DPM_FLAG_MAY_SKIP_RESUME to
    speed up s2ram
  e1000e: Remove the runtime suspend restriction on CNP+

 drivers/base/power/main.c                  |  2 ++
 drivers/net/ethernet/intel/e1000e/netdev.c | 21 +++++++++++++++++++--
 2 files changed, 21 insertions(+), 2 deletions(-)