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)
commite086ba2fccda4c196b84a167493f67f089d0ebdc
treebd921b151ba9bcf968fc071673114291511d65c3
parentf29801030ac67bf98b7a65d3aea67b30769d4f7c
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