Linux USB
 help / color / mirror / Atom feed
From: Mika Westerberg <mika.westerberg@linux.intel.com>
To: "Achim Löbbert" <aloebbert@gmx.de>
Cc: Mario Limonciello <superm1@kernel.org>, linux-usb@vger.kernel.org
Subject: Re: [REGRESSION/BUG] thunderbolt: ASM4242 fails to restore DP tunnel after resume on Ryzen 8700G (7.4-rc4)
Date: Fri, 4 Dec 2026 06:55:05 +0100	[thread overview]
Message-ID: <20261204055505.GC953667@black.igk.intel.com> (raw)
In-Reply-To: <8HBCiDgeTTSZCak1oDncfQ@gmx.de>

Hi,

On Thu, Dec 03, 2026 at 07:46:35PM +0100, Achim Löbbert wrote:
> On Thursday, 3. Dezember 2026 18:28:10 CET Mika Westerberg wrote:
> > On Thu, Dec 03, 2026 at 06:22:15PM +0100, Achim Löbbert wrote:
> > > The patch does not apply for some reason, at least partly. Same result for
> > > gentoo git-sources (7.4-rc5) as well as on the git respository you
> > > specified:
> > > 
> > > $ git clone https://git.kernel.org/pub/scm/linux/kernel/git/westeri/
> > > thunderbolt.git
> > > $ cd thunderbolt
> > > $ patch -p1 --dry-run < ~/work/patches/linux-usb/0002-thunderbolt-Re-plug-
> > > ASM4242-DP-tunnels-once-system-r.patch
> > > checking file drivers/thunderbolt/tb.c
> > > Hunk #1 succeeded at 3134 (offset -32 lines).
> > > Hunk #2 FAILED at 3225.
> > > 1 out of 2 hunks FAILED
> > > 
> > > Wonder why hunk #1 succeeds and #2 fails and thought better ask before
> > > strange results are generated.
> > 
> > You need to check out the "next" branch:
> > 
> >  $ git checkout next
> > 
> > then apply the patch.
> 
> Thanks, that applies and builds now.
> Testing from console without kde-plasma/wayland:
> 
> First 'cat mem | sudo tee /sys/power/state' resulted in: Device or resource 
> busy, monitor went dark and entered power saving mode. PC stayed on. No clue 
> why.
> 
> Second try: PC fall asleep and monitor entered power saving mode. After 
> keypress PC resumed but screen stayed black in power saving, even after 
> multiple key presses and waiting for a minute.
> 
> In both cases I had to remotely ssh and manually active my hook script and run 
> it twice (pre/unbind & post/bind) to make the monitor wake up again. Log 
> attached.
> 
> DP2/status was disconnected in last case. I think it was connected with last 
> log yesterday.

> [    0.000000] Linux version 7.4.0-rc5-x86_64 (root@dt8) (x86_64-pc-linux-gnu-gcc (Gentoo 16.2.1_p20260926 p1) 16.2.1 20260926, GNU ld (Gentoo 2.47 p1) 2.47.0) #2 SMP PREEMPT_DYNAMIC Thu Dec  3 19:06:44 CET 2026

Can you check that you are running the actual branch with the patch
applied? The above and the dmesg looks like you are not.

  reply	other threads:[~2026-12-04  5:55 UTC|newest]

Thread overview: 24+ 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
2026-11-26 16:59       ` Achim Löbbert
2026-11-27  5:35         ` Mika Westerberg
2026-11-27 18:13           ` Achim Löbbert
2026-11-29  3:36             ` Mario Limonciello
2026-11-30 19:16               ` Achim Löbbert
2026-12-01  4:29                 ` Mario Limonciello
2026-12-01 14:45                   ` Achim Löbbert
2026-12-01 14:53                     ` Mario Limonciello
2026-12-01 17:24                       ` Achim Löbbert
2026-12-01 17:36                         ` Mario Limonciello
2026-12-01 19:17                           ` Achim Löbbert
2026-12-01 19:59                             ` Mario Limonciello
2026-12-02  8:40                               ` Achim Löbbert
2026-12-03 14:28                                 ` Mika Westerberg
2026-12-03 17:22                                   ` Achim Löbbert
2026-12-03 17:28                                     ` Mika Westerberg
2026-12-03 18:46                                       ` Achim Löbbert
2026-12-04  5:55                                         ` Mika Westerberg [this message]
2026-12-03 17:25                                   ` Mario Limonciello
2026-12-04  8:29                                     ` Mika Westerberg

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=20261204055505.GC953667@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