]> 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)
commit3832020c2c9a197698ae8088b192d5f2d9c22a1a
treebd921b151ba9bcf968fc071673114291511d65c3
parent7ba9143b399ed71b16b6d87ee8b01eccf7514f6f
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