-
Notifications
You must be signed in to change notification settings - Fork 318
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
dai_ssp_set_reg_config: SSPx configuration: Ignoring SSCR1:TSRE SSCR1:RSRE from blob #9026
Comments
This is probably old. We never noticed because we've never caught firmware errors yet: |
are you sure it's LNL-specific? I think it's a feature of the SSP firmware driver, the blob ignores the bits that enable transmission. One could also argue it's possibly the blob that sets those bits in the config - and that's probably a mistake? |
It's not LNL-specfic. I just re-ran thesofproject/sof-test#1075 and I spotted it on
|
Armed with that new knowledge, I just found a complete, public, MTL test run that has the same error: |
Just seen on TGL too:
|
Based on thesofproject/sof-test#1075 (comment) results this seems to be a NOCODEC thing. NOCODEC reproduction rate: 100% |
Raising the priority of this because this seems to be last thing stopping us for catching (all) other firmware errors - and bugs. |
well d'uh, that's were we test the SSP. HDaudio and SDW devices don't rely on the SSP. If we had an IPC4 chromebook you in CI you would also see the message. It's not an error really, it's a feature but that's really not important to log. |
So, just downgrade to the message to WARN level? |
Warn is even too high IMHO, it's a known behavior. Nothing different to expect. dev_dbg() is probably fine. |
The LOG_ERR was actually added by zephyrproject-rtos/zephyr@6423bc3bc885 and the level looks clearly unintentional there. I'm submitting a fix. |
There's no way this log level was intentional: this line is just the title / prefix of a multi-line section with mostly LOG_INF statements. Fixes commit 6423bc3 ("drivers: dai: intel: ssp: Improve logging output") which was very large hence error-prone. Fixes SOF bug thesofproject/sof#9026 Signed-off-by: Marc Herbert <marc.herbert@intel.com>
The |
@marc-hb, I see you already done that, thanks! |
There's no way this log level was intentional: this line is just the title / prefix of a multi-line section with mostly LOG_INF statements. Fixes commit 6423bc3 ("drivers: dai: intel: ssp: Improve logging output") which was very large hence error-prone. Fixes SOF bug thesofproject/sof#9026 Signed-off-by: Marc Herbert <marc.herbert@intel.com>
There's no way this log level was intentional: this line is just the title / prefix of a multi-line section with mostly LOG_INF statements. Fixes commit 6423bc3 ("drivers: dai: intel: ssp: Improve logging output") which was very large hence error-prone. Fixes SOF bug thesofproject/sof#9026 (cherry picked from commit 1708122) Original-Signed-off-by: Marc Herbert <marc.herbert@intel.com> GitOrigin-RevId: 1708122 Change-Id: I8ca3d1b918a16d63e076ee14d784e64ac7c8bf99 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/5449723 Reviewed-by: Jeremy Bettis <jbettis@chromium.org> Commit-Queue: Keith Short <keithshort@chromium.org> Tested-by: Keith Short <keithshort@chromium.org> Reviewed-by: Keith Short <keithshort@chromium.org>
@marc-hb can we close ? |
I don't think we've updated Zephyr that far yet. EDIT: indeed not yet, manifest still at Zephyr commit 2ccf775396c2 right now. |
Zephyr updated, we have the fix now. INF level in https://sof-ci.01.org/softestpr/PR1075/build327/devicetest/index.html |
There's no way this log level was intentional: this line is just the title / prefix of a multi-line section with mostly LOG_INF statements. Fixes commit 6423bc3 ("drivers: dai: intel: ssp: Improve logging output") which was very large hence error-prone. Fixes SOF bug thesofproject/sof#9026 Signed-off-by: Marc Herbert <marc.herbert@intel.com>
Seems to be printed multiple times in most (passing!) tests on LNL, for instance daily run #/result/planresultdetail/39547?model=LNLM_RVP_NOCODEC&testcase=check-playback-100sec
Same message with SSP0, SSP1 and SSP2
If this is not an error then the message should be downgraded.
Linux Branch: topic/sof-dev
Linux Commit: 45fa8789fdea
KConfig Branch: master
KConfig Commit: d885ec26b1a9
SOF Branch: main
SOF Commit: 0542687ad921
Zephyr Commit: 1f55be8b42df
EDIT: not platform specific at all, see for instance MTL https://sof-ci.01.org/sofpr/PR8956/build3506/devicetest/index.html?model=MTLP_RVP_NOCODEC&testcase=check-playback-10sec
EDIT2: this seems to be specific to Zephyr + NOCODEC
cc: @dnikodem (from zephyrproject-rtos/zephyr#70660)
EDIT: error message was added by @ujfalusi in zephyrproject-rtos/zephyr#64604
The text was updated successfully, but these errors were encountered: