-
Notifications
You must be signed in to change notification settings - Fork 349
Revert "trace: Kconfig: disable filtering by default" #4785
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
Revert "trace: Kconfig: disable filtering by default" #4785
Conversation
This reverts commit 9fadef7. After multiple trials on a CometLake SoundWire device, this revert to bring the trace back to what it was seems to be the only solution, the suggested PR thesofproject/linux#3166 does not help on this SoundWire device. We had similar issues with SD offset timeouts and a similar revert with thesofproject#4578 at the end of July, there's something that we are missing on what the trace does and how it impacts the DMA handling. BugLink: thesofproject#4779 Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
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.
The DMA trace code is complex and brittle. In the future let's please review and test every change very thoroughly to stop wasting considerable amounts of each other's time. Major test and development disruptions aside, polluting the git history with experiments is also not helping; among others it makes simple bisects impossible.
I broke it in commit 57ee04f , causing regression #4558. Reverted in #4578
Then #4636 caused regressions #4676 and #4699. Reverted in #4760.
Now this important, double default configuration change which was hidden in an unrelated PR: #4548 (comment)
|
The failure signature in https://sof-ci.01.org/sof-pr-viewer/#/build/PR4785/build7329111 seems new, it didn't show in other recent PRs: All Note there have been a few other DMA related changes recently, non exhaustive list: 9fadef7 trace: Kconfig: disable filtering by default (this) |
we're nowhere near a 1.9 release with such issues... |
Note 1.9 has been branched before all the commits I listed above. |
I re-submitted this in duplicate TEST PR #4787 just to re-run the tests. In https://sof-ci.01.org/sof-pr-viewer/#/build/PR4787/build7333298 all tests passed on WHL_HDA. Go figure. I checked that the main branch did not move between this 4785 and my 4787 duplicate. In both cases tests ran on "Merge de2b7d1 into 4de6627 " EDIT: For some reason 4785 was re-run in https://sof-ci.01.org/sof-pr-viewer/#/build/PR4785/build7333470 and it's all green. |
lgirdwood
left a comment
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.
ok, this is simple way to validate the issue. We can re-enable when the successor to thesofproject/linux#3166 is merged.
This reverts commit 9fadef7.
After multiple trials on a CometLake SoundWire device, this revert to
bring the trace back to what it was seems to be the only solution, the
suggested PR thesofproject/linux#3166 does not
help on this SoundWire device.
We had similar issues with SD offset timeouts and a similar revert
with #4578 at the end of
July, there's something that we are missing on what the trace does and
how it impacts the DMA handling.
BugLink: #4779
Signed-off-by: Pierre-Louis Bossart pierre-louis.bossart@linux.intel.com