-
Notifications
You must be signed in to change notification settings - Fork 322
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
boards: Intel cAVS: disable DTRACE #7955
boards: Intel cAVS: disable DTRACE #7955
Conversation
3b554e4
to
c453ab2
Compare
SOFCI TEST |
It is failing all over in |
DTRACE is IPC3 only, it is not used anymore. Signed-off-by: Peter Ujfalusi <[email protected]>
DTRACE is IPC3 only, it is not used anymore. Signed-off-by: Peter Ujfalusi <[email protected]>
c453ab2
to
3829e40
Compare
it keeps failing with check-logger, let's see if reverting the TGL config change makes it working (iow, revert to sof:main state). |
So, on sof: main:
applying the PR (only the first patch is relevant for TGL):
The Disabling the TRACE somehow reduces the zephyr mentions in the ldc file to 1 (also any command line parameter does the same). diff --git a/case-lib/lib.sh b/case-lib/lib.sh
index 6318a53ef476..d7b6a3a9f8d2 100644
--- a/case-lib/lib.sh
+++ b/case-lib/lib.sh
@@ -702,7 +702,7 @@ is_zephyr()
local znum
znum=$(strings "$ldcFile" | grep -c -i zephyr)
# As of Nov. 2021, znum ~= 30 for Zephyr and 0 for XTOS
- test "$znum" -gt 10
+ test "$znum" -gt 0
}
# FIXME: the kernel driver should give us the FW path @marc-hb, any hint, idea what is going on? |
If I download the |
Hi @ujfalusi , sorry I don't have time to look at this today, hopefully this week. What I can tell you is: sof-test in general (not just check-sof-logger) makes a lot of guesses and this is not good, see thesofproject/linux#3867 for more bad news. The difference between check-sof-logger and the rest of sof-test is: the other tests tend not to care about totally missing logs and pass anyway! But their brittle detection logic should be the same, they should share the same, relevant sof-test code. |
Please add a comment telling where CONFIG_TRACE comes from. That name is unfortunately the most vague and generic whereas we have way too many logging solutions still in the main branch (which supports not just Intel) |
The firmware log collection works on other tests, only check-sof-logger is failing and I think I might have an idea why...
|
Thanks @ujfalusi , great catch. I just checked the git log and the .ldc-based Warning: the newer function depends on the firmware having been loaded at least once. So there maybe corner cases where the older function is still required. But the more the newer function can be used the better. |
3829e40
to
4e0121f
Compare
sof-test should handle now the logger checking, move out from Draft. |
Known pause-resume fail on one DUT in https://sof-ci.01.org/sofpr/PR7955/build10953/devicetest/index.html, one PM fail (on one DUT) in the same report. Matches baseline, so proceeding with merge. |
TGL and TGL-H can only be build with IPC4 support and DTRACE is only supported by IPC3.