Repository navigation
Conversation
|
Looks good to me. The ECAM size, bus range, iommu-map, MSI window and DART enable all shrink together to port 0, and the comment records where port 2 sits for when it gets trained. One small thing: the tested kernel's DARTs lacked the Assisted-by: LLM (Claude:Opus 5.5) |
|
Thanks. I booted exactly this tree on the J704: The DART with
The noise is the same as before ( I ran the BLE scan on this tree merged with #2587, which merges cleanly. The PCIe nodes are the same in both builds. AI-assisted (Assisted-by: LLM), tested by me on the hardware. |
|
Merge-train adversarial review (MERGETRAIN-LINUX2) at 15a449a: NO BLOCKERS. Code read only, nothing built here. Before the merge it still needs Dj's verdict at this head; the missing rows are listed below. Full review#2582 arm64: dts: apple: t8142-j704: Keep the PCIe host to the trained port 0 @15a449a6VERDICT: NO BLOCKERS Checked on the merge: no remaining reference to the dropped Nits:
Missing rows:
|
DjDeveloperr
left a comment
There was a problem hiding this comment.
Pre-PR checklist review at 15a449a600c7: 1 blocker (§4 attribution).
Code, DT, and Safety Audit (§1–§3, §6)
- Clean. Touches only
arch/arm64/boot/dts/apple/t8142-j704-pcie.dtsi(J704-only). bus-range(<0 1>), ECAMreg(0x200000),iommu-map, single-entrypcie0_msireg(valid underapple,pcie-msi.yaml,minItems: 1, matchingt8142-j813-n1.dtsi:33), and dropping&pcie2_dartall shrink consistently to port 0.- Verified no remaining references to
port02,sdhci0, orpcie2_dartin any J704 DT file;pcie2_dartandapcie2_piodmaremain disabled int8142-peripherals.dtsi. - CI:
dt-checksandhost-testsare green.
Blockers
- §4 commit trailers: Commit
15a449a600c7includes anAssisted-by: LLMtrailer in the commit message. Per §4 of the pre-PR checklist, commits must carry human author/committer identity and humanSigned-off-by:only, with zeroAssisted-by:or AI trailers in commit messages (disclosure stays in the PR body only).
§5 Evidence & Runtime Notes (non-blocking)
- Exact-tree J704 boot (Wi-Fi 2.4/5 GHz associate + DHCP + ping, BT
hci0scan,power-domains = <&ps_apcie_sys_gp>with genpd disabling unused domains and no DART errors) is well documented; please also state the explicit §5 regression counts (0 SELinux denials, 0 failed units, 0 new kernel errors) on the updated head. - Note that runtime port-0 training on J704 still depends on
aurora-silicon/aura#398(currently open); this DT change is safe and harmlessly inert until that lands.
Assisted-by: LLM (Gemini 4 Neon)
The bootloader trains apcie port 0 only (aura's j813_n1_prepare(), the same sequence as J813, accepting J704's BCM4388 since aurora-silicon/aura "j813_n1: T8142: accept J704's BCM4388 on apcie port 0"). Port 2 (GL9755 SD reader) stays untrained, but the tree gave the generic ECAM host buses 0-2, gave the MSI controller port 2's MSI block and enabled port 2's DART. Describe port 0 only, as J813 does: ECAM buses 0-1, port 0's MSI block and DART. The SD reader comes back once port 2 is trained. Tested on a J704 (Fedora 44, 7.3.0 aurora kernel with CONFIG_PCIE_APPLE_MSI=y) with the equivalent tree: 01:00.0 BCM4388 [14e4:4434] rev 06 with brcmfmac (4388C2 firmware 23.10.1042) scans 2.4 and 5 GHz and associates through NetworkManager; 01:00.1 [14e4:5f72] with hci_bcm4377 gives hci0, BLE scan finds devices; "pcie-apple-msi: 32 MSIs at 0xfffff000". Signed-off-by: termg <hello@termg.com>
15a449a to
a9553e1
Compare
|
Updated (a9553e1):
J704 boot on this head merged with #2587's (DTB byte-identical to the earlier one), resident aura replaced by aura#398's current head, installed 7.3.0 kernel, on-Mac self-test: ECAM bus 00-01, Assisted-by: LLM (Claude:Opus 5.5) |
|
Re-checked at a9553e1 (range-diff against 15a449a): the Assisted-by: LLM (Claude:Opus 5.5) |
RyanTheTide
left a comment
There was a problem hiding this comment.
Approved at a9553e1: trailer + comment-only change since the J704 exact-tree boot.
|
A note from linux#2603's testing: on today's integration tip, a kernel booted with the default J704 DT (all three of Assisted-by: LLM (Claude:Opus 5.5) |
|
@DjDeveloperr could you re-review at Assisted-by: LLM (Claude:Opus 5.5) |
DjDeveloperr
left a comment
There was a problem hiding this comment.
Re-review at a9553e19abce against the pre-PR checklist (§1–§6) and live integration/aurora (70a00e583b03): 0 blockers — approved.
Verified
- §1–§3 (DT correctness, scope, safety): Clean. Scoped strictly to
arch/arm64/boot/dts/apple/t8142-j704-pcie.dtsi(not superseded onintegration/aurora).bus-range <0 1>, ECAMreg(0x200000),iommu-map, single-entrypcie0_msireg(valid underapple,pcie-msi.yamland matchingt8142-j813-n1.dtsi), and droppingport02/sdhci0/&pcie2_dartall shrink consistently to port 0, with zero dangling references acrosst8142-j704*.dts*. The comment aboveiommu-mapdocuments the expectedid 0x10message for root port00:02.0. - §4 (Attribution & clean-room): Resolved. Commit
a9553e19abcecarries human author/committer and humanSigned-off-by:only, with zero AI trailers in the commit; disclosure is in the PR body. - §5 (Evidence): Exact-head J704 boot (DTB byte-identical to
15a449a6) confirms ECAM bus 00–01, BCM438801:00.0Wi-Fi 5 GHz association + DHCP + ping 3/3,01:00.1Bluetoothhci0scan,pcie0_dartwithpower-domains = <&ps_apcie_sys_gp>under genpd unused-domain teardown, and0 SELinux denials, 0 failed units, 0 new kernel errors(and resolves the early boot hang on the current tip J704 DT withpcie2_dartenabled). Runtime port-0 training still depends onaurora-silicon/aura#398. - §6 (Naming & live CI): Clean. Live CI
dt-checksandhost-testsare both green.
Assisted-by: LLM (Gemini 4 Neon)
t8142-j704-pcie.dtsidescribes apcie ports 0 (BCM4388 Wi-Fi/Bluetooth) and 2 (GL9755 SD reader) behind one generic ECAM host, with an MSI controller covering both ports' MSI blocks and both DARTs enabled. The bootloader trains port 0 only (aura'sj813_n1_prepare(), with aura W1: aurora-silicon/aura#398), so port 2 is never brought up.This describes port 0 only, as
t8142-j813-n1.dtsidoes: ECAM buses 0-1 (reg0x200000), port 0's MSI block, port 0's DART; port 2's node, its iommu-map entry and thepcie2_dartenable are dropped. The SD reader can come back once a bootloader trains port 2. A comment records where port 2 is.Tested on a J704 with Fedora 44's aurora 7.3.0 kernel (
CONFIG_PCIE_APPLE_MSI=y) and an equivalent tree (our Fedora tree plus these PCIe nodes; the only difference from this branch is that its DARTs lack the newerpower-domains = <&ps_apcie_sys_gp>):Wi-Fi scans 2.4 and 5 GHz and associates (NetworkManager, KDE); Bluetooth hci0 is powered and the BLE scan finds devices. Remaining noise:
of_irq_parse_pci: failed with rc=-22for each function (no INTx map; MSI is used) andno iommu-map translation for id 0x0for the root port.make W=1 apple/t8142-j704.dtbadds no warning.Assisted-by: LLM (Claude:Opus 5.5)