-
Notifications
You must be signed in to change notification settings - Fork 59
lib: start polling for fw boot complete only when sof card is not pre… #1057
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
lib: start polling for fw boot complete only when sof card is not pre… #1057
Conversation
|
without --since=@"$KERNEL_CHECKPOINT" is the biggest the problem from fceeee0 |
|
Summary of an off-line review with @fredoh9 :
|
|
There is no TOCTOU race condition problem, because setup_kernel_check_point() has -3 or -1 second |
That's a bit of hack :-) It's never going to happen but in computer science theory you could have things like:
Current code is good enough in practice but please add a comment, something like "TOCTOU race avoided thanks to -1 second inside |
…sent SOF soundcard is already listed it is ready to start the test. If not, set the KERNEL_CHECKPOINT and start polling for FW boot complete. This is a bug fix for fceeee0. Signed-off-by: Fred Oh <fred.oh@linux.intel.com>
0dfe51e to
0ce4dd2
Compare
|
Note, NO_POLL_FW_LOADING variable is already available to skip this polling |
|
Looks good for device test results also. Merging now |
|
Here's an interesting side-effect. thesofproject/sof#7698 broke the MTL build. Tests were started anyway without firmware (tracked in internal issue 139). Each test took 70s to timeout in https://sof-ci.01.org/sofpr/PR7698/build9948/devicetest The whole PR test plan uselessly hogged 3 MTL devices for more than 200 minutes. |
…sent
SOF soundcard is already listed it is ready to start the test. If not, set the KERNEL_CHECKPOINT and start polling for FW boot complete. This is a bug fix for fceeee0.