r8169: fix RTL8127 hang on suspend/shutdown
authorHeiner Kallweit <hkallweit1@gmail.com>
Sat, 22 Nov 2025 14:23:02 +0000 (15:23 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 26 Nov 2025 03:12:48 +0000 (19:12 -0800)
commitae1737e7339b513f8c2fc21b500a0fc215d155c3
treed3fb07ea728ac47f70517f19bc13059ffab794a5
parentf5bce28f6b9125502abec4a67d68eabcd24b3b17
r8169: fix RTL8127 hang on suspend/shutdown

There have been reports that RTL8127 hangs on suspend and shutdown,
partially disappearing from lspci until power-cycling.
According to Realtek disabling PLL's when switching to D3 should be
avoided on that chip version. Fix this by aligning disabling PLL's
with the vendor drivers, what in addition results in PLL's not being
disabled when switching to D3hot on other chip versions.

Fixes: f24f7b2f3af9 ("r8169: add support for RTL8127A")
Tested-by: Fabio Baltieri <fabio.baltieri@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Link: https://patch.msgid.link/d7faae7e-66bc-404a-a432-3a496600575f@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/realtek/r8169_main.c