]> git.baikalelectronics.ru Git - kernel.git/commit
e1000e: disable s0ix entry and exit flows for ME systems
authorVitaly Lifshits <vitaly.lifshits@intel.com>
Thu, 7 May 2020 17:14:06 +0000 (20:14 +0300)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 23 May 2020 01:21:52 +0000 (18:21 -0700)
commit92c5abc0d9dd85be945360c9ec889dd9ab857218
treebd921b151ba9bcf968fc071673114291511d65c3
parent6ed39afad32d97201d28e78b39f4aef7d2c6fbbe
e1000e: disable s0ix entry and exit flows for ME systems

Since ME systems do not support SLP_S0 in S0ix state, and S0ix entry
and exit flows may cause errors on them it is best to avoid using
e1000e_s0ix_entry_flow and e1000e_s0ix_exit_flow functions.

This was done by creating a struct of all devices that comes with ME
and by checking if the current device has ME.

Signed-off-by: Vitaly Lifshits <vitaly.lifshits@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