Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.219.50 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795949601; b=ikWSCPUpgLQK138EFUmpF3DqMvamQpn2gmHfnF9oX1zHqjpu9umWSAq6ME/YquFK73qi yetzrLNEXS+EoXFe28ICuYeRTbRievLcuBx16StcRP/TRE7ZFlbS9y6pbilHgb1d0+QDG r8xVDpymaYE6wTMzOYC/iDWw4rntufDgmb+k2To1G3nX/KH0SJVo4vudtQUmxWC9L0k3s ilkBCeLkU5SzUMKawT5VPjSEY0VoJ/dvuOAFEkktTZlefD25Kw2N6RfTWhr9BwRvN563i a6VxHLZLe17NSpEITjdIkgm453TWNWNedOydwek/DA1VWdnsxcTl+LBzYAAEEo1fW0w== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795949601; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Gm-Message-State:X-Gm-Gg:X-Received:Received:From:To:Cc:Subject: Date:Message-ID:Content-Type:Content-Transfer-Encoding:MIME-Version; bh=n+l9ZtCq+GUsP/usxwQB4mj+aFP0b5GXAjLUiEs6wMM=; b=pb5O3Kd3DgCzFMv+mTUKEmE+5I4o4A3gxlzJrSQUw2TUFukpc8bz0kOB4mmfLp5tfkzi fP/CGrxHAY2JXs+OQiNjbCiEjQjKKfbNYHpc+1EAAXQqhbFH1H9c6AzzazmNSwTaF/j7m FZt/KzZWBPlE58mbfg+3sKWDs5iLMK/WNd7/2DpMPU1lOWxK3RdqXuceSrkwTwDT6oMij jTjMHPwY0LcPLeDR1mnSFoQrJh4LWAM6oFVckzPFzrdZNHpTw3EM4teO/mfdP3juAeW99 rkYvhV2j7DQCWEHqht9MJ6WJ0Kd44mY70H+CIJtfOinZBfI6nbCXC6LdwsGjNR1CNUw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=oKaTAZPz; arc=none smtp.remote-ip=209.85.219.50 Received: from mail-qv1-f50.google.com (mail-qv1-f50.google.com [209.85.219.50]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A943D606A31C for ; Sun, 29 Nov 2026 10:53:20 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org A943D606A31C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=oKaTAZPz Received: by mail-qv1-f50.google.com with SMTP id 6a1803df08f44-92107df3f13so91166916d6.3 for ; Sun, 29 Nov 2026 02:53:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1795949600; x=1796554400; darn=vger.kernel.org; h=mime-version:content-transfer-encoding:content-type:message-id:date :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to :content-type; bh=n+l9ZtCq+GUsP/usxwQB4mj+aFP0b5GXAjLUiEs6wMM=; b=oKaTAZPzifyovBHEV1ZiML98RnslGIC1LRHcbgkh0Z4lOCjiNywkQ9hiNwWNDqlbFR WIPQl3kLmuIyBfwMNIgRI44/eFZj6UqaHTlLdeWa2haIXarmAdj4RVrrUajmOF29fSLu lFM/Xcgem2Pf6jUrS6MSdX8nVViFKnjXQS0ozx6qvxuH6eMV+OgC0tYTsy05MbD4kIqB QLnuozoaWFpZeelwaiuYRj+6fXQSpzeHB56UDLXQ6uhgBllokliSi0NshUlstKiyZ8GW AzpuywgjtgAqGiJHMiemT9UMfEThsCitGgC8WGinuQHOt7LuAEXS/ILs25mbwF9rhYKS ZB5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1795949600; x=1796554400; h=mime-version:content-transfer-encoding:content-type:message-id:date :subject:cc:to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to:content-type; bh=n+l9ZtCq+GUsP/usxwQB4mj+aFP0b5GXAjLUiEs6wMM=; b=miaUVPmTpB+n5/gpAuHxZa3diti1SFvMhEJEbG4RgucySaTKG3SFj9uO71a/Ac4c1p 8N5V0j4ElZBSRuWz471FvrIHfF03Sp6/ZWGkERU/ztAA9lsJrvfvcrblk7RjDQ4ha8+j dpbnrUziY/ItYsQ9GQscJnjzOZSB5A7Yp5N6uv69JUikUIYdRDeh0TBdRIi/IUAuTo4x LAIcGGUyfh3XOAO904tsf9XMNV+zN1EFr1DWzlIbUMbwdN7F/5ugyMcCviy7kSjb9bi7 z97IWSbg2MFNXZ8lD3s9g4DCUg0+ZmBK0lnx0I7XRD6mNCZZQKUFBe5Lf9Y7Jc0TQnPz yWXA== X-Gm-Message-State: APuU4Z/0IcjD8orceh5TNpZ6RdbDSHMkBBxZh84L5fTdNvO5PI1DdhbO CGeipqjJa+dWfXp7G6UsrbZAcIugMf7ydD2tE3Yv/bmDwsqdfOxnd0C1 X-Gm-Gg: AZFdTZdUr38kNMFsAeyIBLDsxQzHUHn13U/B6UsrX35sWRADhNRwZCipnaVfHsBrINY QOVoIuY7/Z/o0iyulwboo4vdS0zO7Ph7KzQajEyrfQ1SVSgFixgGAWxInmFrNMORsLSYCy7AUPi wmpAST0EN9ie6WTstW3CXuHoehyJcxD+ZgVUdaUZxTMilz/skvk/xdmzEgyJW+rTn6CZMDw7BPM MTr1kzmsewU1rLNpOdlyC861K/YBUCyOn73t2l0AvjK84c97pzTEWkmjfqkvQRserfCEietcKxO Ab/HBk3/PzQSmq9k7Tg+XEK3HIhJFztJuQRftKCVi1NELpXwUOUkNdRsIxLJ9m4QxjW9sC7YOiM gpRDpXh2RAIybRXtQsOEdaJskTMlcXa6bnEKNkW2nSye2mOUYAqWMCLq/nYEOCXE6evmKoHnBoA sG9X/8xVSNUmc0hhZsZLgEr2fnq9mcOfuExkjTiKRSXyyyFQSupf79XaeEwPyUvtRgwprm81Z/t oReU9iQP/3lpO0Gu5zNcCksetXdv/Tk19xX4Z9l0ctnJSpL7V+u3Ire1MA9J8wLNCNcAtB4tXQ8 5gEXr5nX2GGcTPp6jde21RG11z32PzrzRcSAUkSDjyI65ew7S/R3omkgZIFGHTgpEUs9QR77ysR v9b5e2B5AU2dtCOmSIsErGuxQAeGB3LNjbOwkdUG5si3wibK/AA== X-Received: by 2002:a05:6214:2f12:b0:921:79ee:f626 with SMTP id 6a1803df08f44-92179eef6b3mr268498226d6.43.1795949599570; Sun, 29 Nov 2026 02:53:19 -0800 (PST) Received: from zeppelin-x.local (dhcp-9-244-177-183.gobrightspeed.net. [9.244.177.183]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-921349d14d1sm266406816d6.18.2026.11.29.02.53.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Nov 2026 02:53:18 -0800 (PST) From: Felipe Infante de Castro To: Bjorn Andersson , Konrad Dybcio , Mika Westerberg Cc: linux-arm-msm@vger.kernel.org, linux-usb@vger.kernel.org Subject: [FYI] X1E80100 (Surface Laptop 7 15") USB4 / tunnelled PCIe bring-up findings (usb_pipe clock, U2 stall, retimer scan drop, EL1 SMMU) Date: Sun, 29 Nov 2026 05:53:18 -0500 Message-ID: <179594959805.39844.8246716936546308802@gmail.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Hi Bjorn, Konrad, Mika, and list, Sharing a concise set of hardware-verified findings from bringing up USB4 (USB 3 + PCIe tunnelling + eGPUs) on a retail 15-inch Microsoft Surface Laptop 7 (microsoft,romulus15, X1E-80-100, retail UEFI 175.361.235, Linux 7.3.6), extending Jim Martin's Glymur USB4 stack and building on birkskyum's Yoga Slim 7x work and Konrad's Hamoa USB4 PHY series. Three X1E80100 USB4 findings that may matter for upstream X1E USB4 work: 1. Unvoted router USB PIPE clock resets the SoC on USB3 tunnel enable Enabling host router USB3 adapter 5 reset the laptop ~50 ms later (2/2 runs) even with dwc3-qcom bound and awake. GCC_USB4_0_PHY_USB_PIPE_CLK (0x9f0a4) and GCC_USB4_1_PHY_USB_PIPE_CLK (0x2b0a4) clear their CLK_OFF status once dwc3-qcom binds while their enable bit remains 0. Voting for the router's usb_pipe clock before creating USB3 tunnels eliminates the reset on both ports. 2. Tunnelled USB3 root link stalls in U2 SuperSpeed devices behind the dock enumerate cleanly, then time out ~2 s later ("Failed to set U1 timeout to 0x0, error code -110") with the root port stuck in U2. Disabling U2 via an xHCI quirk on the tunnelled root port only (leaving downstream hubs and native links unchanged) restores lossless SuperSpeed traffic after 30-35 s idle on both ports. 3. Host-side tb_retimer_scan() triggers ~0.2 s fresh-plug drops on X1E80100 host router (05c6:0938) About 4 in 10 fresh plugs (6/13 arrival sequences across both ports) dropped the dock ~0.195 s after discovery and rediscovered ~0.5 s later. Control-channel tracing showed the in-flight host sideband transaction aborting with RC=1 NR=0 (-EIO) ~0.11 s into tb_retimer_scan(), followed ~52 ms later by 0:2/0:3 unplug events. Controlled A/B on one boot (AOOSTAR AG03, both ports): - Stock host scan: 2/6 dropped - Host scan addressing index 1 only: 4/9 dropped - Host scan skipped (dock scan kept): 0/10 dropped - Host scan skipped + 1,490 ms delay: 0/11 dropped Adding a QUIRK_NO_RETIMER_SCAN quirk for host router 05c6:0938 (where the on-board PS8830 retimers are driven over I2C and report unknown NVM format to USB4 scan anyway) gave 0/20 fresh-plug drops on both ports (0/41 combined) and cut dock USB 3 bring-up from 2.45 s to 0.96 s while keeping dock-side retimer discovery working. 4. Hinge DesignWare iMSI-RX & retail EL1 PCIe SMMUv3 status - Mapping tunnelled roots to GICv3 ITS at EL1 under Gunyah stalls the ITS command queue on hot-unplug. Using DesignWare iMSI-RX (msi0-msi7, with PARF_INT_ALL_MSI_DEV_0_7 included in PARF_INT_ALL_MASK) on the hinge port works cleanly (verified with amdgpu and NVIDIA R580 CUDA). - Retail Surface UEFI 175.361.235 keeps PCIe SMMUv3 (0x15400000) inaccessible at EL1 (0x02001506 SCM call is preboot-only), so tunnelled endpoints have no IOMMU at EL1 and stay held unless the administrator explicitly opts in. All verified register maps, ACPI IORT/SMMU audit, dock traces, and the alpha 25-patch series are public here: - Facts & hardware receipts: https://github.com/fidecastro/surface-laptop-7-15in-facts - Alpha 25-patch kernel series (v0.1.1-alpha): https://github.com/fidecastro/surface-laptop-7-usb4 - Userspace explicit EL1 eGPU helper (v0.2.0): https://github.com/fidecastro/sl7-egpu Happy to share additional traces or test ideas on hardware if useful for mainline X1E USB4 / Thunderbolt work. Best regards, Felipe Infante de Castro Signed-off-by: Felipe Infante de Castro