summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorPunit Agrawal <punit1.agrawal@toshiba.co.jp>2020-05-15 13:31:27 +0900
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-06-20 10:23:23 +0200
commit1a3e0133f41d85bf8a3f2e5d90d9f8b381a59749 (patch)
tree53f68289419ee2448d7f58fc2bf14e41738dd5fd /scripts/objdiff
parentd6dd03a4080845eb7431c564213c3dea700137b7 (diff)
e1000e: Relax condition to trigger reset for ME workaround
commit d601afcae2febc49665008e9a79e701248d56c50 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions