Star64_linux/drivers/net/ethernet/intel/e1000e
David Ertman f7235ef669 e1000e: Resolve issues with Management Engine (ME) briefly blocking PHY resets
On a ME enabled system with the cable out, the driver init flow would
generate an erroneous message indicating that resets were being blocked
by an active ME session.  Cause was ME clearing the semaphore bit to
block further PHY resets for up to 50 msec during power-on/cycle.  After
this interval, ME would re-set the bit and allow PHY resets.

To resolve this, change the flow of e1000e_phy_hw_reset_generic() to
utilize a delay and retry method.  Poll the FWSM register to minimize
any extra time added to the flow.  If the delay times out at 100ms
(checked in 10msec increments), then return the value E1000_BLK_PHY_RESET,
as this is the accurate state of the PHY.  Attempting to alter just the
call to e1000e_phy_hw_reset_generic() in e1000_init_phy_workarounds_pchlan()
just caused the problem to move further down the flow.

Signed-off-by: Dave Ertman <davidx.m.ertman@intel.com>
Acked-by: Bruce W. Allan <bruce.w.allan@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2014-03-07 21:24:55 -08:00
..
80003es2lan.c e1000e: fix compiler warning (maybe-unitialized variable) 2013-12-17 22:20:49 -08:00
80003es2lan.h
82571.c e1000e: balance semaphore put/get for 82573 2013-08-27 16:05:26 -04:00
82571.h
defines.h
e1000.h intel: Remove extern from function prototypes 2013-09-24 12:51:37 -07:00
ethtool.c e1000e: fix overrun of PHY RAR array 2013-09-13 10:19:56 -07:00
hw.h e1000e: cleanup whitespace in recent commit 2013-08-22 02:33:05 -07:00
ich8lan.c e1000e: Resolve issues with Management Engine (ME) briefly blocking PHY resets 2014-03-07 21:24:55 -08:00
ich8lan.h e1000e: fix overrun of PHY RAR array 2013-09-13 10:19:56 -07:00
mac.c
mac.h
Makefile
manage.c
manage.h
netdev.c e1000e: Cleanup unecessary references 2014-03-07 21:00:58 -08:00
nvm.c
nvm.h
param.c
phy.c e1000e: fix compiler warnings 2013-12-17 21:52:39 -08:00
phy.h
ptp.c e1000e: PTP lock in e1000e_phc_adjustfreq 2014-03-07 20:53:56 -08:00
regs.h