Repository navigation
check-suspend-resume: sleep 1s before rtcwake iteration - #651
Merged
Merged
Conversation
After some kernel update, we start to observe a timeout issue on several JF devices. As we are not going to fix the kernel, this workaround is applied. Accroding to the solution in this patch, the device may get into sleep before netcat can send out messages, this maybe related to network issue in the kernel, or network route is too long between JF and SH, etc. In this patch, we add a 1-second sleep to wait a stable connection before running rtcwake. Workaround: thesofproject#650 Signed-off-by: Chao Song <chao.song@linux.intel.com>
Contributor
|
Nice workaround, I tested it on several JF devices and it works. |
keqiaozhang
approved these changes
Apr 19, 2021
fredoh9
approved these changes
Apr 19, 2021
fredoh9
left a comment
Contributor
There was a problem hiding this comment.
Good a finding and workaround. Let's merge this and see
Collaborator
|
Thanks for clearly flagging this as a workaround and adding the URL. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
After some kernel update, we start to observe a timeout
issue on several JF devices. As we are not going to fix
the kernel, this workaround is applied.
Accroding to the solution in this patch, the device may
get into sleep before netcat can send out messages, this
maybe related to network issue in the kernel, or network
route is too long between JF and SH, etc. In this patch,
we add a 1-second sleep to wait a stable connection before
running rtcwake.
Workaround: #650
Signed-off-by: Chao Song chao.song@linux.intel.com