From: Mika Westerberg <mika.westerberg@linux.intel.com>
To: "Achim Löbbert" <aloebbert@gmx.de>
Cc: linux-usb@vger.kernel.org, Mario Limonciello <superm1@kernel.org>
Subject: Re: [REGRESSION/BUG] thunderbolt: ASM4242 fails to restore DP tunnel after resume on Ryzen 8700G (7.4-rc4)
Date: Thu, 26 Nov 2026 13:27:15 +0100 [thread overview]
Message-ID: <20261126122715.GA953667@black.igk.intel.com> (raw)
In-Reply-To: <y0Ed3XDFSA-_b1YnGjn2yQ@gmx.de>
Hi,
On Thu, Nov 26, 2026 at 09:53:05AM +0100, Achim Löbbert wrote:
> > Can you provide full dmesg without anything non-standard, except
> > "thunderbolt.dyndbg=+p" in the command line?
> >
> > Once the host router (well any router) is enumerated during resume it is
> > expected to send plug events to the DP IN adapters that are available for
> > tunneling. That does not seem to happen here but it would be good to see
> > the full dmesg first.
>
> Hi Mika,
>
> please find attached full dmesg log with command line changed as requested.
> Still have a black screen after resume, until a manual re-bind of 0000:71:00.
Thanks! I can see that the ASMedia controller does not send plug events to
its DP IN adapters at all. My interpretation of the spec is that it should
do that but I think we can fix this with something like below. Can you try
it?
I haven't tried on Intel hardware yet so if this works for you we should
still check for both AMD/Intel that nothing breaks.
diff --git a/drivers/thunderbolt/tb.c b/drivers/thunderbolt/tb.c
index 4db25062b5e5..964191a1e0ab 100644
--- a/drivers/thunderbolt/tb.c
+++ b/drivers/thunderbolt/tb.c
@@ -3198,6 +3198,8 @@ static void tb_restore_children(struct tb_switch *sw)
if (tb_enable_tmu(sw))
tb_sw_warn(sw, "failed to restore TMU configuration\n");
+ tb_add_dp_resources(sw);
+
tb_switch_configuration_valid(sw);
tb_switch_for_each_port(sw, port) {
prev parent reply other threads:[~2026-11-26 12:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-25 17:10 [REGRESSION/BUG] thunderbolt: ASM4242 fails to restore DP tunnel after resume on Ryzen 8700G (7.4-rc4) Achim Löbbert
2026-11-26 7:31 ` Mika Westerberg
2026-11-26 8:53 ` Achim Löbbert
2026-11-26 12:27 ` Mika Westerberg [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=20261126122715.GA953667@black.igk.intel.com \
--to=mika.westerberg@linux.intel.com \
--cc=aloebbert@gmx.de \
--cc=linux-usb@vger.kernel.org \
--cc=superm1@kernel.org \
/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