** Description changed: [Impact] After hot-plug the Ethernet cable, the status of Ethernet is always down. [Fix] Because ASPM is enabled on RTL8106E, the link change interrupt can't be fired immediately. - Need to wait a long time to get the link change interrupt. - Introduce a polling method to watch the link status and disable the link change interrupt for RTL8106E. - Due to schedule, SRU this patch first and will upstream later. + Must wait a long time to get the link change interrupt. + After discuss with maintainer, he give some suggestions + 1. use PHY_POLL. + 2. he send a workaround(Ref. [1]) to disable ASPM on RTL8106E. + + For 1, because don't know the details about operated registers in + rtl_hw_aspm_clkreq_enable, it have higher risk. + + For 2, Use PHY_POLL have a lower risk because don't change any register operations and use polling method to query link change status. + SRU the patches for 2 first. + + Currently keep discussing with Realtek but don't figure out yet. + Will re-SRU the official solution once Realtek resolve the issue. + + Ref [1], https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net- + next.git/commit/?id=1ee8856de82faec9bc8bd0f2308a7f27e30ba207 [Test] Verified on machines with Realtek Ethernet device, the Ethernet works well after hotplug 30 times. [Regression Potential] - High, may have some cases missed in link change polling method and will fix them in the future. + Medium, use polling methond may have higher cpu usage.
** Description changed: [Impact] After hot-plug the Ethernet cable, the status of Ethernet is always down. [Fix] Because ASPM is enabled on RTL8106E, the link change interrupt can't be fired immediately. Must wait a long time to get the link change interrupt. After discuss with maintainer, he give some suggestions - 1. use PHY_POLL. + 1. use PHY_POLL. 2. he send a workaround(Ref. [1]) to disable ASPM on RTL8106E. For 1, because don't know the details about operated registers in - rtl_hw_aspm_clkreq_enable, it have higher risk. + rtl_hw_aspm_clkreq_enable, it have higher risk on power usage during + suspend. For 2, Use PHY_POLL have a lower risk because don't change any register operations and use polling method to query link change status. SRU the patches for 2 first. Currently keep discussing with Realtek but don't figure out yet. Will re-SRU the official solution once Realtek resolve the issue. Ref [1], https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net- next.git/commit/?id=1ee8856de82faec9bc8bd0f2308a7f27e30ba207 [Test] Verified on machines with Realtek Ethernet device, the Ethernet works well after hotplug 30 times. [Regression Potential] Medium, use polling methond may have higher cpu usage. -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1930645 Title: Fix Ethernet not working by hotplug - RTL8106E Status in HWE Next: New Status in linux package in Ubuntu: In Progress Status in linux-oem-5.10 package in Ubuntu: New Status in linux-oem-5.10 source package in Focal: In Progress Status in linux source package in Impish: In Progress Status in linux-oem-5.10 source package in Impish: New Bug description: [Impact] After hot-plug the Ethernet cable, the status of Ethernet is always down. [Fix] Because ASPM is enabled on RTL8106E, the link change interrupt can't be fired immediately. Must wait a long time to get the link change interrupt. After discuss with maintainer, he give some suggestions 1. use PHY_POLL. 2. he send a workaround(Ref. [1]) to disable ASPM on RTL8106E. For 1, because don't know the details about operated registers in rtl_hw_aspm_clkreq_enable, it have higher risk on power usage during suspend. For 2, Use PHY_POLL have a lower risk because don't change any register operations and use polling method to query link change status. SRU the patches for 2 first. Currently keep discussing with Realtek but don't figure out yet. Will re-SRU the official solution once Realtek resolve the issue. Ref [1], https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net- next.git/commit/?id=1ee8856de82faec9bc8bd0f2308a7f27e30ba207 [Test] Verified on machines with Realtek Ethernet device, the Ethernet works well after hotplug 30 times. [Regression Potential] Medium, use polling methond may have higher cpu usage. To manage notifications about this bug go to: https://bugs.launchpad.net/hwe-next/+bug/1930645/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp