Uh oh!
There was an error while loading. Please reload this page.
ASoC: SOF: Intel: hda: reduce verbosity of boot error logs - #2382
Conversation
plbossart
commented
Aug 24, 2020
Uh oh!
There was an error while loading. Please reload this page.
kv2019i
left a comment
There was a problem hiding this comment.
@plbossart@ranj063 It feels we are sinking deeper with more and more code to handle the ICL boot case. I did spend some time looking at better options, but came back empty handed, so with the off-by-one fixed, seems good to go.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
plbossart
commented
Aug 25, 2020
ranj063
commented
Aug 25, 2020
@plbossart did you forget to push? I dont see the updated code |
d6e3f15 to
1048f3aCompare
lyakh
left a comment
There was a problem hiding this comment.
the proposed change is optional
Uh oh!
There was an error while loading. Please reload this page.
1048f3a to
cbc4cccCompare
ranj063
left a comment
There was a problem hiding this comment.
LGTM @plbossart. I like the new macro. I think it will be useful in the future as well
Previous commits reduced the verbosity of errors during boot iterations, but there are still a couple remaining which generate false positives. Errors should only be logged when after last attempt to download firmware failed. Duplicating logs and assigning them different levels based on the iteration number isn't really elegant, use macro as suggested by Guennadi. Suggested-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
cbc4ccc to
f3a490dCompareranj063
commented
Aug 26, 2020
@plbossart are the checkpatch warnings about spaces before tabs legitimate? |
plbossart
commented
Aug 26, 2020
sorry @ranj063 looks like I dismissed your review by pushing a tab/space fix. |
plbossart
commented
Aug 26, 2020
i'll merge this tonight so that we can have a clean set of CI results - well until we find new issues. |
lyakh
left a comment
There was a problem hiding this comment.
that superfluous empty line is, well, not a deal-breaker I guess
| dev_err(sdev->dev, "error: extended rom status:%s", msg); | ||
| sof_dev_dbg_or_err(sdev->dev, hda->boot_iteration == HDA_FW_BOOT_ATTEMPTS, | ||
| "extended rom status: %s", msg); | ||
With thesofproject/linux#2382 no error logs will generate in boot time. Udpate the err list and ignore list with this update. Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
Sorry for late but with this change we even not throwing any warning message when boot failed on those first iterations? |
Previous commits reduced the verbosity of errors during boot
iterations, but there are still a couple remaining.
Signed-off-by: Pierre-Louis Bossart pierre-louis.bossart@linux.intel.com