linux/sound/soc/sof/imx
Iulian Olaru 18ebffe4d0
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>
2020-09-17 15:53:15 +01:00
..
imx-common.c ASoC: SOF: imx: Add debug support for imx platforms 2020-09-17 15:53:15 +01:00
imx-common.h ASoC: SOF: imx: Add debug support for imx platforms 2020-09-17 15:53:15 +01:00
imx8.c ASoC: SOF: imx: Add debug support for imx platforms 2020-09-17 15:53:15 +01:00
imx8m.c ASoC: SOF: imx: Add debug support for imx platforms 2020-09-17 15:53:15 +01:00
Kconfig ASoC: SOF: imx: Add debug support for imx platforms 2020-09-17 15:53:15 +01:00
Makefile ASoC: SOF: imx: Add debug support for imx platforms 2020-09-17 15:53:15 +01:00