]> git.dujemihanovic.xyz Git - linux.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)
commitef407b86d3cc7ab7ad37658c1c7a094cb8f3b6b4
treefb451d854474c4fcedb2cfdb0817a2ebe10da891
parent3e55d231716ea361b1520b801c6778c4c48de102
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