Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pmgr: Fix false positive u8 pmgr ID detection on modern SoCs #419

Merged
merged 1 commit into from
Nov 3, 2024

Conversation

jannau
Copy link
Member

@jannau jannau commented Nov 3, 2024

The id1 field used on oder SoCs is not constant 0 for all devices on t8122. Instead just compare the id1 fields of the two first devices. Fixes "pmgr: Failed to find parent #36 for IOA0\n" errors in pmgr_init().

Fixes: fb59dc0 ("pmgr: Fix struct for older SoCs")

@jannau
Copy link
Member Author

jannau commented Nov 3, 2024

Cc: @asdfugil does this still work on A7 - A11?

The id1 field used on oder SoCs is not constant 0 for all devices on
t8122. Instead just compare the id1 fields of the two first devices.
Fixes "pmgr: Failed to find parent AsahiLinux#36 for IOA0\n" errors in
pmgr_init().

Fixes: fb59dc0 ("pmgr: Fix struct for older SoCs")
Signed-off-by: Janne Grunau <[email protected]>
@asdfugil
Copy link
Contributor

asdfugil commented Nov 3, 2024

Works on A7-A11, T2, so:

Reviewed-by: Nick Chan [email protected]

@marcan marcan merged commit 3854c76 into AsahiLinux:main Nov 3, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants