-
Notifications
You must be signed in to change notification settings - Fork 50
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
check-ipc-flood.sh does not work with IPC4 #1066
Comments
I'm not sure if flood test will ever work with IPC4. This requires the addition of a new kind of IPC into IPC4 and I dont think there are any plans for it. Can we simply omit these from testing for IPC4? |
We sure can if everyone agrees. Where can we bring that question up? BEFORE we remove that test from the corresponding test plans we need to fix the misleading error message. We can probably just add something like |
yes, lets just do that for now |
wontfix |
I'll see if I can quickly fix the error message. |
So to decide whether it should test or SKIP, the short (and pretty poorly written)
Instead of this:
In other words, if This is quite ugly. Is there some more reliable and hopefully generic (IPC-independent) way to check whether this IPC is supported?
[ 943.437] ( 142.500) c0 ipc src/ipc/ipc3/handler.c:1605 INFO ipc: new cmd 0xb0010000
[ 951.771] ( 8.333) c0 ipc src/ipc/ipc3/handler.c:1650 ERROR ipc: unknown command type 2952790016 EDIT: this is based on this kernel code, so it's not as "ugly" as I thought it was: int sof_ipc3_validate_fw_version(struct snd_sof_dev *sdev)
{
dev_info(sdev->dev,
"Firmware info: version %d:%d:%d-%s\n", v->major, v->minor,
v->micro, v->tag);
dev_info(sdev->dev,
"Firmware: ABI %d:%d:%d Kernel ABI %d:%d:%d\n",
....
if (ready->flags & SOF_IPC_INFO_BUILD) {
dev_info(sdev->dev,
"Firmware debug build %d on %s-%s - options:\n"
" GDB: %s\n" |
How about this:
In other words, a "flood" of just 1 just to probe the feature. If that works, then flood "for real" with either the 10,000 default or the command line argument. Otherwise SKIP. The risk is wrongly SKIPping because the entire flooding feature is broken (when it shouldn't be) and it fails even with 1. cc: @ujfalusi |
Add is_firmware_file_zephyr() and a new SKIP message to stop telling Zephyr users to build a "debug firmware" because it won't change anything for them: IPC4 has no flood command right now, see thesofproject#1066 Also clarify the XTOS skip message + other cosmetic improvements. Signed-off-by: Marc Herbert <[email protected]>
Here's a much smaller and simpler SKIP message fix, please review: |
Add is_ipc4() call and a new SKIP message to stop telling Zephyr users to build a "debug firmware" because it won't change anything for them: IPC4 has no flood command right now, see thesofproject#1066 Also clarify the XTOS skip message + other cosmetic improvements. Signed-off-by: Marc Herbert <[email protected]>
Just noticed check-ipc-flood.sh does not care about firmware logs... |
and in kernel:
so, the firmware have the IPC flood test disabled, because the firmware is not built with |
Add is_ipc4() call and a new SKIP message to stop telling Zephyr users to build a "debug firmware" because it won't change anything for them: IPC4 has no flood command right now, see #1066 Also clarify the XTOS skip message + other cosmetic improvements. Signed-off-by: Marc Herbert <[email protected]>
Thanks for the additional information @ujfalusi. Better error message just merged with a reference to this issue. Closing as wontfix for now. |
Example in https://sof-ci.01.org/softestpr/PR1057/build454/devicetest/index.html (or in Intel daily test run 28116)
cc:
The text was updated successfully, but these errors were encountered: