r8169: log that system vendor flags ASPM as safe
Heiner Kallweit
maintainerPATCH 1/1 r8169: log that system vendor flags ASPM as safe
ASPM isn't disabled if system vendor flags it as safe. Log this, in order to know whom to blame if a user complains about ASPM issues on such a system.
Signed-off-by Heiner Kallweit <[email protected]>
--- drivers/net/ethernet/realtek/r8169_main.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
drivers/net/ethernet/realtek/r8169_main.c +4 -2
@@ -5441,10 +5441,12 @@ static int rtl_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)/* Disable ASPM L1 as that cause random device stop working * problems as well as full system hangs for some PCIe devices users. */ -if (rtl_aspm_is_safe (tp)) +if (rtl_aspm_is_safe (tp)) { +dev_info (&pdev->dev,"System vendor flags ASPM as safe\n" ); rc =0 ; -else + }else { rc =pci_disable_link_state (pdev,PCIE_LINK_STATE_L1 ); + } tp->aspm_manageable = !rc; tp->dash_type =rtl_get_dash_type (tp);
Signature · 1 line
2.51.0
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This patch was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 8 lines · On Fri, 12 Sep 2025 21:11:23 +0200 you wrote:
ASPM isn't disabled if system vendor flags it as safe. Log this, in order to know whom to blame if a user complains about ASPM issues on such a system.
Signed-off-by Heiner Kallweit <[email protected]>--- drivers/net/ethernet/realtek/r8169_main.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
Here is the summary with links:
- [net-next] r8169: log that system vendor flags ASPM as safe
https://git.kernel.org/netdev/net-next/c/4d01e55b1ac9
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html