]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: SOF: Re-visit firmware state and panic tracking/handling
authorMark Brown <broonie@kernel.org>
Thu, 23 Dec 2021 17:15:58 +0000 (17:15 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 23 Dec 2021 17:15:58 +0000 (17:15 +0000)
commit833a8472c8c25fa7d9a7cb5d0a7c5bbec6ba5481
treede25d7bbec98b602ba4f127c6582285ec79b5598
parent23b0966a139062e6f18954722edbedf37ce0c225
parent65a6c5a5e151aaab1a37c5e1e3d053a6598cf76f
ASoC: SOF: Re-visit firmware state and panic tracking/handling

Merge series from Peter Ujfalusi <peter.ujfalusi@linux.intel.com>:

this series will improve how we are tracking the firmware's state to be able to
avoid communication with it when it is not going to answer due to a panic and
we will attempt to force power cycle the DSP to recover at the next runtime
suspend time.

The state handling brings in other improvements on the way the kernel reports
errors and DSP panics to reduce the printed lines for normal users, but at the
same time allowing developers (or for bug reports) to have more precise
information available to track down the issue.

We can now place messages easily in the correct debug level and not bound to the
static ERROR for some of the print chains, causing excess amount or partial
information to be printed, confusing users and machines (CI).

I would have prefered to split this series up, but it was developed together to
achieve a single goal to reduce the noise, but also provide the details we need
to be able to rootcause issues.