Skip to content

arm64: dts: apple: t8132-j773g: enable the Ethernet port - #1898

Merged
DjDeveloperr merged 2 commits into
aurora-silicon:mainfrom
techmore:j773g/ethernet-dt-20261114
Dec 1, 2026
Merged

DjDeveloperr merged 2 commits into
aurora-silicon:mainfrom
techmore:j773g/ethernet-dt-20261114

Conversation

@techmore

@techmore techmore commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

Tested: Six T8132 device trees built locally. The five sibling DTBs were byte-identical, with zero new DART power-domain findings and no new normalized J773g schema diagnostics. The sibling checker reported one warning for the intentional J773g-only SYS_GP always-on property. The DART and sibling checker host suites passed 17/17 and 5/5. The exact-head J773g full-power-off Ethernet, associated Wi-Fi traffic and system-health row is pending. The hardware rows below are historical.

Risk: Two-way door · J773g only. The patch enables Ethernet through APCIe port 2 and keeps its shared APCIE_SYS_GP domain on. The cold-boot and power-management behavior of the new head remains to be verified.

Problem

Main’s #3098 already opts the J773g out of the inherited J713 managed-radio PCIe/DART policy. The J773g has an Ethernet controller on PCIe port 2 behind dart_apcie2 (AQC113 on the 10GbE model, BCM57762 on the gigabit model). With only the inherited radio map, port 2 is disabled and its requester ID has no IOMMU mapping. The ADT records the Ethernet function behind mapper-apcie2, stream 1.

Change

The J773g device tree changes are listed below. The shared port description also documents the J773g opt-out.

  • retain main’s radio DART ownership and unmanaged PCIe settings;
  • keep RID 0x100/count 2 on dart_apcie0 (the two radio streams);
  • add RID 0x200/count 1 on dart_apcie2 (the ADT's stream 1);
  • enable dart_apcie2 and PCIe port 2;
  • explicitly enable both shared APCIe power-domain providers on J773g, retain the inherited dart_apcie2 link to APCIE_SYS_GP, and keep that child domain on for the other users.

Current source checks

Candidate: bdc3cae7ce1f on main 38ffa67c1ec0. Hosted host tests passed. New-head device-tree checks passed.

Prior-head CI

At 4f0ed7ff4364, hosted host tests passed. Device-tree checks passed.

At 284539133451, GitHub host tests and device-tree checks passed.

Historical hardware

Unit Stub Result
J773g, 10GbE (AQC113, atlantic) 26.6.2 3/3 boots: end0 at 2500 Mb/s with an address; brcmfmac creates wld0
J773g, 10GbE 27.2 2 boots on 2026-11-19, one with none of the bring-up kernel parameters: end0 at 2500 Mb/s, DHCP, SSH. These 27.2 tests used a separate PMGR policy.
J773g, gigabit (BCM57762, tg3) 26.6.2 4/4 boots by DjDeveloperr (comment above): end0 at 1000 Mb/s, wld0 created

hci_bcm4377 logs no brcm,taurus-bf-cal-blob property with and without this change.

Not tested

  • A full dtbs_check: dt-schema crashes on an existing apple,tunable uint8-array in this tree. A warning-delta run found nothing new from this change.
  • Boot after a full power-off, Wi-Fi association and traffic, Bluetooth, suspend.

The shared APCIe power-domain ownership question and the overlap with #2770 are tracked in the review reply. The hardware rows above predate this head. A later CI run reported a binding warning on the inherited apple,sid16-page because this board drops apple,managed-sids. 28453913 removes the dependent property. The merged J773g DTB compiled locally with zero added schema warnings against 5746ef8a5, and the 138-board DART power-domain differential reported zero new findings. This head implements the reviewer’s always-on option; exact-head cold-boot qualification and maintainer review remain pending.

@DjDeveloperr

Copy link
Copy Markdown
Contributor

Hardware test on a second J773g: a base Mac mini M4 with gigabit Ethernet, 2026-11-18/19. The Ethernet controller on this unit is a Broadcom BCM57762 (tg3), not the AQC113.

Setup

  • Kernel: the installed linux-aurora 7.3.0-1-40, i.e. aurora-silicon/linux 9125b31 (cand/7.3.0-40), unchanged.
  • DTB: 9125b31 plus this PR's commit, cherry-picked as-is and built with dtc 1.8.1. The stock J773g DTB inside the ESP Stage 2 (m1n1/boot.bin) is byte-identical to a host build of 9125b31, so only the DTB was swapped.
  • Boot chain: aura Stage 1 1.0.0b13, Stage 2 1.0.0b13 on the first boot and a J773g display build on the later boots, U-Boot 250385f8.
  • pcie-apple, apple-dart and gpio-macsmc have no commits between your tested base 1f5037ae and 9125b31.

Without this change
apple-dart 490000000.iommu fails probe with -16 (the managed-radio admission), and port 0 then stays at setup fail: -517 forever. There is no Ethernet and no Wi-Fi.

With it: 4/4 boots (one GRUB debug entry, two aura-try trials, one plain boot)

  • Both ports train: pci@0,0 link up after 2ms, pci@2,0 link up after 15ms.
  • 02:00.0 [14e4:1682] BCM57762 binds tg3 and appears as end0, which runs at 1000 Mb/s with the MAC aura fills in. SSH over it works from the first boot, about 23 s after power-on.
  • 01:00.0 [14e4:4434] BCM4388 binds brcmfmac and creates wld0.
  • 01:00.1 (hci_bcm4377) logs the same no brcm,taurus-bf-cal-blob property error you saw.

So the change covers the gigabit model too, not only the 10GbE AQC113.

Not covered: Wi-Fi association and traffic, Bluetooth, suspend.

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-19T12:30:16.329393Z
We couldn’t complete this review. Comment @codex review to try again.
4248745 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@RyanTheTide

Copy link
Copy Markdown
Contributor

Blockers: 1.

  1. The commit (4248745) has an Assisted-by: LLM trailer. Please drop it from the commit message and put the disclosure on the last line of the PR body instead (Assisted-by: LLM (<Vendor>:<Model>)). The body has no such line yet.
  2. arch/arm64/boot/dts/apple/t8132-j773g.dts:263-270 and the commit message name only the AQC113. DjDeveloperr's 4/4 run shows that the gigabit J773g has a BCM57762 (tg3) on the same port and stream, so please word both to cover either controller (e.g. "the Ethernet controller on port 2").
  3. Nit: arch/arm64/boot/dts/apple/t8132-apcie-port2.dtsi:7-9 still says the port and its DART stay disabled until the managed contract admits a second port. That is no longer true for the J773g after this change. Mention that the J773g enables port 2 by not using the contract.

The DT is otherwise consistent. The iommu-map keeps RIDs 0x100-0x101 on dart_apcie0 streams 1-2, and RID 0x200 goes to dart_apcie2 stream 1. Both match under the inherited iommu-map-mask = <0xffff> (t8132-jxxx.dtsi:452). Deleting apple,managed-sids from both pcie0 and dart_apcie0 removes the -EBUSY probe path described in the commit, and the ethernet0 child and port02 node come from t8132-desktop.dtsi and t8132-apcie-port2.dtsi unchanged.

HW row: J773g (either variant) on the current integration/aurora tip with this commit, booted from a full power-off: end0 and wld0 up, Wi-Fi associated with traffic, and 0 AVC, 0 failed units, 0 new kernel errors.

Assisted-by: LLM (Claude:Opus 5.5)

@RyanTheTide

Copy link
Copy Markdown
Contributor

On 110861f, the J773g still uses the inherited managed-radio properties and port 2 and dart_apcie2 stay disabled, so the change is still needed. The commit applies cleanly on 110861f. #2770 (open, stacked on #2762) carries the same port 2 mapping plus clkreq GPIOs, link speeds and multi-port deep sleep. Whichever lands first, the other should drop the duplicate hunk. @techmore, the review points are still open: move the Assisted-by line from the commit to the PR body, word the comment and commit for either Ethernet controller, update the t8132-apcie-port2.dtsi note, and add the full power-off J773g row on the current tip.

Build check of 110861f plus this change (arm64, LLVM=1, Image, dtbs and every directory it touches, Fedora config plus asahi.config): builds, no warnings in the files it touches; CHECK_DTBS over every Apple DTB: no new warnings against the tip.

@DjDeveloperr DjDeveloperr left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Formal pre-PR §1–§6 review at 4248745d32e2 against integration/aurora tip 70a00e583b03: REQUEST_CHANGES.

DT, PMGR & Supersession Audit

  • Not superseded on live integration/aurora: arch/arm64/boot/dts/apple/t8132-j773g.dts still inherits the managed-radio pcie0/dart_apcie0 properties and leaves dart_apcie2/port02 disabled. Note that open PR #2770 (stacked on #2762) overlaps this exact J773g Ethernet enablement and includes the PMGR fix plus port 2 clkreq-gpios/deep-sleep support.
  • §6 (CI & naming): Live CI is green (dt-checks run 43608987977, host-tests run 43608987958), though both ran on 2026-11-14 before commit 202ede05e539.

Blockers

  1. DT / PMGR correctness on live integration/aurora (70a00e583b03): Commit 202ede05e539 (2026-11-19) added power-domains = <&ps_apcie_sys_gp>; to &dart_apcie2 in arch/arm64/boot/dts/apple/t8132-apcie-port2.dtsi:25, while &pcie0 and &dart_apcie0 carry no power-domains (as noted in 202ede05e539's own commit message). Enabling &dart_apcie2 in t8132-j773g.dts without /delete-property/ power-domains; makes dart_apcie2 the sole genpd consumer of ps_apcie_sys_gp (parent ps_apcie_gp): apple-dart runtime PM (drivers/iommu/apple-dart.c:2996,3771,5942,7596) can power-gate ps_apcie_sys_gp/ps_apcie_gp underneath active pcie0/dart_apcie0, and dart_apcie2 will fail/defer if J773g disables ps_apcie_sys_gp under the T8132 PMGR policy. Add /delete-property/ power-domains; on &dart_apcie2 (or coordinate directly with #2762/#2770) and update the commit message claim that the controller/DART keeps no power domains.
  2. §4 (Commit attribution / AI trailer): Commit 4248745d32e2 carries an Assisted-by: LLM commit trailer, and the PR description has no Assisted-by: line. Remove Assisted-by: from the commit message (human author/committer + human Signed-off-by: only) and place the Assisted-by: disclosure in the PR body.
  3. §5 (Exact-head hardware & regression evidence): Re-test on current integration/aurora (with the &dart_apcie2 power-domains fix) from a full power-off boot on J773g showing end0 and wld0 up, Wi-Fi associated with traffic, and the required regression pass (0 SELinux denials, 0 failed units, 0 new kernel errors).
  4. DT/commit accuracy (minor): Reword the commit message and t8132-j773g.dts comment to cover both J773g Ethernet variants (10GbE AQC113 atlantic and 1GbE BCM57762 tg3), and update the stale managed-radio comment in arch/arm64/boot/dts/apple/t8132-apcie-port2.dtsi:7-9.

Copy link
Copy Markdown
Contributor Author

I checked the port-2 change on integration/aurora 5746ef8a5afd. The revised DTS comment and commit message cover both AQC113 and BCM57762, and the shared port description explains the J773g opt-out. The J773g DTB preserves the two radio RIDs and maps Ethernet RID 0x200 to dart_apcie2 stream 1. The J604 port-2 DART keeps its original disabled status and power domain.

I found a power-management blocker before pushing the revision. With the inherited domain retained, dart_apcie2 would be the only modeled consumer of a domain shared with pcie0 and dart_apcie0. Dropping its domain instead produces one new finding from scripts/dtc/apple-dart-pd-check.py against the base DTB: /soc/iommu@492000000 dart_apcie2 apple,t8132-dart okay: no power-domains (new). The absence of new schema warnings misses that failure.

Should J773g model all three consumers under its PMGR policy, or does firmware own this domain throughout Linux runtime? The latter would need a documented, narrowly justified checker exception. #2770 overlaps the port mapping and also drops the domain. Whichever lands second should drop the duplicated change. I am holding the branch revision, including its attribution cleanup, pending that ownership decision. The full-power-off boot with Ethernet, associated Wi-Fi carrying traffic and clean health counts is still outstanding.

@techmore
techmore force-pushed the j773g/ethernet-dt-20261114 branch from 4248745 to c7b87cb Compare November 24, 2026 03:06

Copy link
Copy Markdown
Contributor Author

CI found one added binding warning because the J773g managed-radio opt-out left apple,sid16-page behind. 28453913 drops that managed-only property. I applied the one-line change to the exact prior CI merge, rebuilt the J773g DTB with schema checking, and found zero added warnings against 5746ef8a5. The 138-board DART power-domain comparison also has zero new findings. This change leaves the shared APCIe domain description untouched. The ownership decision and full-power-off hardware row are still open.

@github-actions github-actions Bot added area:bringup Area from CODEOWNERS (bot) changes-requested A reviewer requested changes (bot) needs-review No approving review from Core or Omarchy Mac yet (bot) needs-template PR body lacks Tested or Risk (bot) labels Nov 24, 2026

@DjDeveloperr DjDeveloperr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Verdict: HOLD at 28453913

Blockers:

  1. arch/arm64/boot/dts/apple/t8132-j773g.dts:277-279 (§3, shared APCIe power-domain ownership): &dart_apcie2 is enabled while retaining power-domains = <&ps_apcie_sys_gp>; from t8132-apcie-port2.dtsi:25, whereas &pcie0 and &dart_apcie0 have no power-domains and J773g leaves ps_apcie_gp/ps_apcie_sys_gp enabled without apple,always-on. Because apple_dart_probe() calls pm_runtime_put(dev) on normal DARTs (drivers/iommu/apple-dart.c:6403-6404), dart_apcie2 becomes the sole genpd consumer and can power-gate ps_apcie_sys_gp/ps_apcie_gp underneath active pcie0/dart_apcie0 before Ethernet attaches or on suspend/unbind. Fix: either model power-domains = <&ps_apcie_sys_gp>; across &pcie0, &dart_apcie0, and &dart_apcie2 on J773g, or mark &ps_apcie_sys_gp apple,always-on; on J773g so genpd never gates the shared domain underneath unmodeled pcie0/dart_apcie0 while keeping scripts/dtc/apple-dart-pd-check.py green without checker exceptions.
  2. PR body (§4): remove the Assisted-by: line at the bottom of the PR description (policy updated 2026-11-24: no AI attribution anywhere in commits, PR titles, PR bodies, comments, or reviews; the commits themselves are already clean).
  3. PR body (§5): add top-level Tested: (Mac, exact head SHA, result) and Risk: (two-way door · J773g only) lines, and record an exact-head full power-off boot row on J773g after the PMGR fix (end0 up, wld0 associated with traffic, 0 SELinux denials, 0 failed units, 0 new kernel errors). No non-target Mac row is needed because t8132-apcie-port2.dtsi is a comment-only edit.

Checked:

  • Prior review follow-ups resolved: commits c7b87cbe4da0 and 284539133451 have human author/committer (Sean Dolbec) and human Signed-off-by: only; commit/DTS wording now covers both J773g Ethernet controllers (AQC113 atlantic and BCM57762 tg3); t8132-apcie-port2.dtsi:7-9 updated; 284539133451 drops apple,sid16-page alongside apple,managed-sids, clearing the apple,dart.yaml dependency warning.
  • §1/§2/§6 clean (board-only DT overrides, no model gating, default cmdline, clean naming).
  • Mergeable against main (5746ef8a5afd); exact-head CI green (dt-checks and host-tests).
Evidence
  • Head: 28453913345137fad739eb97c5c754e807a08b03 (2 commits: c7b87cbe4da0, 284539133451) on main (5746ef8a5afd), mergeable: MERGEABLE.
  • CI at 28453913: dt-checks PASS (45322146294), host-tests PASS (45322146132).
  • DT / PMGR audit: t8132-apcie-port2.dtsi diff is comment-only (zero DTB change on J604/J623/J624 or other Macs). On t8132-j773g.dts, &dart_apcie2 inherits power-domains = <&ps_apcie_sys_gp>; (t8132-apcie-port2.dtsi:25), t8132-pmgr.dtsi:768-783 enables ps_apcie_gp and ps_apcie_sys_gp without apple,always-on/apple,firmware-owned, and t8132.dtsi:1371-1415 leaves &dart_apcie0 and &pcie0 without power-domains. Note overlap with open PR #2770 (whichever lands second drops the duplicate J773g port-2 hunk).
  • Hygiene: Commits clean (human author/committer + DCO, no AI trailers); PR body retains an Assisted-by: footer and lacks Tested:/Risk: lines and an exact-head J773g hardware/regression row.

@github-actions github-actions Bot added door:two-way Revertible or not, from Merge risk (bot) and removed needs-template PR body lacks Tested or Risk (bot) labels Nov 24, 2026
@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Merge readiness at bdc3cae7: ready to merge

Check Detail
CI at head ok 4 checks passed
Review ok approved by DjDeveloperr
Requested changes ok none
Hardware row at head ok comment at bdc3cae7
Conflicts ok none
PR text ok Risk: two-way · J773g only. The patch enables Ethernet through APCIe port 2 and keeps its shared APCIESYSGP domain on. The cold-boot and power-management behavior of the new head remains to be verified.

Areas: area:bringup
Merge: gh pr merge 1898 --merge (Owners and Core through the bypass: add --admin).

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

@techmore
techmore requested review from a team as code owners November 24, 2026 15:18
@techmore
techmore requested a review from LiamRay11 November 24, 2026 15:18
@techmore
techmore requested a review from maralcbr November 24, 2026 15:18
@github-actions github-actions Bot added ci-failing A check failed at the PR head (bot) needs-hw-row No hardware row at the PR head (bot) labels Nov 24, 2026

@DjDeveloperr DjDeveloperr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Verdict: FINISH at 4f0ed7ff4364

Blockers:

  1. PR body (§5, exact-head hardware evidence): add a full power-off boot row on J773g (either 10GbE AQC113 or 1GbE BCM57762 variant) at 4f0ed7ff4364 confirming ps_apcie_gp/ps_apcie_sys_gp and dart_apcie2 probe cleanly, end0 up, wld0 associated with traffic, and 0 SELinux denials, 0 failed units, 0 new kernel errors. No non-target Mac row is needed because t8132-apcie-port2.dtsi is comment-only.

Checked:

  • Prior blockers 1 and 2 resolved in 4f0ed7ff4364 and PR body: &ps_apcie_gp and &ps_apcie_sys_gp (apple,always-on) are explicitly status = "okay" on J773g so t8132-platform-handoff.c retains them on 26.6.2 and genpd holds the shared APCIe domain on across &dart_apcie2 runtime PM while keeping apple-dart-pd-check.py clean (new: 0); PR body attribution footer removed and top-level Tested:/Risk: lines added.
  • §1–§4 and §6 pass: board-only DT override, default cmdline, clean naming, all 3 commits (c7b87cbe4da0, 284539133451, 4f0ed7ff4364) have human author/committer (Sean Dolbec) and human Signed-off-by: only, mergeable against main (1b09b76b53e9), all exact-head CI green.
Evidence
  • Head: 4f0ed7ff436414f6e52e521ec05b17570b1fa7cf (3 commits: c7b87cbe4da0, 284539133451, 4f0ed7ff4364) on main (1b09b76b53e9), mergeable: MERGEABLE.
  • CI at 4f0ed7ff4364: dt-checks PASS (45423928550, DARTs without a usable power domain: 87, new: 0), host-tests PASS (45423928332), pr-text / pr-text PASS (45427294591; earlier 45423928989 was cancelled on PR-body edit), readiness / readiness PASS (45427295192).
  • DT / PMGR audit: arch/arm64/boot/dts/apple/t8132-apcie-port2.dtsi is comment-only (zero DTB change on sibling T8132 boards). On arch/arm64/boot/dts/apple/t8132-j773g.dts, &dart_apcie0 deletes apple,managed-sids, apple,sid16-page, and apple,dma-range; &pcie0 deletes apple,managed-sids and maps 0x100 -> dart_apcie0 (2 streams) and 0x200 -> dart_apcie2 (1 stream) under inherited iommu-map-mask = <0xffff>; &ps_apcie_gp (status = "okay") and &ps_apcie_sys_gp (apple,always-on, status = "okay") survive t8132_pmgr_policy() (drivers/soc/apple/t8132-platform-handoff.c:190-201) and keep GENPD_FLAG_ALWAYS_ON + parent sd_count >= 1 (drivers/pmdomain/apple/pmgr-pwrstate.c:1007-1080) across apple_dart_probe()'s pm_runtime_put() (drivers/iommu/apple-dart.c:6404-6405). Overlap with open PR #2770 remains unchanged (whichever lands second drops the duplicate J773g port-2 hunk).
  • Policy / hygiene: Zero banned names or attribution lines in PR title, PR body, diff, or commits. Exact-head §5 J773g hardware/regression row is the sole remaining item before approval.

@github-actions github-actions Bot added the merge-conflict Conflicts with the base branch (bot) label Nov 24, 2026
The J773g's Ethernet controller is on port 2 of the built-in PCIe
controller (ADT pci-bridge2), behind its own DART (dart-apcie2).

The J773g already opts out of the managed radio contract. Keep the
existing port-0 mapping, map the Ethernet requester's ID to dart-apcie2
stream 1 as described by ADT mapper-apcie2, and enable port 2 and its
DART. The controller retains its inherited power-domain configuration.

Signed-off-by: Sean Dolbec <[email protected]>
The Ethernet DART's runtime PM may drop the sole genpd reference to
APCIE_SYS_GP while pcie0 and dart_apcie0 still use the shared block.
Keep SYS_GP on while it has unmodeled users. The active SYS_GP
subdomain also keeps its APCIE_GP parent from being switched off.

Explicitly enable both board providers so the T8132 PMGR handoff
preserves their availability on J773g. The Ethernet DART already references SYS_GP in
the shared port-2 description.

Signed-off-by: Sean Dolbec <[email protected]>
@techmore
techmore force-pushed the j773g/ethernet-dt-20261114 branch from 4f0ed7f to bdc3cae Compare November 25, 2026 00:01
@github-actions github-actions Bot removed ci-failing A check failed at the PR head (bot) merge-conflict Conflicts with the base branch (bot) labels Nov 25, 2026

@DjDeveloperr DjDeveloperr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Code approved at bdc3cae7ce1f. The J773g now keeps the shared APCIe system domain on when the Ethernet DART drops its runtime reference. The radio mappings remain present and the DT checks pass. A full power-off J773g boot with Ethernet and associated Wi-Fi traffic is still needed before merge.

@DjDeveloperr
DjDeveloperr dismissed stale reviews from themself November 26, 2026 01:11

Superseded by the review at bdc3cae

@github-actions github-actions Bot removed changes-requested A reviewer requested changes (bot) needs-review No approving review from Core or Omarchy Mac yet (bot) labels Nov 26, 2026
@RyanTheTide

Copy link
Copy Markdown
Contributor

@DjDeveloperr this is approved and CI is green at bdc3cae7. The only thing missing is a J773g row at this head: Ethernet link up, DHCP, iperf3 both ways, and one s2idle wake with the link back. The J773g is your board. Can you run it, or tell me when I can borrow it? If #2770 lands first, this one gets closed as a duplicate of it.

@github-actions github-actions Bot added ready-to-merge Meets the merge policy: merge it (bot) and removed needs-hw-row No hardware row at the PR head (bot) labels Nov 30, 2026
@DjDeveloperr

Copy link
Copy Markdown
Contributor

PASS (rebased onto main): J773g (M4 Mac mini, gigabit BCM57762) gets working Ethernet with this change. DHCP isn't covered by our cabling.

  • What ran: this PR's two-file DT change applied onto main dbfbced7. The branch is 2059 commits behind main; the diff applies cleanly, and its patch ID matches the PR's. Main's kernel and modules were unchanged, and only the DTB was rebuilt. Two multi-user boots, macOS 27.2 firmware. This is a rebased row, not the exact head.
  • Before (main and the saved stock kernel): port 2 and its DART are disabled, so there is no Ethernet device.
  • With this change:
    • PCIe port 2 trains (link up after 4 ms), DART 492000000 probes, and 0000:02:00.0 (BCM57762, 14e4:1682) binds tg3 as end0.
    • The link is up at 1000 Mb/s full duplex at cold boot.
    • Traffic flows both ways: over the test, RX went from 16 to 43 frames and TX from 55 to 62, with 0 errors, drops or CRC errors.
    • One s2idle cycle (rtcwake -m freeze -s 15 on rtc1): the link dropped on suspend and came back at 1000 Mb/s full duplex after wake. The counters kept moving with 0 errors, and tg3 logged no errors.
  • DHCP isn't covered: nothing on the other end of our mini's Ethernet cable answers DHCP (a test-mode request got no offer, at cold boot or after wake), and the mini's profile for this port is a static address.
  • Rest of the system:
    • 0 failed units.
    • No new error lines compared with main.
    • No WARN/BUG/SError.
    • The GPU smoke CRC matches (b022fbaf).
  • Not covered: the 10GbE model (AQC113, atlantic), DHCP, and a boot after a full power-off (these boots went through the boot loader from a running system).
  • Afterwards: both boots went back to the saved stock kernel and passed the stock checks.

1 similar comment
@DjDeveloperr

Copy link
Copy Markdown
Contributor

PASS (rebased onto main): J773g (M4 Mac mini, gigabit BCM57762) gets working Ethernet with this change. DHCP isn't covered by our cabling.

  • What ran: this PR's two-file DT change applied onto main dbfbced7. The branch is 2059 commits behind main; the diff applies cleanly, and its patch ID matches the PR's. Main's kernel and modules were unchanged, and only the DTB was rebuilt. Two multi-user boots, macOS 27.2 firmware. This is a rebased row, not the exact head.
  • Before (main and the saved stock kernel): port 2 and its DART are disabled, so there is no Ethernet device.
  • With this change:
    • PCIe port 2 trains (link up after 4 ms), DART 492000000 probes, and 0000:02:00.0 (BCM57762, 14e4:1682) binds tg3 as end0.
    • The link is up at 1000 Mb/s full duplex at cold boot.
    • Traffic flows both ways: over the test, RX went from 16 to 43 frames and TX from 55 to 62, with 0 errors, drops or CRC errors.
    • One s2idle cycle (rtcwake -m freeze -s 15 on rtc1): the link dropped on suspend and came back at 1000 Mb/s full duplex after wake. The counters kept moving with 0 errors, and tg3 logged no errors.
  • DHCP isn't covered: nothing on the other end of our mini's Ethernet cable answers DHCP (a test-mode request got no offer, at cold boot or after wake), and the mini's profile for this port is a static address.
  • Rest of the system:
    • 0 failed units.
    • No new error lines compared with main.
    • No WARN/BUG/SError.
    • The GPU smoke CRC matches (b022fbaf).
  • Not covered: the 10GbE model (AQC113, atlantic), DHCP, and a boot after a full power-off (these boots went through the boot loader from a running system).
  • Afterwards: both boots went back to the saved stock kernel and passed the stock checks.

@DjDeveloperr
DjDeveloperr merged commit 837e5bb into aurora-silicon:main Dec 1, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:bringup Area from CODEOWNERS (bot) door:two-way Revertible or not, from Merge risk (bot) ready-to-merge Meets the merge policy: merge it (bot)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants