Bug 216926

Summary: e1000e: I219 lm17 cannot work after s2idle resume when setting link down before suspend
Product: Drivers Reporter: Jia Liu (liujia6264)
Component: NetworkAssignee: drivers_network (drivers_network)
Status: NEW ---    
Severity: normal    
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: mainline Subsystem:
Regression: No Bisected commit-id:
Attachments: kernel log
command log

Description Jia Liu 2023-01-13 11:13:41 UTC
Created attachment 303592 [details]
kernel log

on HP Elite One 840 with Intel 12th ADP i5-12500 and I219 LM17 adapter, the network cannot work after s2idle resume when setting link down before suspend. Only power cycle can recover. It looks this issue is also related to the speed Gigabit and enabled wakeup status. I didn't reproduce the issue with 100M cable or disabling power/wakeup.

The ME configured s0ix is used for i219-lm17. I tried to let it use the driver configured s0ix path and also didn't reproduce this issue.

Here are the steps: 

(NetworkManager service was disabled to avoid interference)

sudo ip addr add 172.25.120.81/24 dev eno1
sudo ip link set eno1 up (1000M link)
ping 172.25.120.1 (good)
systemctl suspend
ping 172.25.120.1 (good)
sudo ip link set eno1 down
systemctl suspend
sudo ip link set eno1 up
ping 172.25.120.1 (issue occurred with Destination Host Unreachable)
ethtool eno1 (1000M link)
Comment 1 Jia Liu 2023-01-13 11:14:22 UTC
Created attachment 303593 [details]
command log