From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=198.175.65.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796017427; b=S5C/SrcDfoJioLas2dt9aXme9erQupBQEoQqHH17Lk6esuPt/d23DM5o3V4kG3FP5AYb Cgta7F/ZlYKZHBs296B/Xl8LzmJCGhyN7litpjCQ/FX1t2u3WVSJnPFAU8r3MzfAE1N/A ID3QMNrlsXVaTERk0O4g1LzCa5UGIvR4ldjEKSmf5V6FBls4txWaarEpoGzvj6uMVv+Pp Ukzz7Vsp42ekPcjJIwMQm09xevry32XZkbyDf52zhinjBJvlHtNnqXaoksmXGou8Vwj9W IAwkwe4v6oEY9kZ0Aqg4gcqE+oamoU07YE5Stq1WNWcAB2RKEfRMhPVdXdVbiiZ/5MA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796017427; 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:In-Reply-To; bh=PTnGX7HO3By8xbr05fNi6bjn3lwP26M7XS4YE8q6kG4=; b=Ne26dS05E6dop+KnTA7srevkau1ZrGoxYpzNCLsUgPqCPY8z7jMgx/FN2n2JLDk8LgCi gt0ZsVGszJd4ZmU9Ddr39KO07Zj1A3B8w0+3C6Y6+ZMTgKsF+5+P5BxICm1G/m61p7bGV D4lSQif5Zc3PZ375EKW9KmVeUfzqNRFuN93/wfuwXYTCqq1b0vkaBN0ktdNgMlmwkag4B GGat9DsLVmsogBvvjWC3kwHKTCO5qGgE3VmzMzsjfe0iiopZd63eKAC+MygUm5Y2aRfkC cPE5g8dj24e5r7XR0KhTzscvHditDi3kmiLw0Vz24SH+lzX/bdK5Rkqx3/BMHH1Ur2w== 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=byafGScP; arc=none smtp.remote-ip=198.175.65.18 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.18]) (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 CE570606A31C for ; Mon, 30 Nov 2026 05:43:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org CE570606A31C 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, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=byafGScP DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1796017427; x=1827553427; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=PTnGX7HO3By8xbr05fNi6bjn3lwP26M7XS4YE8q6kG4=; b=byafGScPhH700/ofFZtVMwseJB0aCMu08I67H+K507mHLDvC4nVLglQH DT0DelBKh9XrNYU0h9d17ARJvi67/Ql+U5b7cuIdIGXoBIVffum+MdQ92 85PxMxljyioMtAWCh4MkHCwfJdvQ7JdEkcBU+MoZksU5fo0d4d3Q4l70a 87w3y5IE4aFw1R8CBfNAUV7d8/Sk3kNibCV3ZdsPtaIo366s+YGX/TrwO ZEue1aslrh8dFolzB6nEHJqsw/DdFkJNXY8B4m24TPBo/Cm6DNM0KXXos ALl3h+0L32LukRQ9gqEwE/2n5w1XB6g7T5kYCJnL08dneXQYrbnfAHhzB A==; X-CSE-ConnectionGUID: CP5BU+4FTlymSupARuxT3Q== X-CSE-MsgGUID: xf7t3n4+RTeF6lL/zxtCWw== X-IronPort-AV: E=McAfee;i="6800,10657,11981"; a="4839645" X-IronPort-AV: E=Sophos;i="6.27,242,1787036400"; d="scan'208";a="4839645" Received: from fmviesa004.fm.intel.com ([10.60.135.144]) by orvoesa110.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Nov 2026 21:43:46 -0800 X-CSE-ConnectionGUID: zAJQsnCoQWm69Kh4PPAZBA== X-CSE-MsgGUID: YrE41mOnR8K5I/mfp6cwuA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.27,242,1787036400"; d="scan'208";a="12844869" Received: from black.igk.intel.com ([10.91.253.5]) by fmviesa004.fm.intel.com with ESMTP; 29 Nov 2026 21:43:45 -0800 Received: by black.igk.intel.com (Postfix, from userid 1001) id 6CB9198; Mon, 30 Nov 2026 06:43:43 +0100 (CET) Date: Mon, 30 Nov 2026 06:43:43 +0100 From: Mika Westerberg To: Piotr Szmitkowski Cc: linux-usb@vger.kernel.org, Andreas Noever , Mario Limonciello , Yehezkel Bernat Subject: Re: thunderbolt: eGPU enclosure (HP Omen Accelerator GA1-10) disconnects ~1s after authorization on Alder Lake-P TB4 (Newline OPS), works on Windows Message-ID: <20261130054343.GE953667@black.igk.intel.com> References: <23EBA1B2-A14E-4EE8-8CB1-FDEA2147AC86@gmail.com> 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 In-Reply-To: <23EBA1B2-A14E-4EE8-8CB1-FDEA2147AC86@gmail.com> Hi, On Sun, Nov 29, 2026 at 09:56:08PM +0100, Piotr Szmitkowski wrote: > Hi, > > An HP Omen Accelerator eGPU enclosure (Thunderbolt 3) connects to the > Thunderbolt 4 controller of an Alder Lake-P OPS module, is authorized > successfully, and is then disconnected again about one second later. > The cycle repeats every ~3 seconds, so the PCIe tunnel never stays up > and the GPU never appears in lspci. The same enclosure, cable and port > work correctly under Windows on the same machine. > > == Hardware == > System: Newline Interactive Inc, product "OPS" (OPS slot-in PC module > for an interactive display), board "AlderLake" > CPU: 12th Gen Intel Core i7-1260P (Alder Lake-P) > BIOS: Insyde, version 104, 10/11/2023 > (no Thunderbolt options exposed in the BIOS setup) > TB host: 00:0d.3 Alder Lake-P Thunderbolt 4 NHI #1 > 00:0d.0 Alder Lake-P Thunderbolt 4 USB Controller > 00:07.0 / 00:07.3 Alder Lake-P Thunderbolt 4 PCIe Root Ports > Retimer: vendor=0x8087 device=0x15ee (host-side, 0-0:3.1) > Device: HP GA1-10-Accelerator (Thunderbolt 3), vendor=0xf0 device=0xa66 > Link: rx/tx 20 Gb/s = 1 lane * 20 Gb/s (as reported by boltctl; > one would expect 2 lanes) > Security: domain0 security level "user", IOMMU enabled, bolt policy iommu > > == Software == > Distro: Bazzite 45.20261125 (Kinoite, Fedora 45 based, rpm-ostree) > Kernel: 7.3.5-ogc3.1.fc45.x86_64 (distribution kernel with extra patches; > see "Open questions" below) > bolt: boltd, auto-authorization via policy iommu > Extra kernel command line tried (no change in behaviour): > pcie_ports=native pci=realloc,assign-busses,hpbussize=0x33,hpmemsize= > 128M,hpiosize=4K,pcie_bus_perf > fwupd: no firmware updates available (System Firmware, USB4 Retimer) > > == What happens == > 1. Device is plugged in (enclosure powered), kernel logs: > thunderbolt 0-3: new device found, vendor=0xf0 device=0xa66 > thunderbolt 0-3: HP GA1-10-Accelerator > 2. boltd authorizes it: > auto-auth: authorization successful (status: authorized, flags: 0) > 3. About one second later the device is gone: > thunderbolt 0000:00:0d.3: 0:4: failed to reach state TB_PORT_UP. Ignoring > port... > thunderbolt 0-0:3.1: new retimer found, vendor=0x8087 device=0x15ee > thunderbolt 0-0:3.1: retimer disconnected > thunderbolt 0-3: device disconnected > 4. The sequence repeats roughly every 3 seconds. > > Excerpt of kernel log (unfiltered log attached/below): > > [161788.075715] thunderbolt 0000:00:0d.3: 0:4: failed to reach state > TB_PORT_UP. Ignoring port... > [161788.319956] thunderbolt 0-0:3.1: new retimer found, vendor=0x8087 device= > 0x15ee > [161788.503106] thunderbolt 0-0:3.1: retimer disconnected > [161788.506150] thunderbolt 0-3: device disconnected > [161789.842062] thunderbolt 0-3: new device found, vendor=0xf0 device=0xa66 > [161789.842067] thunderbolt 0-3: HP GA1-10-Accelerator > (repeats) > > boltd log for the same cycle: > connected -> auto-auth ok -> authorize: finished: ok (status: authorized) > -> disconnected (about 1 s later) > > == Debug log of one cycle (thunderbolt dynamic debug enabled) == > Device: Thunderbolt 3 switch 8086:1578 (TB version 2, NVM 25.0), HP GA1-10. > Timeline, relative to the hotplug event on port 0:3: > > 701.986 0:3 hotplug: is connected, link is up (state: 2) > 702.564 new device found, vendor=0xf0 device=0xa66, NVM version 25.0 > 702.559 3: current link speed 20.0 Gb/s, symmetric, single lane > 702.566 0:4: is connected, link is not up (state: 1), retrying... > ... (10 retries, ~104 ms apart) > 703.606 0:4: failed to reach state TB_PORT_UP. Ignoring port... > 703.610 0:3: reading NVM authentication status of retimers > 703.850 0-0:3.1: new retimer found, vendor=0x8087 device=0x15ee > 703.850 0:3: disabling sideband transactions > 703.951 0:9 <-> 3:6 (PCI): activating; PCIe Down/Up paths: activation > complete > 703.959 3:1: xHCI connected / 3: xHCI connect request > 704.017 acking hot unplug event on 0:3 (~60 ms after xHCI connect) > 704.017 0-0:3.1: retimer disconnected > 704.017 0:3: switch unplugged -> PCI tunnel deactivated > 704.020 0-3: device disconnected > > Observations: > - The PCIe tunnel is set up successfully and completes activation. The > unplug is reported by the device side (hot unplug on 0:3) roughly 60 ms > after the "xHCI connect request" to the device and about 70 ms after the > PCIe tunnel finished activating. > - The second lane (adapter 0:4) never leaves the "connecting" state, so the > link stays a single 20 Gb/s lane and lane bonding is not possible. > - The drop does NOT depend on authorization or on the PCIe tunnel. During > early boot (initrd, before boltd runs, device unauthorized, no tunnel) > the same sequence happens: > [ 3.635187] thunderbolt 0-3: new device found, vendor=0xf0 device=0xa66 > [ 4.679682] thunderbolt 0000:00:0d.3: 0:4: failed to reach state > TB_PORT_UP. Ignoring port... > [ 4.935086] thunderbolt 0-0:3.1: new retimer found, vendor=0x8087 device > =0x15ee > [ 5.097336] thunderbolt 0-0:3.1: retimer disconnected > [ 5.114747] thunderbolt 0-3: device disconnected > - In every cycle (authorized or not) the link drops about 100-170 ms after > "new retimer found" (retimer scan on port 0:3: "reading NVM > authentication status of retimers", "disabling sideband transactions"). > Examples: 4.935 -> 5.097, 7.812 -> 7.917, 13.392 -> 13.553, > 30.297 -> 30.464, 33.138 -> 33.283, 35.934 -> 36.102. > When a tunnel was attempted, the PCIe activation sometimes also failed > with "PCIe Down path activation failed: -107" (device already gone). > - boltd (0.9.11, security level "user", "force power support: no") shows > the same loop; one authorization even failed with status auth-error > because the device vanished while the authorize write was in progress > ("authorize: finished: FAIL (status: auth-error ...)"), and in one cycle > the device state went "authorized -> unknown" right before disconnecting. > - So the xHCI connect request and the PCIe tunnel look like bystanders; > the trigger seems to be the retimer enumeration / sideband access on > this platform, or whatever the enclosure does at that moment. > - The device is an Alpine Ridge-class TB3 device (8086:1578, NVM 25.0). > - The same enclosure works under Windows on the same machine and port. > - Enclosure works on M1 Mac > > == sysfs snapshot (/sys/bus/thunderbolt/devices) == > 0-0 (host router): vendor INTEL, device Gen12, generation 4 (USB4), > authorized 1 > 0-3 (enclosure): vendor HP, device GA1-10-Accelerator, generation 3, > authorized 0, rx_lanes 1, tx_lanes 1, > rx_speed 20.0 Gb/s, tx_speed 20.0 Gb/s > lspci with the enclosure gone shows no devices behind the Thunderbolt > root ports 00:07.0 / 00:07.3 (bus ranges 01-33 and 34-66 are empty). > lspci -vvnn (full output available) shows on both root ports: AER > status clean (UESta/CESta empty), DPC not triggered (DpcSta Trigger-), > link down (DLActive-), 2.5 GT/s x4 capability. So no PCIe-level errors > are recorded; the failure looks confined to the Thunderbolt link layer. > Note: with pcie_aspm=off the firmware's "ASPM L1 Enabled" setting is Can you please try with the mainline and drop all non-standard command line options especially pcie_aspm=off which in fact disables your whole native PCIe support. Just keep "thunderbolt.dyndbg=+p" and then repro and share full dmesg?