aboutsummaryrefslogtreecommitdiff
path: root/include/sound/sof
diff options
context:
space:
mode:
authorGravatar Iulian Olaru <iulianolaru249@yahoo.com> 2020-09-17 13:56:26 +0300
committerGravatar Mark Brown <broonie@kernel.org> 2020-09-17 15:53:15 +0100
commit18ebffe4d043bf5f3a9b669d8d91f855bde8f6b7 (patch)
treef3a997d4ad181819419c20f3e894efdb1619394c /include/sound/sof
parentMerge series "ASoC: SOF: DSP core management fixes for 5.10" from Kai Vehmane... (diff)
downloadlinux-18ebffe4d043bf5f3a9b669d8d91f855bde8f6b7.tar.gz
linux-18ebffe4d043bf5f3a9b669d8d91f855bde8f6b7.tar.bz2
linux-18ebffe4d043bf5f3a9b669d8d91f855bde8f6b7.zip
ASoC: SOF: imx: Add debug support for imx platforms
This patch adds debug support for imx platforms. This is important in order to gather information about the state of the DSP in case of an oops and the reason for the oops. This is done by checking if a message with a panic code has been placed in the debug box, in the imx8_dsp_handle_request function from sof/imx. If positive, the function imx8_dump, added in common, will be called. The first step is to gather information about the registers, filename, line number and stack by calling the imx8_get_registers, added in common. Then the information will be printed to the console by calling the get_status function. Signed-off-by: Iulian Olaru <iulianolaru249@yahoo.com> Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com> Reviewed-by: Daniel Baluta <daniel.baluta@gmail.com> Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> Link: https://lore.kernel.org/r/20200917105633.2579047-2-kai.vehmanen@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/sof')
0 files changed, 0 insertions, 0 deletions