Skip to content

carry.toml: carry aurora-silicon/linux#2371 (T6040 USB4 routers: AOP pin controller) - #564

Open
e-fu wants to merge 1 commit into
omacom:integration/aurora-7.3from
e-fu:carry/t6040-usb4-aop-pinctrl-2371
Open

e-fu wants to merge 1 commit into
omacom:integration/aurora-7.3from
e-fu:carry/t6040-usb4-aop-pinctrl-2371

Conversation

@e-fu

@e-fu e-fu commented Dec 3, 2026

Copy link
Copy Markdown

What: Carry the two commits of aurora-silicon/linux#2371 in Omarchy's 7.3 kernel. The PR is still an open draft upstream; it fixes aurora-silicon/linux#2243.

  • 83f92e6acee4: the display gate treats the AOP pin controller (pinctrl@510824000) as a supplier of the HDMI chains, not as one of their nodes.
  • 080722fad71d: the J614s and J616s device trees enable it, because the USB4 routers' LSTX pins are in it.

Why: On a J614s (MacBook Pro 14" M4 Pro) the three USB4 routers do not bind. On Omarchy edge, linux-aurora 7.3.0.aurora5-1 (c731018151b1), one captured boot:

  • sn201202x <bus>: USB4/Thunderbolt router unavailable, continuing without it until it binds is logged three times. /sys/bus/thunderbolt/devices is empty, thunderbolt_apple is loaded and no ACIO is bound to it.
  • An iPad on a Thunderbolt cable (iPad Pro M4 and a Thunderbolt 4 cable, per the tester) logs CIO PHY up and then enumerates at USB high-speed (480 Mb/s), on three of three connections. An iPhone on the same port enumerated once at SuperSpeed Plus Gen 2x1 (10 Gb/s).

Tested:

  • Both commits apply without conflicts to c731018151b1, in order; the gate commit with shifted context.

  • Omarchy, same J614s: linux-aurora 7.3.0.aurora5-1.2, built on the machine from c731018151b1 plus #2800 and #3619 (the carries in carry.toml: carry aurora-silicon/linux#2800 and #3619 (AOP crash on speaker stream stop) #563) plus these two commits; running kernel 7.3.0-5-1.2-ARCH. The comparison build aurora5-1.1 has #2800 and #3619 only. One boot of each:

    aurora5-1.1 (without) aurora5-1.2 (with)
    pinctrl@510824000 disabled bound to apple-gpio-pinctrl
    ACIOs bound to thunderbolt-apple-acio 0 of 3 3 of 3
    devices_deferred the three cio nodes empty
    "router unavailable" lines 3 0
    iPad on the Thunderbolt cable not tested on this build (480 Mb/s on stock) 10 Gb/s (SuperSpeed Plus Gen 2x1)

    With the commits the router firmware starts and trains both lanes, then the port group falls back and the iPad ends on USB 3. No USB4 domain is registered (/sys/bus/thunderbolt/devices stays empty). The three cio deferred-probe warnings disappeared. Both boots logged a typec_displayport probe failure with error -71, on port1-partner.0 without and port2-partner.0 with the commits. The pacman hooks rebuilt the boot images and the machine booted normally.

  • J614s row upstream: two locally built Fedora kernels from 7.3.0-47, both with #2800 and #3619, one with this PR added. Without it the three ACIOs are deferred. With it, across two boots, all three bind, devices_deferred is empty, the three warnings are gone and USB-C DisplayPort works.

  • iPad addendum upstream: on each of five plug-ins across two Thunderbolt 4 cables, the iPad fell back to USB 3 at 10 Gb/s, with no USB4 domain registered. macOS ends in the same state.

Not yet:

  • No HDMI result on the J614s (no cable at hand), on Omarchy or upstream.
  • No J616s regression row and no USB4 dock or SSD result reported on this head. No upstream approval yet.
  • Suspend was not run on the Omarchy build with these commits.

Risk: T6040/T6041 only.

  • The gate change touches the HDMI chains of J616s, J614s, J614c/J616c and J575c. Upstream built seven DTBs and passed 58/58 gate KUnit cases; there is no hardware HDMI row. USB-C DisplayPort uses a different path.
  • The J614s, J616s and J616s tether device trees change; the kernel package's pacman hooks rebuild the boot images.
  • An older kernel booted with the new device tree (a snapshot) has the old gate, which would decline the HDMI handover on those Macs. This is from reading the gate code, not from a boot.
  • Revert: drop the entry, rebuild and install the package, so the hooks regenerate the boot images with the matching device trees.
Integration

The entry is in the diff. The gate commit must stay first. The PR head conflicts with upstream main today, so it may need a re-pin before it retires on the intake sync that includes its merge.

Input tag a maintainer would need to create:

  • carry-input/2371-080722fad71d → 080722fad71d02a05dc5375e0a174f4977ab9056

Copilot AI balanced review requested due to automatic review settings December 3, 2026 03:45
@greptile-apps

greptile-apps Bot commented Dec 3, 2026 •

Copy link
Copy Markdown

Confidence Score: 5/5RetriggerView in Greptile

[Medium impact] The carry.toml change appears safe to merge.

Summary

Adds upstream PR #2371 to carry.toml, with two pinned commits in the required order.

  • The kernel carry list now tracks the T6040 AOP pin-controller patches.

Acknowledged by e-fu: a maintainer must create the input tag; a future intake may require a re-pin; upstream remains a draft; HDMI, J616s, USB4 dock/SSD, and suspend checks remain incomplete; an older kernel with the new device tree can decline HDMI handover. These stated limits were not reported as new findings.

Reviews (1) · Last reviewed commit: "carry.toml: carry aurora-silicon/linux#2..." · Reviewed by Greptile

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Copilot review overview

2 open issues
What changed in this PR

Carries two upstream commits from aurora-silicon/linux#2371 into Omarchy’s 7.3 kernel to enable the AOP pin controller for USB4 router binding and adjust the display gate supplier handling.

Changes:

  • Add a new [[carry]] entry tracking aurora-silicon/linux#2371.
  • Carry two commits (display-gate fix + DT enabling) and document ordering/retirement notes.
File Description
carry.toml Adds a carry stanza for aurora-silicon/linux#2371 including two commits and rationale/notes.

Review effort: Lite

Comment thread carry.toml

[[carry]]
pr = "aurora-silicon/linux#2371"
commit = "080722fad71d02a05dc5375e0a174f4977ab9056"
Comment thread carry.toml
commit = "080722fad71d02a05dc5375e0a174f4977ab9056"
commits = ["83f92e6acee4e29401bf025bf126e1a0084b4f2d", "080722fad71d02a05dc5375e0a174f4977ab9056"]
why = "M4 Pro (T6040: J614s, J616s): enable the AOP pin controller with the USB4 routers so the three ACIO routers no longer defer forever on a J614s (aurora-silicon/linux#2243), and stop the display gate refusing the HDMI chain when that pin controller is already enabled"
note = "open upstream draft; both commits pick cleanly onto c731018151b1 (intake 4a42f3105002 plus carries) with shifted context in drivers/soc/apple/display-gate.c and display-gate-test.c; the gate commit must stay first; retires on the intake sync that includes its merge"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants