Repository navigation
Description
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
[ 392.350033] <inf> pipe: pipeline_new: pipeline new pipe_id 1 priority 0
[ 392.350726] <inf> ipc: ipc_cmd: rx : 0x40000003|0x201000a
[ 392.351050] <inf> ipc: ipc_cmd: rx : 0x40010006|0x2010010
[ 392.351481] <inf> ipc: ipc_cmd: rx : 0x44010006|0x30000018
[ 392.352003] <inf> ipc: ipc_cmd: rx : 0x40010004|0x2010056
[ 392.352075] <inf> dai_intel_ssp: dai_ssp_pm_runtime_en_ssp_power: SSP2
[ 392.352098] <inf> dma: dma_get: dma_get() ID 0 sref = 1 busy channels 0
[ 392.352105] <inf> ipc: dai_config: comp:1 0x10004 dai_config() dai type = 1 index = 2 dd 0x4010fec0
[ 392.352115] <inf> dai_intel_ssp: dai_ssp_parse_aux_data: link clock_source 1
[ 392.352118] <err> dai_intel_ssp: dai_ssp_set_reg_config: SSP2 configuration:
[ 392.352126] <inf> dai_intel_ssp: dai_ssp_set_reg_config: Ignoring SSCR1:TSRE SSCR1:RSRE from blob
[ 392.352131] <inf> dai_intel_ssp: dai_ssp_set_reg_config: sscr0 = 0xc1d0077f, sscr1 = 0xd0400004, ssto = 0x00000000, sspsp = 0x2200000
[ 392.352136] <inf> dai_intel_ssp: dai_ssp_set_reg_config: sscr2 = 0x00004002, sspsp2 = 0x00000000, sscr3 = 0x07070000
[ 392.352140] <inf> dai_intel_ssp: dai_ssp_set_reg_config: ssioc = 0x00000020, ssrsa = 0x00000003, sstsa = 0x00000003
[ 392.352605] <inf> ipc: ipc_cmd: rx : 0x45000004|0x6
[ 392.352641] <inf> ipc: buffer_new: buffer new size 0x80 id 0.0 flags 0x0
[ 392.352653] <inf> pipe: pipeline_connect: comp:0 0x4 connect buffer 0 as sink
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
Activity
marc-hb commentedon Apr 9, 2024
This is probably old. We never noticed because we've never caught firmware errors yet:
plbossart commentedon Apr 9, 2024
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?
marc-hb commentedon Apr 9, 2024
It's not LNL-specfic. I just re-ran thesofproject/sof-test#1075 and I spotted it on
MTLP_RVP_NOCODEC. I'll post the link to the full report there once the test run is complete.[-][LNL] dai_ssp_set_reg_config: SSPx configuration: Ignoring SSCR1:TSRE SSCR1:RSRE from blob[/-][+][LNL,MTL] dai_ssp_set_reg_config: SSPx configuration: Ignoring SSCR1:TSRE SSCR1:RSRE from blob[/+]marc-hb commentedon Apr 9, 2024
Armed with that new knowledge, I just found a complete, public, MTL test run that has the same error:
https://sof-ci.01.org/sofpr/PR8956/build3506/devicetest/index.html?model=MTLP_RVP_NOCODEC&testcase=check-playback-10sec
marc-hb commentedon Apr 10, 2024
Just seen on TGL too:
https://sof-ci.01.org/softestpr/PR1172/build276/devicetest/index.html?model=TGLU_RVP_NOCODEC-ipc4&testcase=check-playback-10sec
marc-hb commentedon Apr 10, 2024
Based on thesofproject/sof-test#1075 (comment) results this seems to be a NOCODEC thing.
NOCODEC reproduction rate: 100%
"codec" reproduction rate: 0%
[-][LNL,MTL] dai_ssp_set_reg_config: SSPx configuration: Ignoring SSCR1:TSRE SSCR1:RSRE from blob[/-][+]dai_ssp_set_reg_config: SSPx configuration: Ignoring SSCR1:TSRE SSCR1:RSRE from blob[/+]3 remaining items
marc-hb commentedon Apr 10, 2024
So, just downgrade to the message to WARN level?
plbossart commentedon Apr 10, 2024
Warn is even too high IMHO, it's a known behavior. Nothing different to expect. dev_dbg() is probably fine.
marc-hb commentedon Apr 11, 2024
The LOG_ERR was actually added by zephyrproject-rtos/zephyr@6423bc3bc885 and the level looks clearly unintentional there. I'm submitting a fix.
drivers: dai: intel: ssp: fix LOG_ERR level / false positive
ujfalusi commentedon Apr 11, 2024
The
dai_intel_ssp: dai_ssp_set_reg_config: SSP2 configuration:is in wrong level, it should be info, sending a fix right away.ujfalusi commentedon Apr 11, 2024
@marc-hb, I see you already done that, thanks!
drivers: dai: intel: ssp: fix LOG_ERR level / false positive
drivers: dai: intel: ssp: fix LOG_ERR level / false positive
lgirdwood commentedon Apr 16, 2024
@marc-hb can we close ?
marc-hb commentedon Apr 16, 2024
I don't think we've updated Zephyr that far yet.
EDIT: indeed not yet, manifest still at Zephyr commit 2ccf775396c2 right now.
marc-hb commentedon Apr 23, 2024
Zephyr updated, we have the fix now. INF level in https://sof-ci.01.org/softestpr/PR1075/build327/devicetest/index.html
drivers: dai: intel: ssp: fix LOG_ERR level / false positive