From: Felipe Infante de Castro <felipe.infante.de.castro@gmail.com>
To: Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
Mika Westerberg <mika.westerberg@linux.intel.com>
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 [thread overview]
Message-ID: <179594959805.39844.8246716936546308802@gmail.com> (raw)
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 <felipe.infante.de.castro@gmail.com>
reply other threads:[~2026-11-29 10:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=179594959805.39844.8246716936546308802@gmail.com \
--to=felipe.infante.de.castro@gmail.com \
--cc=andersson@kernel.org \
--cc=konradybcio@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=mika.westerberg@linux.intel.com \
/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