]> git.baikalelectronics.ru Git - kernel.git/commit
e1000e: i219 execute unit hang fix on every reset or power state transition
authorYanir Lubetkin <yanirx.lubetkin@intel.com>
Wed, 22 Apr 2015 01:15:01 +0000 (04:15 +0300)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 3 Jun 2015 10:21:30 +0000 (03:21 -0700)
commit5d2c5c232933e3bda679827e8b7329d81ee5435e
treecd5059d2b32a05ab743997e71ff6a2ba385daf93
parent2ff74c0aea0b6c6becabd775bb2e82b27bb3a7f5
e1000e: i219 execute unit hang fix on every reset or power state transition

After testing various cases, the conclusion is that the fix MUST be
executed BEFORE any event that the HW is reset or transition to D3.
To fix that I moved the execution to the relevant places but per
Alexander Duyck's review, ensure now that the DMA is valid and was not
freed before manipulating the ring.

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>
drivers/net/ethernet/intel/e1000e/netdev.c