linux/sound/soc/sof
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 ASoC: SOF: imx: Add debug support for imx platforms 2020-09-17 15:53:15 +01:00
intel ASoC: SOF: Intel: hda-loader: s/master/primary 2020-09-11 15:29:32 +01:00
xtensa ASoC: SOF/Intel: clarify SPDX license with GPL-2.0-only 2020-05-01 17:45:24 +01:00
compress.c ASoC: SOF/Intel: clarify SPDX license with GPL-2.0-only 2020-05-01 17:45:24 +01:00
compress.h ASoC: SOF/Intel: clarify SPDX license with GPL-2.0-only 2020-05-01 17:45:24 +01:00
control.c ASoC: SOF: Implement snd_sof_bytes_ext_volatile_get kcontrol IO 2020-09-08 13:55:00 +01:00
core.c ASoC: SOF: core: fix null-ptr-deref bug during device removal 2020-07-08 15:02:02 +01:00
debug.c ASoC: SOF/Intel: clarify SPDX license with GPL-2.0-only 2020-05-01 17:45:24 +01:00
ipc.c ASoC: SOF: IPC: reduce verbosity of IPC pointer updates 2020-08-25 20:39:37 +01:00
Kconfig ASoC: Intel: use consistent HDAudio spelling in comments/docs 2020-08-25 20:39:39 +01:00
loader.c ASoC: SOF: loader: Add debug box region 2020-08-26 12:44:09 +01:00
Makefile ASoC: SOF/Intel: clarify SPDX license with GPL-2.0-only 2020-05-01 17:45:24 +01:00
nocodec.c ASoC: SOF: nocodec: add missing .owner field 2020-06-26 13:35:11 +01:00
ops.c ASoC: SOF/Intel: clarify SPDX license with GPL-2.0-only 2020-05-01 17:45:24 +01:00
ops.h ASoC: SOF/Intel: clarify SPDX license with GPL-2.0-only 2020-05-01 17:45:24 +01:00
pcm.c ASoC: Intel: use consistent HDAudio spelling in comments/docs 2020-08-25 20:39:39 +01:00
pm.c ASoC: SOF: support topology components on secondary cores 2020-09-04 10:12:22 +01:00
probe.c ASoC: SOF/Intel: clarify SPDX license with GPL-2.0-only 2020-05-01 17:45:24 +01:00
probe.h ASoC: SOF: Replace zero-length array with flexible-array 2020-06-15 23:08:32 -05:00
sof-acpi-dev.c ASoC: SOF: acpi: add dev_dbg() log for probe completion 2020-08-25 20:39:38 +01:00
sof-audio.c ASoC: SOF: append extended data to sof_ipc_comp_dai 2020-09-07 15:16:39 +01:00
sof-audio.h ASoC: SOF: Implement snd_sof_bytes_ext_volatile_get kcontrol IO 2020-09-08 13:55:00 +01:00
sof-of-dev.c ASoC: SOF/Intel: clarify SPDX license with GPL-2.0-only 2020-05-01 17:45:24 +01:00
sof-pci-dev.c ASoC: SOF: Intel: Use DMI oem string search for tgl_max98373_rt5682 2020-09-11 15:52:19 +01:00
sof-priv.h ASoC: SOF: add a "core" parameter to widget loading functions 2020-09-04 10:12:21 +01:00
topology.c ASoC: SOF: Implement snd_sof_bytes_ext_volatile_get kcontrol IO 2020-09-08 13:55:00 +01:00
trace.c ASoC: SOF/Intel: clarify SPDX license with GPL-2.0-only 2020-05-01 17:45:24 +01:00
utils.c ASoC: SOF/Intel: clarify SPDX license with GPL-2.0-only 2020-05-01 17:45:24 +01:00