Skip to content

arm64: dts: apple: t6022-j180d: PCIe tunnels on the fourth router of each die - #3634

Merged
RyanTheTide merged 1 commit into
mainfrom
feat/t6022-j180d-atc3-tunnels
Dec 1, 2026
Merged

RyanTheTide merged 1 commit into
mainfrom
feat/t6022-j180d-atc3-tunnels

Conversation

@RyanTheTide

Copy link
Copy Markdown
Contributor

Tested: no runtime change on any lab Mac (no M2 Ultra in our lab): all 8 T602x DTBs build at 94b0393, only t6022-j180d.dtb changes, CHECK_DTBS unchanged apart from renumbered phandles in existing warnings; needs a J180d owner row
Risk: two-way · J180d only

What: the J180d (Mac Pro, M2 Ultra) had its fourth router's PCIe tunnel disabled on both dies, and neither ATC3 router was linked to a tunnel. Its ADT has acio0-7 and apciec0-7. t602x-dieX.dtsi stages the Ultra ATC3 tunnel (identity-mapped ranges) and leaves it disabled, which is right for the J475d (ADT apciec0-5 only).

Change (J180d only)

  • Enable usb4_3_pcie_tunnel, apciec3_dart and apciec3 on both dies, and link usb4_3_acio / usb4_3_acio_die1 to them.
  • Publish usb4-N-pcie-adapter / usb4-N-pcie for all eight routers, so the loader fills the adapter and controller tunables from this machine's ADT, as on the J474s/J475c. The tunnel controllers carry no static tunables (only their DARTs do), so nothing is appended twice.

…each die

The J180d (Mac Pro, M2 Ultra) left the PCIe tunnels of its fourth router
on each die (ATC3) disabled, and linked neither router to its tunnel. Its
ADT has acio0-7 and apciec0-7, so both exist. t602x-dieX.dtsi stages the
Ultra's ATC3 tunnel with identity-mapped ranges and leaves it disabled
for the J475d, whose ADT has only apciec0-5.

Enable both ATC3 tunnels (container, DART and controller) on the J180d,
link usb4_3_acio and usb4_3_acio_die1 to them, and publish the
usb4-N-pcie-adapter and usb4-N-pcie aliases for all eight routers so the
boot loader fills the routers' PCIe adapter and the controllers'
tunables from this machine's ADT, as on the J474s/J475c.

Only t6022-j180d.dtb changes; CHECK_DTBS output is the same apart from
renumbered phandles in existing warnings.

Signed-off-by: Ryan Murray <ryan@aurorasilicon.org>
@RyanTheTide
RyanTheTide requested review from a team as code owners November 29, 2026 15:45

@aurora-silicon-review aurora-silicon-review Bot 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.

Verdict: HOLD at 94b03935 — the J180d fourth-router PCIe tunnel and usb4-N-pcie{,-adapter} alias additions (+53/-0 in t6022-j180d.dts) are clean and code-ready; awaiting queued dt-checks/pr-text/readiness and a J180d owner hardware row.

Blockers:

  1. Wait for queued hosted CI (dt-checks, pr-text, readiness) to pass at 94b03935.
  2. Post a J180d (M2 Ultra Mac Pro) owner hardware verification row confirming usb4_3_acio / usb4_3_acio_die1 and apciec3 / apciec3_die1 bind cleanly with no new kernel errors or tunable duplication.

Checked:

  • Audited +53/-0 in arch/arm64/boot/dts/apple/t6022-j180d.dts (DCO Signed-off-by: present, MERGEABLE on main, What:/Tested:/Risk: two-way present).
  • Verified all 16 new aliases (usb4-{0..7}-pcie-adapter, usb4-{0..7}-pcie) align 1-for-1 with the existing usb4-{0..7}-{acio,nhi} aliases across both dies (L36–67), and that both usb4_3_pcie_tunnel/apciec3_dart/apciec3 and their _die1 counterparts are enabled and linked via apple,pcie-tunnel.
  • Confirmed J180d-only scope (t6022-j475d unaffected) and no adt-coverage/t6022-j180d.txt breakage.
Evidence
  • arch/arm64/boot/dts/apple/t6022-j180d.dts L52–67: usb4-0..3 map to die 0 (usb4_{0..3}_acio, apciec{0..3}); usb4-4..7 map to die 1 (usb4_{0..3}_acio_die1, apciec{0..3}_die1).
  • arch/arm64/boot/dts/apple/t6022-j180d.dts L1259–1292: enables container, DART, and controller on both dies and links apple,pcie-tunnel.

@github-actions github-actions Bot added area:platform Area from CODEOWNERS (bot) door:two-way Revertible or not, from Merge risk (bot) needs-review No approving review from Core or Omarchy Mac yet (bot) labels Nov 29, 2026
@github-actions

github-actions Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

Merge readiness at 94b03935: not ready yet

Check Detail
CI at head no failing: host-tests, host-tests
Review no needs one approving review from Core or Omarchy Mac (not the author)
Requested changes ok none
Hardware row at head ok not needed: no runtime change
Conflicts ok not computed yet
PR text ok Risk: two-way · J180d only

Areas: area:platform

Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels.

@github-actions github-actions Bot added the ci-failing A check failed at the PR head (bot) label Nov 29, 2026

@aurora-silicon-review aurora-silicon-review Bot 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.

Verdict: MERGE at 94b039357dd9

Converts this App's earlier review at the same head to an approval under the 12-01 merge bar (better than before and doesn't break; block only on a shown failure). No code blocker was found in it. The merge gate (a row on one Mac at this head + fast CI) is tracked by pr-readiness, not held here.

Checked: - Audited +53/-0 in arch/arm64/boot/dts/apple/t6022-j180d.dts (DCO Signed-off-by: present, MERGEABLE on main, What:/Tested:/Risk: two-way present).

  • Verified all 16 new aliases (usb4-{0..7}-pcie-adapter, usb4-{0..7}-pcie) align 1-for-1 with the existing usb4-{0..7}-{acio,nhi} aliases across both dies (L36–67), and that both usb4_3_pcie_tunnel/apciec3_dart/apciec3 and their _die1 counterparts are enabled and linked via apple,pcie-tunnel.
  • Confirmed J180d-only scope (t6022-j475d unaffected) and no adt-coverage/t6022-j180d.txt breakage.

Follow-ups (not blocking): queued CI; J180d owner row

@RyanTheTide

Copy link
Copy Markdown
Contributor Author

Merging at 94b039357dd9 (B2 merge train, 12-01 merge bar). Approval at this head: aurora-silicon-review[bot]. Row: not needed per readiness (DT/test-only, no runtime change), or its row at 94b0393. CI: linux train L4 = main (after L3) + 34 approved PRs (#3419 dropped: conflicts): Apple driver compile pass, Apple DTBs W=1 pass, planned KUnit ane-boot/clpc/ane-pm/dcp-fabric/dcp-topology/dcp-display/macaudio/asahi/sep all pass, host tests apple-dcp + apple-scaler-recovery pass (the red host-tests on some heads were base failures since fixed on main). The rest of the hosted run is queued behind the backlog. Revert: git revert -m 1 <merge commit>.

@RyanTheTide
RyanTheTide merged commit b034396 into main Dec 1, 2026
8 of 10 checks passed
@RyanTheTide
RyanTheTide deleted the feat/t6022-j180d-atc3-tunnels branch December 1, 2026 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:platform Area from CODEOWNERS (bot) ci-failing A check failed at the PR head (bot) door:two-way Revertible or not, from Merge risk (bot) needs-review No approving review from Core or Omarchy Mac yet (bot)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant