From: Thorsten Leemhuis <regressions@leemhuis.info>
To: Lasse Bjerre <lasse@lgb.dk>, Javen <javen_xu@realsil.com.cn>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>,
Heiner Kallweit <hkallweit1@gmail.com>,
Linux kernel regressions list <regressions@lists.linux.dev>
Subject: Re: [Bug 221606] r8169: PCIe AER errors and recovery failure after recent driver changes
Date: Mon, 6 Jul 2026 13:03:41 +0200 [thread overview]
Message-ID: <eb5bb7ba-d6f5-4989-8cdc-bd57059fda34@leemhuis.info> (raw)
In-Reply-To: <PA4PR02MB6991F71D748EE9A99191EEACDA1E2@PA4PR02MB6991.eurprd02.prod.outlook.com>
On 6/10/26 19:58, Lasse Bjerre wrote:
>
> Absolutely, I have attached a full dmesg from a fresh boot as well as
> the output of lspci.
> Important to note (should have done so earlier) that I have manually
> turned on l1_1_aspm using a udev rule. It is not on by default, but has
> worked flawlessly until the issue in question.
Hmm, seems nothing happened since then -- or was there progress and I
just missed it? If not: is this intentional (due to manually enabling
l1_1_aspm maybe?), or did this regression fall through the cracks?
Ciao, Thorsten
> ------------------------------------------------------------------------
> *From:* Javen <javen_xu@realsil.com.cn>
> *Sent:* 04 June 2026 11:01
> *To:* Heiner Kallweit <hkallweit1@gmail.com>
> *Cc:* netdev@vger.kernel.org <netdev@vger.kernel.org>; Lasse Bjerre
> <lasse@lgb.dk>
> *Subject:* RE: [Bug 221606] r8169: PCIe AER errors and recovery failure
> after recent driver changes
>
>>On 03.06.2026 09:44, bugzilla-daemon@kernel.org wrote:
>>> https://bugzilla.kernel.org/show_bug.cgi?id=221606 <https://
> bugzilla.kernel.org/show_bug.cgi?id=221606>
>>>
>>> --- Comment #2 from lasse@lgb.dk ---
>>> Commit 9ab94a32af704fa9c873094283ae8744a07baf25 (r8169: enable LTR
>>> support) seems to be the issue. Running the commit before this doesn't
>>> give me any AER errors and everything seems to behave normally.
>>>
>>Bisecting the reported issue points to one of your commits.
>>Could you please check with the user?
>
> Hi, Heiner, Lasse
>
> Thanks for reporting this issue.
>
> Currently, we haven't received any similar reports from our customers,
> and I am unable to reproduce this AER error on my local test platforms.
>
> Could you please provide some more detailed information? The full dmesg
> log will help me check the exact AER error messages and the boot
> context. Also the output of sudo lspci -vvv. I need this to check the
> exact platform information, PCIe topology, and the LTR/ASPM capabilities
> of both your Root Port and the Realtek NIC.
>
> While reviewing the initialization flow, I noticed a potential logic
> contradiction. If rtl_aspm_is_safe(tp) returns false, the driver
> disables L1 at the PCIe core level, but tp->aspm_manageable might still
> be set to true. This could cause the driver to incorrectly enable ASPM/
> LTR in the MAC registers later, creating a hardware state mismatch (PCIe
> L1 disabled, but MAC LTR enabled) which usually leads to AER.
>
> Could you please test if the following patch fixes the AER error on your
> side?
>
> - if (enable && tp->aspm_manageable) {
> + if (enable && tp->aspm_manageable && rtl_aspm_is_safe(tp)) {
>
> Thanks,
> BRs,
> Javen
prev parent reply other threads:[~2026-07-06 11:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <bug-221606-201211@https.bugzilla.kernel.org/>
[not found] ` <bug-221606-201211-LMiiKJhHhg@https.bugzilla.kernel.org/>
2026-06-03 20:33 ` [Bug 221606] r8169: PCIe AER errors and recovery failure after recent driver changes Heiner Kallweit
2026-06-04 9:01 ` Javen
2026-06-06 20:34 ` Heiner Kallweit
2026-06-10 17:58 ` Lasse Bjerre
2026-07-06 11:03 ` Thorsten Leemhuis [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=eb5bb7ba-d6f5-4989-8cdc-bd57059fda34@leemhuis.info \
--to=regressions@leemhuis.info \
--cc=hkallweit1@gmail.com \
--cc=javen_xu@realsil.com.cn \
--cc=lasse@lgb.dk \
--cc=netdev@vger.kernel.org \
--cc=regressions@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox