Repository navigation
PCI: apple: T6050: J716c deep sleep - #2129
Merged
Merged
Conversation
This was referenced Nov 17, 2026
erikwb
marked this pull request as draft
November 17, 2026 15:06
The radio's host takes its port down for a deep sleep (the DART saved and held, the link shut down through the sleep controller) and brings it up after, with the N1's warm reset. It was set up on the J714s only; on the J716c the host's noirq suspend then refused every deep sleep for want of a port. The J716c's host is the same T6050 host with the N1 adopted on port 0, and its ADT gives the same warm reset (SMC key 'bpli', 0x1000000). Set it up there too. Its other port is not described, so there is nothing to park. Developed with Claude Code. Signed-off-by: Erik Bourget <erik@ebourget.net>
… place The J716c's right-port USB4 router sleeps in place as the J714s's does, with the same tunnelled PCIe controller. Apply the J714s's rules for it to the J716c too: the PME turn-off port word, the controller's suspend, the tunnel's links and its noirq resume. The J714s-only diagnostics stay J714s only. Developed with Claude Code. Signed-off-by: Erik Bourget <erik@ebourget.net>
erikwb
force-pushed
the
j716c/pcie-sleep
branch
from
November 17, 2026 15:09
b8e50e5 to
28b371b
Compare
DjDeveloperr
marked this pull request as ready for review
November 17, 2026 19:08
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.
What this does
host, N1 on port 0, the same warm reset).
PME turn-off port word, the controller's suspend, the tunnel's links and its noirq resume. The
J714s's diagnostics (function-state walk, PME report) stay J714s only.
Tested
j716c/pcie-sleep) builds on its own base (Image.gz, modules and dtbs, arm64, LLVM).integration/aurorawere built as one kernel and run on a J716c (16" M5 Max): one suspend-to-RAM with a USB4 dock attached, about 30 s asleep, woken by the RTC alarm (wake source 76). After the wake all 18 CPUs were online, the dock's router came back in place with its Ethernet up, and the SEP answered RNG reads. The sleep's log showed "secondary clusters down first: cores 6+6, cluster 1 0x1a in 353 us, cluster 2 0x1c01a in 448 us". The PMP was not running in that build.Dependencies
Branch #2129 (
j716c/pcie-sleep). Based onintegration/aurora; no dependencies at build time. At run time the J716c deep sleep needs #2119 (j716c/sleep-j716c-profile) and #2123 (j716c/dts-deep-sleep).Part of the J716c deep sleep set: #2118 (
j716c/spin-table-release-cpus), #2119 (j716c/sleep-j716c-profile), #2120 (j716c/sleep-wake-source-names), #2121 (j716c/sleep-sep-auto-wake), #2122 (j716c/sep-t6050-profile), #2123 (j716c/dts-deep-sleep), #2124 (j716c/drm-apple-sleep), #2125 (j716c/dart-sleep), #2126 (j716c/thunderbolt-sleep), #2127 (j716c/usb-sleep), #2128 (j716c/phy-sleep), #2129 (j716c/pcie-sleep), #2130 (j716c/aic-sleep), #2131 (j716c/asahi-sleep), #2132 (j716c/spmi-sleep), #2133 (j716c/macsmc-sleep), #2134 (j716c/nvme-sleep).🤖 Generated with Claude Code