Repository navigation
soc: apple: pmp: start CoreAnalytics on the T6041 - #405
Closed
jgoyvaerts wants to merge 1 commit into
Closed
jgoyvaerts wants to merge 1 commit into
jgoyvaerts wants to merge 1 commit into
Conversation
The T6041 (M4 Pro) PMP firmware advertises RTKit system endpoint 7 (CoreAnalytics). On our earlier tree the PMP's RTKit boot failed with "IOP power acknowledgment failed: -62" until endpoint 7 was started, and our testing of the T6041 support used a tree that started endpoint 7 for every RTKit client. RTKit now starts endpoint 7 only for the clients that ask for it, and the PMP asks only on the J713. Make the requirement a per-SoC setting with three values (no, always, only on the retained J713 board) and require it always on the T6041. RTKit waits for CoreAnalytics only when the firmware advertises the endpoint. The T8132 and T8140 keep their behaviour. With this change the PMP starts on integration/aurora on the J616s (Linux 7.3, macOS 26.6.2 firmware): "PMP started", and pmp-report sees it running. The endpoint-7 requirement on the M4 Pro was found by Niklas Sheth (GravityLinux). Fixes: 927c318 ("soc: apple: pmp: Add T6040 support") Signed-off-by: Jonathan Goyvaerts <jonathan.goyvaerts@gmail.com> Assisted-by: LLM
Contributor
Author
|
Closing as a duplicate of #402, which landed minutes earlier with the same endpoint-7 fix for every T6041 PMP (plus the pmp-gfx report fix). Thanks! |
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.
#400 made RTKit system endpoint 7 (CoreAnalytics) opt-in, and only the J713 PMP opts in. The T6041 (M4 Pro) PMP firmware advertises the endpoint too. On our earlier tree its RTKit boot failed with "IOP power acknowledgment failed: -62" until endpoint 7 was started, and our testing of the T6041 support (#374) used a tree that started endpoint 7 for every RTKit client. So the merged T6041 PMP code has not been run as merged.
This makes the requirement a per-SoC setting with three values:
RTKit waits for CoreAnalytics only when the firmware advertises the endpoint, so "always" adds no wait on firmware without it.
Hardware tested on: Apple MacBook Pro (16-inch, M4 Pro, 2024), J616s / T6040, macOS 26.6.2 firmware, booted by our own loader.
How tested: our daily kernel on
integration/auroraac6b017bce(Linux 7.3, #400 included) with this commit: the PMP logs "PMP started", and pmp-report reports it running (status 0x1, requests 0x3c00).Not tested / limits: no boot of the merged code without this commit, so the -62 failure is from our earlier tree, not re-run on this base. The J713 and T8140 paths are unchanged but were not run here.
Base:
integration/aurora(ac6b017bce). Builds withCONFIG_APPLE_PMP=mandCONFIG_DRM_ASAHI_G16=y; no new warnings.The endpoint-7 requirement on the M4 Pro was found by Niklas Sheth (GravityLinux).
🤖 Generated with Claude Code