Repository navigation
PCI: apple: preserve the retained bootstrap across suspend-to-idle sleep - #177
Merged
Merged
Conversation
The retained PIODMA supplier prevents the radio configuration from being built with system sleep. Permit suspend-to-idle once the single bootstrap has completed and the command, FIFO and owned storage validate as idle. Reject sleep from a failed or incomplete bootstrap. Restore the existing register-bank configuration after its power domain resumes, while preserving the arena and never resubmitting its descriptor. Reject hibernation and deeper suspend, which cannot preserve the live endpoint and firmware ownership contract. Keep the supplier and PCI host built in: published DMA and supplier IRQ ownership still lack a removal contract. This retains the existing link boundary and requires no module export or parallel provider. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
DjDeveloperr
pushed a commit
that referenced
this pull request
Oct 23, 2026
…7 AV client The host runner fails 36 of 56 cases on PR #177, all at compile time, because production moved ahead of the fixtures' copies: - 191c603 ("phy: apple: make legacy USB3 handoff completion retryable") adds t8103_dummy_pending and t8103_usb3_retry, splits out atcphy_pipehandler_lock_live() and atcphy_park_live_t8103_pipehandler(), reads hw->gen in atcphy_mux_switch() and skips the native host BIST, and with it the host lock, on the T8103 generation. - 873dae4 ("drm/apple: support both T6030 Thunderbolt dock display streams") keys route availability and HDMI settling on dcp_typec_ordered_dual_stream(). - The 14.7 external role's AV client and HDMI audio add the instance epoch, open, terminate and close state, close work, an AFK teardown on re-announcement and a parser.h helper. Extract the new ATC helpers wherever the fixtures extract their callers (ATC_T8103_LIVE, '' for older sources) and add the new state to the fixtures' PHY copies. The unwind and ordinary-port quiesce units, whose PIPE is a modeled leaf, get a live-park stub that asserts it is never reached; the ordinary port now has a real hw profile (T8122) because the mux switch reads its generation. The transaction units extract the real dcp_typec_ordered_dual_stream(); their of_machine_is_compatible() only answers "apple,t6030", false, as these are M1/M2 Type-C scenarios. The EDID units take the real dcp_is_v14_7_external() from dcp-internal.h; they run H17P firmware, so the 14.7-only leaves (dcpavserv_v14_open(), drm_edid_valid(), the queued AV close) assert that they are never reached. afk_recv_handle_teardown() gets the forward declaration it has in afk.c. The parser.h slice of the rate units marks its static inlines unused, as the other header slices do. The publication-hpd unit models external_native false explicitly and asserts that neither the AV close nor the external audio start is reached. One behaviour changes on purpose, and the assertions that check it follow the source: a T8103 host start no longer locks the PIPE, so the lock ACK faults of the init, mux, gate and dp-cache controls and of the PIPE host-lock control cannot fail it. For sources that skip that BIST (T8103_HOST_BIST 0) the T8103 cases inject the handshake that remains reachable, the release of a stale lock in atcphy_pipehandler_check(). They assert the exact error, the poll count and the polling function, so removing the fault fails the case rather than passing it, and that the PIPE never moved and the lanes stayed clean. A lock that stays held fails the next start too; once it lets go the start parks the PIPE and routes USB3, with no BIST poll in the whole sequence. Sources that still run the T8103 BIST keep the previous expectations. The runner passes 56 of 56 on 6d31ee5 with all 67 retained recovery controls meeting their expectations. Generated mutants of the actual bodies that ignore a failed release in atcphy_pipehandler_check(), or drop the pending-PIPE refusal of atcphy_configure() or of the legacy DP rate cache, are killed. These are host fixtures only; no production driver changes. Signed-off-by: Chris Kearney <[email protected]> Generated-by: LLM (cherry picked from commit 31da169)
RyanTheTide
added a commit
that referenced
this pull request
Oct 25, 2026
…fixes) onto 7.3 Sync omacom #177 (G15, T6030 dock, platform fixes) onto 7.3
RyanTheTide
added a commit
that referenced
this pull request
Oct 25, 2026
Include the newly qualified #395 omacom #177 sync on Linux 7.3 before running consolidation gates. Keep the newer complete DWC3 host fixture instead of duplicating its role fields and runtime-PM helpers. Retain the WIP-only files and non-conflicting changes from the earlier normal merge. No history is rebased or force-updated. Signed-off-by: Ryan Murray <[email protected]> Assisted-by: LLM
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.
The retained J700 PCIe bootstrap cannot be selected with system sleep. Permit suspend-to-idle only after the one-shot request, command/FIFO state and owned storage validate as idle. Retain the arena and restore the existing register-bank configuration after power-domain resume without submitting another request.
The supplier and PCIe host stay built in: published DMA/IRQ ownership has no qualified removal contract. This keeps the existing dependency boundary and requires no parallel provider or module exports. Hibernation, deeper suspend, kexec, provider unload and descriptor reuse remain unsupported.
This extends the existing public provider. Original history is preserved. Strict checkpatch (only the project's required LLM trailer-format warning), trailer checks and conflict-free test composition pass. The arm64 provider object compiled remotely during the topic build. Focused DTB/compiler checks and the matched full kernel build are continuing.
Neo qualification is in progress. Retained radio/PCIe ownership across real suspend-to-idle has not yet been validated. It does not claim arbitrary endpoint or teardown support.
🤖 Generated with Claude Code