]> git.baikalelectronics.ru Git - kernel.git/commit
e1000e: Add polling mechanism to indicate CSME DPG exit
authorSasha Neftin <sasha.neftin@intel.com>
Thu, 24 Jun 2021 08:18:46 +0000 (11:18 +0300)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 20 Jul 2021 23:11:36 +0000 (16:11 -0700)
commit8175193c43a33fc94d242d56c5fff420b41a5a76
treefb451d854474c4fcedb2cfdb0817a2ebe10da891
parent7c28b2aaf1e5bd6327bc3b4db91590f001d04151
e1000e: Add polling mechanism to indicate CSME DPG exit

Per guidance from the CSME architecture team, it may take
up to 1 second for unconfiguring dynamic power gating mode.
Practically it can take more time. Wait up to 2.5 seconds to indicate
dynamic power gating exit from the S0ix configuration. Detect
scenarios that take more than 1 second but less than 2.5 seconds
will emit warning message.

Signed-off-by: Sasha Neftin <sasha.neftin@intel.com>
Tested-by: Dvora Fuxbrumer <dvorax.fuxbrumer@linux.intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/e1000e/ich8lan.h
drivers/net/ethernet/intel/e1000e/netdev.c
drivers/net/ethernet/intel/e1000e/regs.h