linux/drivers/net/ethernet/intel/e1000e
Punit Agrawal d601afcae2 e1000e: Relax condition to trigger reset for ME workaround
It's an error if the value of the RX/TX tail descriptor does not match
what was written. The error condition is true regardless the duration
of the interference from ME. But the driver only performs the reset if
E1000_ICH_FWSM_PCIM2PCI_COUNT (2000) iterations of 50us delay have
transpired. The extra condition can lead to inconsistency between the
state of hardware as expected by the driver.

Fix this by dropping the check for number of delay iterations.

While at it, also make __ew32_prepare() static as it's not used
anywhere else.

CC: stable <stable@vger.kernel.org>
Signed-off-by: Punit Agrawal <punit1.agrawal@toshiba.co.jp>
Reviewed-by: Alexander Duyck <alexander.h.duyck@linux.intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2020-05-28 20:18:04 -07:00
..
80003es2lan.c e1000e: Reduce boot time by tightening sleep ranges 2019-06-28 15:59:52 -07:00
80003es2lan.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
82571.c e1000e: Reduce boot time by tightening sleep ranges 2019-06-28 15:59:52 -07:00
82571.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
defines.h e1000e: PCIm function state support 2019-06-28 16:00:28 -07:00
e1000.h e1000e: Relax condition to trigger reset for ME workaround 2020-05-28 20:18:04 -07:00
ethtool.c e1000e: reject unsupported coalescing params 2020-03-05 12:12:35 -08:00
hw.h e1000e: Add support for Tiger Lake device 2020-02-19 16:51:24 -08:00
ich8lan.c e1000e: Warn if disabling ULP failed 2020-05-22 18:21:52 -07:00
ich8lan.h e1000e: add workaround for possible stalled packet 2019-07-24 13:55:09 -07:00
mac.c net: intel: e1000e: fix possible sleep-in-atomic-context bugs in e1000e_get_hw_semaphore() 2020-02-19 15:25:59 -08:00
mac.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
Makefile net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
manage.c net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
manage.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
netdev.c e1000e: Relax condition to trigger reset for ME workaround 2020-05-28 20:18:04 -07:00
nvm.c e1000e: Reduce boot time by tightening sleep ranges 2019-06-28 15:59:52 -07:00
nvm.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
param.c net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
phy.c net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
phy.h net: intel: Cleanup the copyright/license headers 2018-04-27 14:00:04 -04:00
ptp.c e1000e: Add support for Alder Lake 2020-02-19 16:51:12 -08:00
regs.h e1000e: fix S0ix flows for cable connected case 2020-04-19 11:37:00 -07:00