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

ext_manifest: include probe information by CONFIG_PROBE #9675

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

Shawn-Huang724
Copy link
Contributor

@Shawn-Huang724 Shawn-Huang724 commented Nov 22, 2024

Put probe information into manifest by CONFIG_PROBE=y would be better.

This change could help to avoid annoying kernel log from SOF loader ("unknown sof_ext_man header type 3 size 0x30") if CONFIG_PROBE=n on most SOF machines.

Put probe information into manifest by CONFIG_PROBE=y would
be better.

This change could help to avoid annoying kernel log from SOF
loader ("unknown sof_ext_man header type 3 size 0x30") if
CONFIG_PROBE=n.

Signed-off-by: Shawn Huang <[email protected]>
@sofci
Copy link
Collaborator

sofci commented Nov 22, 2024

Can one of the admins verify this patch?

reply test this please to run this test once

@Shawn-Huang724
Copy link
Contributor Author

@lyakh
Copy link
Collaborator

lyakh commented Nov 22, 2024

test this please

@kv2019i
Copy link
Collaborator

kv2019i commented Nov 22, 2024

Thanks @Shawn-Huang724 -- it's seems this annoyance has gone unfixed for a very long time.

It would seem thesofproject/linux#5183 is probably the best fix. At least for Intel, the new FW releases use IPC4 so will not trigger the warning in IPC3 loader in kernel.

@Shawn-Huang724
Copy link
Contributor Author

Thanks @Shawn-Huang724 -- it's seems this annoyance has gone unfixed for a very long time.

It would seem thesofproject/linux#5183 is probably the best fix. At least for Intel, the new FW releases use IPC4 so will not trigger the warning in IPC3 loader in kernel.

Very much agree, it's better for the doer to undo what he has done. [thesofproject/linux#5183] is the best fix of this annoyance in dmesg log.
But from the perspective of firmware, this change could increase the integrity and consistency of SOF firmware. This means that the probe information would be not found since the CONFIG_PROBE is disabled in firmware image.
Thanks again for your valuable feedback and reviewing.

Copy link
Member

@lgirdwood lgirdwood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack - manifest should only contain extensions if they are enabled in build, I think in this case the author may have been trying to cover both probes and injectors.

Copy link
Collaborator

@kv2019i kv2019i left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was wondering @lgirdwood if some client requires the manifest entry to exist (with just probe and injection points as zero in the manifest), but it seems all CI tests are passing and I can't find any usage. So would seem good to go.

@lgirdwood lgirdwood merged commit b10f9f5 into thesofproject:main Nov 25, 2024
45 of 47 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.

5 participants