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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bkokoszx @mwasko fyi - as discussed on Tuesday.
@lyakh is masking and unmasking flow optimal, should we not be clearing the IRQ with
interrupt_clear()? We also need a comment here explaining why we are doing this.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lgirdwood of course it isn't optimal and yes,
interrupt_clear()would be the right function to call, but currently it only clears DSP "native" interrupts, and this is a level-2 interrupt. Let's test if this helps, if it does, we can try to extendinterrupt_clear()to also work on "level interrupts."There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lyakh I did the stress test on this PR. The bug #4538 still can be reproduced. On the meantime, I did the stress test on the PR #4874. The bug #4538 can be fixed and no other regression is found. So I will ask Dell team to test PR4874.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the test. @lyakh @lgirdwood I would suggest to make the #4874 as hotfix for 1.9 and keep main unchanged as root causing the #4538 could be very time consuming.