Skip to content

run_qemu.sh: replace "sleep 1+2" with polling in mount_rootfs() #177

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

Merged
merged 2 commits into from
Apr 22, 2025

Conversation

marc-hb
Copy link
Collaborator

@marc-hb marc-hb commented Apr 21, 2025

2 commits, see their messages

marc-hb added 2 commits April 21, 2025 23:38
This polling function is a killer of "sleep semi_random_delay"

This is a modified version of
thesofproject/sof-test@ec94d80ac9f9 where it's
been successfully tested for 3+ years.

Signed-off-by: Marc Herbert <[email protected]>
Faster and more reliable.

Needed for unhardcoding /dev/sda2 pmem#174 without making `run_qemu.sh -r
none` much slower.

Signed-off-by: Marc Herbert <[email protected]>
@marc-hb marc-hb marked this pull request as ready for review April 21, 2025 23:49
@marc-hb marc-hb requested a review from stellarhopper as a code owner April 21, 2025 23:49
@marc-hb marc-hb merged commit 9594995 into pmem:main Apr 22, 2025
2 checks passed
@marc-hb marc-hb deleted the poll-for-part branch April 22, 2025 15:52
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.

2 participants