From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=192.198.163.16 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796363709; b=lrliWm4zPb8hFkk/OSUlCMbSg4rVoSUsje7UWZE63QxQH6FCAo0bNYqC45TL7pKk58P8 0bVYr5+0brbL4u/hgFr9P+5/kn4Z/RVaGDe5N/X6UUO3rwZ5tiyEL+niJIrLkJAPw3FVY zA4RYg6VTf+VZfFk0IWqZnlXlGY9nmR07htOUMUo+RDhK4ndRoXBwKLHey3CXQUjjhdhh T0u2XYPvrvZ8+VWwrs5gD1fxIoB+Nz91AWiaKknizDr7tNxCkc2OiE69lDQsfKkigQ9pb eTJv0koYWx2kr+QnqKcv6drkU/wlFGIDKqQBn+do/6bxfU33IDOXQqZT4gmEoC9vvZQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796363709; h=DMARC-Filter:DKIM-Signature:X-CSE-ConnectionGUID:X-CSE-MsgGUID: X-IronPort-AV:X-IronPort-AV:Received:X-CSE-ConnectionGUID: X-CSE-MsgGUID:X-ExtLoop1:X-IronPort-AV:Received:Received:Date:From:To: Cc:Subject:Message-ID:References:MIME-Version:Content-Type: Content-Disposition:Content-Transfer-Encoding:In-Reply-To; bh=wkSPD+1YKsrOSInzIEoZcQPieOjbly92SK+NkoXpx3Q=; b=edrFNkTbpr++8HR8lCpqxv6AGOU95lmlNQ24VxwE1c1KiIGLhVsgDZT3h/6FsfCmMiaM 7Tv7d4Yk6Yc/EQcl9cEqVx0D0PRg1131hv9vqgGmlqsCubhPBL+hHIv93rQpNqR2ByXSx NC/87HvPVIfpIEW1Ued+lRCl2nQQ9P/pBXXLWQ7/QOrDLXR1BMN1HRO3GXqvl2H/gN/98 UjsHVx3p9qOKk1iZc0Vk4oxiF4TYJ0cU5pUBmN1n1HHdm0zzmgxBY6v3yJwffEnGtc4Ni KrPqvjx9JvOuy9VnVBvDX1UT1mMBVWXIu3wXtQHzqMBKd4OSH1dmsXlqY3AYniS/kRg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=linux.intel.com; spf=pass smtp.mailfrom=linux.intel.com; dkim=pass header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=AdCcrd7t; arc=none smtp.remote-ip=192.198.163.16 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.16]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8066E606A322 for ; Fri, 4 Dec 2026 05:55:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 8066E606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=AdCcrd7t DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796363708; x=1827899708; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=wkSPD+1YKsrOSInzIEoZcQPieOjbly92SK+NkoXpx3Q=; b=AdCcrd7t4J/maljWNrzXZsW1U5pE8e7/Ha5NNbRt1WFz1MXYjW4SClXu QVJadv30TJHZvi526caXTSVrvRUezmdhrYWHO0pWpGXjDhKHRe3RbeDaL JaKuEK7Mv4b0t1NpvBKrnPXjIgQtsVeW1hnWDzz4HnFKQxqP/rRA6Ah3K d9vXZibxVu1nYR8BGPcXDv0OQSPfXwIvEMLkb1MdY7oUeEnspd0nWG33R ntzMTCe3+gpo+LOGww0xfyQO02KHpyQYNvkK1L8Y1FUydQ+LL4FEuJiq8 rQdedCm+HwthVGwiQNFUVLGMO8EZ+2bQKHh9jrhngBw+FC2afDLDtqGPv w==; X-CSE-ConnectionGUID: 5cH13Za/RzWBBZrOc2llYA== X-CSE-MsgGUID: MG+4FnveR8SOe4lAee6sJw== X-IronPort-AV: E=McAfee;i="6800,10657,11985"; a="5346721" X-IronPort-AV: E=Sophos;i="6.29,77,1794902400"; d="scan'208";a="5346721" Received: from orviesa007.jf.intel.com ([10.64.159.147]) by fmvoesa110.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Dec 2026 21:55:08 -0800 X-CSE-ConnectionGUID: w+JZwMSURJC/YhyeScn7wA== X-CSE-MsgGUID: ZpltYFTmTYq8qRw7Zwq7zQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.29,77,1794902400"; d="scan'208";a="14034040" Received: from black.igk.intel.com ([10.91.253.5]) by orviesa007.jf.intel.com with ESMTP; 03 Dec 2026 21:55:07 -0800 Received: by black.igk.intel.com (Postfix, from userid 1001) id C18FA98; Fri, 04 Dec 2026 06:55:05 +0100 (CET) Date: Fri, 4 Dec 2026 06:55:05 +0100 From: Mika Westerberg To: Achim =?utf-8?Q?L=C3=B6bbert?= Cc: Mario Limonciello , linux-usb@vger.kernel.org Subject: Re: [REGRESSION/BUG] thunderbolt: ASM4242 fails to restore DP tunnel after resume on Ryzen 8700G (7.4-rc4) Message-ID: <20261204055505.GC953667@black.igk.intel.com> References: <20261203172810.GB953667@black.igk.intel.com> <8HBCiDgeTTSZCak1oDncfQ@gmx.de> X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit 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.