Repository navigation
apple: quiet two expected J700 boot messages (AFK retired-channel close, power-LUT fallback) - #343
Merged
Merged
Conversation
afk_recv_handle_teardown() warns when the co-processor closes a channel that has no live service. On M1 and M2 that should not happen, because the driver never gives up a service on its own. Since the H17P reconnect support, it gives up services in two places: - dpavservep_detach() retires the DCPAVSERV EDID service when the external display goes away, before the firmware closes its channel; - afk_service_discard() drops a service whose preparation declined it, such as the optional AppleDCPDP2HDMI service on its second channel. The firmware then closes both channels on every unplug and the driver prints two "teardown for disabled channel" warnings, although it has nothing left to do. Log a teardown at debug level when the slot that last served the channel is torn down, and keep the warning for a channel no slot knows. A slot that is reused for another channel forgets the old one, so an unexpected close is still reported. Rename that warning to say "unknown", which is the only case left. Add KUnit cases for a retired, a declined, a reused and a live slot. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
The H17P DCP asks for five power-LUT tables through the provider property callback. Commit 2277872 ("drm: apple: retain J700 provider replies with older loaders") answers with the J700 tables when the device tree lacks them, because the loader in use predates those properties, and warns once that it does so. No released loader adds these properties yet, so the warning appears on every J700 boot. The reply carries the same bytes as the disp0 entries of the Apple Device Tree, and both displays work with it, so there is no fault to report. Log the fallback at info level instead. The message still names the missing property, and properties that are present but malformed are still errors. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
… level The service-rebind group extracts afk_recv_handle_teardown(), which now asks afk_epic_channel_retired() whether a teardown names a channel that was retired before it logs. Extract that helper and the afk_service_retired() check it uses, so the group keeps compiling the production teardown path. The firmware-provider group compiles trampoline_provider_property_h17p(), which now reports the J700 power-LUT fallback with dev_info_once(). Give its host prelude a no-op dev_info_once() next to dev_warn_once(). No expectation changes; all 55 host tests pass. Assisted-by: LLM Signed-off-by: Ryan Murray <[email protected]>
This was referenced Nov 5, 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.
Two boot-time messages on the MacBook Neo were noise rather than faults, so they're quieted:
The history behind each decision is in the boot-warning audit; every other boot warning is either justified or owned elsewhere.
This PR also includes a tools-only apple-dcp selftests commit. It adds the new helper to the extraction lists and changes no expectations, so
run.pystays at 55/55.Review: independent, PASS. The demotions were checked against the audit's history, and none hides a real fault.
Testing (all five backlog PRs together, merged onto aurora-wip
45647d08)The five PRs (rust-clippy, boot-warnings, kunit-parsers, harden-all, spi-apple-cs) were merged in order into one candidate,
integ/batch1-202610176908f0ffd9ca. A simulated run of the GitHub merges, in this order, lands on exactly that tree.Build and test gates
Earlier combined kernel (these five plus tipd-hpd-pulse-v2 and clamshell-mic, on aurora-wip
3f12d3d7):This candidate, final hardware
🤖 Generated with Claude Code