]> 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)
commitbae650e28898fed1a3a9e383f2a712f5158dab58
treecd5059d2b32a05ab743997e71ff6a2ba385daf93
parent8b9f6321ab403aa08909c2b11949e759c02f0f8a
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