Uh oh!
There was an error while loading. Please reload this page.
ASoC: SOF: intel: lower print level to dbg if we will reinit DSP - #1676
Conversation
bardliao
commented
Jan 9, 2020
@Bin-QA I didn't touch the error message in hda_init_caps() and hda_dsp_dump() since the error message there could be a real error. |
dbaluta
commented
Jan 9, 2020
@bardliao I think we can lower the level to dev_dbg. What do you think? |
paulstelian97
commented
Jan 9, 2020
I'd argue dev_warn is correct unless it's typical to do such reloads, and dropping it below dev_info isn't that good of an option unless it happens very often. |
We will reinit DSP when it is fail to init. So, it is not an error before we finally give up. And reorder the trace to make it more readable. Signed-off-by: Bard liao <yung-chuan.liao@linux.intel.com>
plbossart
commented
Jan 9, 2020
I'd also move to dev_dbg. There are known cases where we need extra time, and we should only report those retries for debug cases, the average users should not know or care. |
Bin-QA
commented
Jan 10, 2020
I can understand this change, but from error message, So your patch just fix line 3 & line 4 output in |
bardliao
commented
Jan 10, 2020
Update the PR with dev_dbg |
bardliao
commented
Jan 10, 2020
@Bin-QA I agree that the patch won't fix the CI issue. My point is that the trace will let us know there is something wrong on cl_dsp_init(). Although we will retry it, but we do fail to cl_dsp_init(). It seems to be overkilled if we remove the error message from cl_dsp_init(). |
@bardliao So you suggest CI catch this type error to report the warning/add this into ignore list |
lyakh
commented
Jan 10, 2020
For my understanding: do we know what causes such soft initialisation failures, that can be eliminated by re-trying? |
bardliao
commented
Jan 10, 2020
Yeah, I can see initialization failure in system suspend/resume and success at the second try. |
bardliao
commented
Jan 10, 2020
In my opinion, It would be better if CI can know if the error could be fixed by retry rather than ignore it without any condition. |
After patch: thesofproject/linux#1676 merged add "error: status" and "error: cl_dsp_init" into ignore string to avoid catch DPS reset which can be ignored Signed-off-by: Wu, BinX <binx.wu@intel.com>
After patch: thesofproject/linux#1676 merged add "error: status" and "error: cl_dsp_init" into ignore string to avoid catch DPS reset which can be ignored Signed-off-by: Wu, BinX <binx.wu@intel.com>
marc-hb
commented
Sep 22, 2020
Please review thesofproject/sof-test#395 which ignores this error message - again after @plbossart removed the filter. |
We will reinit DSP when it is fail to init. So, it is not an error before
we finally give up. And reorder the trace to make it more readable.
Signed-off-by: Bard liao yung-chuan.liao@linux.intel.com