Repository navigation
PCI: apple: t8140: watch the radio slots for 2 ms after a sleep - #1715
Merged
Merged
Conversation
After its response, the bootstrap watches the retained slots for ten 1-2 ms periods, which is 21 ms of the DRAM-kept wake's noirq phase on the J700. After a sleep the same engine repeats a request it has already answered on this boot, and the slots are read again before every sleep, so two periods are enough there. The first bootstrap keeps all ten. Signed-off-by: Diljit Singh <hey@djdev.me>
This was referenced Nov 12, 2026
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.
On a DRAM-kept wake, the Neo (J700) brings its radio link back inside the PCIe host's
resume_noirq, which the whole noirq phase waits for. The bootstrap after that link-up spent 21 ms watching its retained slots. This keeps the full watch for the first bootstrap at boot and shortens it after a sleep.d15e15e6PCI: apple: t8140: watch the radio slots for 2 ms after a sleepsuspend_noirqreads the slots again before every sleep. So 2 periods are enough there.Measured on the Neo (J700), 2026-11-12
Kit: this commit on
cae47c00together with #1700 and a debug-only commit (#1682's diagnostic line), aura main Stage 2. One boot, with 22 DRAM-kept sleeps in all. The "before" column is the previous kit on the same base without this commit (#1700's measurements).resume_noirq(kprobes)dpm_resume_noirqphase (kprobes)dpm_resume_noirqphase (power trace, median of 3)Wake timing, 8 DRAM-kept wakes, seconds from the PMU RTC alarm to the suspend exit:
Safety, same boot:
🤖 Generated with Claude Code