APPLIED[B/D/E]/cmnt: [SRU] [B/D/E/OEM-B/OEM-OSP1-B] [PATCH 0/3] Fix non-working Realtek USB ethernet after system resume
Kleber Souza
kleber.souza at canonical.com
Wed Oct 16 16:22:23 UTC 2019
On 07.10.19 12:45, Kai-Heng Feng wrote:
> BugLink: https://bugs.launchpad.net/bugs/1847063
>
> [Impact]
> If mac passthrough is enbled, Realtek USB ethernet (r8152) doesn't work
> under the following steps:
> 1. Connect to a Dell dock
> 2. Suspend the system
> 3. Re-plug the dock
> 4. Resume the system
> 5. Ethernet stops working
>
> [Fix]
> The USB port lose its power when the dock gets replugged, so we need to
> re-write the MAC address at reset_resume callback.
>
> [Test]
> The fix is succesfully tested on Dell WD15 dock and TB16 dock.
>
> [Regression Potential]
> Low. The fix limits to one single device and only take affect when MAC
> passthrough is enabled.
>
> Kai-Heng Feng (1):
> r8152: Set macpassthru in reset_resume callback
>
> Mario Limonciello (2):
> r8152: remove extra action copying ethernet address
> r8152: Refresh MAC address during USBDEVFS_RESET
>
> drivers/net/usb/r8152.c | 54 +++++++++++++++++++++++++++--------------
> 1 file changed, 36 insertions(+), 18 deletions(-)
>
Applied to bionic, disco and eoan master-next branches.
Patches 1/3 and 2/3 was already applied to Eoan, so I applied
only patch 3/3.
Thanks,
Kleber
More information about the kernel-team
mailing list