Skip to content

ext_manifest: include probe information by CONFIG_PROBE - #9675

Merged
lgirdwood merged 1 commit into
thesofproject:mainfrom
Shawn-Huang724:main
Nov 25, 2024
Merged

lgirdwood merged 1 commit into
thesofproject:mainfrom
Shawn-Huang724:main

Conversation

@Shawn-Huang724

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

Copy link
Copy Markdown
Contributor

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 <shawn.huang724@realtek.com>
@sofci

sofci commented Nov 22, 2024

Copy link
Copy Markdown
Collaborator

Can one of the admins verify this patch?

reply test this please to run this test once

@Shawn-Huang724

Copy link
Copy Markdown
Contributor Author

@lyakh

lyakh commented Nov 22, 2024

Copy link
Copy Markdown
Collaborator

test this please

@kv2019i

kv2019i commented Nov 22, 2024

Copy link
Copy Markdown
Collaborator

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
Copy Markdown
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.

@lgirdwood lgirdwood left a comment

Copy link
Copy Markdown
Member

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.

@kv2019i kv2019i left a comment

Copy link
Copy Markdown
Collaborator

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
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