Repository navigation
PCI: apple: enable experimental J700 radio endpoint bootstrap - #151
Merged
Merged
Conversation
Describe the T8140 host with its root-controller window and three port/PHY pairs. The resource layout is established by the pinned public m1n1 T8140 initialization and a fresh J700 ADT topology capture. Validate the binding and the J700 DTB with dt-schema. This binding change does not establish downstream configuration or endpoint DMA support.
J700 exposes the radio power control as SMC GPIO8 through the pcIO key, so the generic gP08 transaction cannot drive it. Extend the existing J700 pcIO GPIO path with the GPIO8 low/high words from a fresh function-reg_on ADT observation. Keep GPIO19 behavior and cache only successful writes. A coordinator-owned root-port test brought the PCIe link up with this control. No radio firmware or endpoint DMA was exercised.
The public T8140 bootloader initializes PCIe, but Linux has no matching host variant. Retain the initialized clocks, power-cycle the endpoint under PERST, and add the T8140 SID-indexed RID table policy. Reject every downstream config access and inactive root slot before mapping ECAM: PIODMA configuration transport and DMA ownership remain unqualified. This is a diagnostic prerequisite, not complete T8140 PCIe support. The first physical test reported link-up after 12ms and enumerated the 106b:100c root bridge; no downstream configuration or DMA was attempted. Register layout uses public m1n1 and fresh ADT observations. Takeover, power timing and RID table behavior also use coordinator-reviewed prior Aurora reference [cc917e8]. This is not an independent cleanroom claim. Original Neo research and bring-up are credited to DJ (DjDeveloperr), Ace (Acelogic), and Ryan Murray.
Describe the observed T8140 PCIe and DART resources and enable only J700 port0 with its observed reset, clock-request and SMC power controls. Keep the DART disabled and omit endpoint routing. This topology relies on the matching driver's unconditional downstream configuration guard. The apple,t8140-pcie compatible also preserves the pinned public U-Boot pre-MMIO refusal for this host. The candidate kernel/DTB reached root bridge enumeration with link up; downstream devices remain inaccessible. This board enablement is a diagnostic scaffold pending PIODMA support.
Describe the opt-in retained bootstrap provider and its host phandle. Keep the association restricted to T8140. Schema and J700 DTB checks passed with the integrated public Aurora tree; no runtime register or DMA layout changes.
Prime one retained PIODMA request behind an explicit opt-in, validate its completion, then permit typed ECAM access to the two expected radio functions. Program and check the root memory forwarding window and translated endpoint DMA mappings. Add the J700 own-MAC bootloader handoff node. This remains a diagnostic bring-up path. The arena is retained until full reset; removal, suspend, kexec and memory reuse are not qualified. Document those merge blockers rather than treating one completed request as teardown. Built and tested on physical J700/T8140 with public Aurora m1n1/U-Boot/Linux: KDE, WPA2/DHCP/DNS/HTTPS on 2.4 and 5 GHz, Bluetooth discovery and HCI power cycling. Binding and J700 DTB schema checks pass. Executable PCI code matches the tested Image; firmware and unit data are not included.
Acelogic
force-pushed
the
codex/neo-pcie-root-bringup
branch
from
October 2, 2026 02:43
cd96f62 to
3b0af1d
Compare
Acelogic
marked this pull request as ready for review
October 2, 2026 02:44
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Keep setup and lifecycle requirements; leave hardware run results in the PR and local qualification artifacts. No hardware code changes.
Acelogic
added a commit
that referenced
this pull request
Oct 2, 2026
PR #153 was merged into the PCIe working branch after #151 had already landed, leaving its Wi-Fi and Bluetooth files out of aurora-wip. Merge the completed radio series into the development branch alongside the Neo AVD integration from #154. Keep the radio branch's complete contributor history. All radio files are identical to that branch, and the AVD driver and board wiring are unchanged. The two sides have no overlapping file edits against the public merge base. Validation: exact tree comparisons and git diff --check pass. The existing qualified Neo stack still passes Wi-Fi HTTPS with Bluetooth powered and KDE running; its Aurora-firmware AVD campaign passed 34 runs / 1740 exact frames. This integration does not claim a fresh build or boot of the merged kernel.
This was referenced Oct 2, 2026
DjDeveloperr
added a commit
that referenced
this pull request
Oct 23, 2026
drm/asahi: G17 stability fixes from linux-aurora PR #151 (7.3 port)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Enable the J700/T8140 PCIe path required by the Neo's Wi-Fi and Bluetooth: PIODMA bootstrap, downstream ECAM, BAR forwarding and translated DMA. Prerequisite for #153.
Enable with
CONFIG_PCIE_APPLE_PIODMA_DIAG=yandpcie_apple_piodma_diag.enumerate=1.Validated on the Neo:
git diff --checkpass.Experimental: the bootstrap DMA arena remains allocated until external reset. Controller removal, memory reuse, suspend and kexec require further work. Setup and lifecycle details:
Documentation/PCI/controller/apple-t8140.rst.