when ip l s l dev eno1 up kernel will call ndo_open (igc_open) for igc driver.
probably this is returning error.

between 6.8 (working) and 6.11 (not working) following commit was introduced
https://kernel.dance/#6f31d6b643a32cc126cf86093fca1ea575948bf0
commit 6f31d6b643a32cc126cf86093fca1ea575948bf0
Author: Sasha Neftin <[email protected]>
Date:   Sun Feb 11 09:30:58 2024 +0200

    igc: Refactor runtime power management flow
    
    Following the corresponding discussion [1] and [2] refactor the 'igc_open'
    method and avoid taking the rtnl_lock() during the 'igc_resume' method.
    The rtnl_lock is held by the upper layer and could lead to the deadlock
    during resuming from a runtime power management flow. Notify the stack of
    the actual queue counts 'netif_set_real_num_*_queues' outside the
    '_igc_open' wrapper. This notification doesn't have to be called on each
    resume.
    
    Test:
    1. Disconnect the ethernet cable
    2. Enable the runtime power management via file system:
    echo auto > /sys/devices/pci0000\.../power/control
    3. Check the device state (lspci -s <device> -vvv | grep -i Status)
    
    Link: https://lore.kernel.org/netdev/20231206113934.8d7819857574.I2deb5804
    ef1739a2af307283d320ef7d82456494@changeid/#r [1]
    Link: https://lore.kernel.org/netdev/20211125074949.5f897431@kicinski-fedo
    ra-pc1c0hjn.dhcp.thefacebook.com/t/ [2]
    Signed-off-by: Sasha Neftin <[email protected]>
    Tested-by: Naama Meir <[email protected]>
    Signed-off-by: Tony Nguyen <[email protected]>


This could introduce some regression. I will try to take a closer look next 
week.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2107548

Title:
  igc driver does not survive ram suspend on hwe-6.11, up to 6.19 also

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-hwe-6.11/+bug/2107548/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to