FAILED: patch "[PATCH] r8169: fix RTL8117 Wake-on-Lan in DASH mode" failed to apply to 5.15-stable tree
[email protected]
maintainerThe patch below does not apply to the 5.15-stable tree.
If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to <[email protected]>.
To reproduce the conflict and resubmit, you may use the following commands:
git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-5.15.y
git checkout FETCH_HEAD
git cherry-pick -x dd75c723ef566f7f009c047f47e0eee95fe348ab
# <resolve conflicts, build, test, etc.>
git commit -s
git send-email --to '<[email protected]>' --in-reply-to '2025122945-mold-ducktail-63db@gregkh' --subject-prefix 'PATCH 5.15.y' HEAD^..
Possible dependencies:
thanks,
greg k-h
------------------ original commit in Linus's tree ------------------
From dd75c723ef566f7f009c047f47e0eee95fe348ab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ren=C3=A9=20Rebe?= <[email protected]>
Date: Tue, 2 Dec 2025 19:41:37 +0100
Subject: [PATCH] r8169: fix RTL8117 Wake-on-Lan in DASH mode
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Wake-on-Lan does currently not work for r8169 in DASH mode, e.g. the ASUS Pro WS X570-ACE with RTL8168fp/RTL8117.
Fix by not returning early in rtl_prepare_power_down when dash_enabled. While this fixes WoL, it still kills the OOB RTL8117 remote management BMC connection. Fix by not calling rtl8168_driver_stop if WoL is enabled.
drivers/net/ethernet/realtek/r8169_main.c +1 -4
@@ -2655,9 +2655,6 @@ static void rtl_wol_enable_rx(struct rtl8169_private *tp)static void rtl_prepare_power_down (struct rtl8169_private *tp) { -if (tp->dash_enabled) -return ; -if (tp->mac_version ==RTL_GIGA_MAC_VER_32 || tp->mac_version ==RTL_GIGA_MAC_VER_33 )rtl_ephy_write (tp,0x19 ,0xff64 );
@@ -4812,7 +4809,7 @@ static void rtl8169_down(struct rtl8169_private *tp)rtl_disable_exit_l1 (tp);rtl_prepare_power_down (tp); -if (tp->dash_type !=RTL_DASH_NONE ) +if (tp->dash_type !=RTL_DASH_NONE && !tp->saved_wolopts)rtl8168_driver_stop (tp); }
Sasha Levin
maintainerPATCH 1/1 r8169: fix RTL8117 Wake-on-Lan in DASH mode
From: René Rebe <[email protected]>
[ Upstream commit dd75c723ef566f7f009c047f47e0eee95fe348ab ]
Wake-on-Lan does currently not work for r8169 in DASH mode, e.g. the ASUS Pro WS X570-ACE with RTL8168fp/RTL8117.
Fix by not returning early in rtl_prepare_power_down when dash_enabled. While this fixes WoL, it still kills the OOB RTL8117 remote management BMC connection. Fix by not calling rtl8168_driver_stop if WoL is enabled.
--- drivers/net/ethernet/realtek/r8169_main.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
drivers/net/ethernet/realtek/r8169_main.c +1 -4
@@ -2513,9 +2513,6 @@ static void rtl_wol_enable_rx(struct rtl8169_private *tp)static void rtl_prepare_power_down (struct rtl8169_private *tp) { -if (tp->dash_type !=RTL_DASH_NONE ) -return ; -if (tp->mac_version ==RTL_GIGA_MAC_VER_32 || tp->mac_version ==RTL_GIGA_MAC_VER_33 )rtl_ephy_write (tp,0x19 ,0xff64 );
@@ -4763,7 +4760,7 @@ static void rtl8169_down(struct rtl8169_private *tp)rtl_prepare_power_down (tp); -if (tp->dash_type !=RTL_DASH_NONE ) +if (tp->dash_type !=RTL_DASH_NONE && !tp->saved_wolopts)rtl8168_driver_stop (tp); }
Signature · 1 line
2.51.0