]> git.baikalelectronics.ru Git - kernel.git/commit
e1000e: continue to init PHY even when failed to disable ULP
authorAaron Ma <aaron.ma@canonical.com>
Thu, 18 Jun 2020 06:54:53 +0000 (14:54 +0800)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 30 Jul 2020 17:04:54 +0000 (10:04 -0700)
commit9f5ac854bd7976d64759381b7b0e4774f06e81b6
tree8517ad32b0962c33039312adbaa57e540e5fb152
parent3b119e224113794e91a8da5e179bd2491e56ed09
e1000e: continue to init PHY even when failed to disable ULP

After 'commit 3832020c2c9a1 ("e1000e: disable s0ix entry and exit flows
 for ME systems")',
ThinkPad P14s always failed to disable ULP by ME.
'commit 115dff92a6bd ("e1000e: Warn if disabling ULP failed")'
break out of init phy:

error log:
[   42.364753] e1000e 0000:00:1f.6 enp0s31f6: Failed to disable ULP
[   42.524626] e1000e 0000:00:1f.6 enp0s31f6: PHY Wakeup cause - Unicast Packet
[   42.822476] e1000e 0000:00:1f.6 enp0s31f6: Hardware Error

When disable s0ix, E1000_FWSM_ULP_CFG_DONE will never be 1.
If continue to init phy like before, it can work as before.
iperf test result good too.

Fixes: 115dff92a6bd ("e1000e: Warn if disabling ULP failed")
Signed-off-by: Aaron Ma <aaron.ma@canonical.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/e1000e/ich8lan.c