summaryrefslogtreecommitdiffstats
path: root/drivers/net/plip
diff options
context:
space:
mode:
authorYanir Lubetkin2015-04-22 18:25:17 +0200
committerJeff Kirsher2015-06-03 12:29:52 +0200
commit95f0d950467f1228d4e326c11150e1750a6dd1ef (patch)
tree5349f55d20124867304a2200a48b4c83444f068e /drivers/net/plip
parente1000e: remove call to do_div and sign mismatch warning (diff)
downloadkernel-qcow2-linux-95f0d950467f1228d4e326c11150e1750a6dd1ef.tar.gz
kernel-qcow2-linux-95f0d950467f1228d4e326c11150e1750a6dd1ef.tar.xz
kernel-qcow2-linux-95f0d950467f1228d4e326c11150e1750a6dd1ef.zip
e1000e: fix logical error in flush_desc_rings
The condition under which the flush should occur was reversed. The fix should be applied before any HW reset (unless followed by bus reset) and before any power state transition from D0. If E1000_FEXTNVM7_NEED_DESCRING_FLUSH bit is set in FEXTNVM7 and TDLEN > 0 the Tx ring should be flushed. (fixes ~95% of the hang states). If the E1000_FEXTNVM7_NEED_DESCRING_FLUSH did not clear, we should also flush the RX ring. Bug was caught by Alexander Duyck during a code review when examining this fix. Signed-off-by: Yanir Lubetkin <yanirx.lubetkin@intel.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/plip')
0 files changed, 0 insertions, 0 deletions