mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-23 23:46:09 +07:00
18ebffe4d0
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>
10 lines
311 B
Makefile
10 lines
311 B
Makefile
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause)
|
|
snd-sof-imx8-objs := imx8.o
|
|
snd-sof-imx8m-objs := imx8m.o
|
|
|
|
snd-sof-imx-common-objs := imx-common.o
|
|
|
|
obj-$(CONFIG_SND_SOC_SOF_IMX8) += snd-sof-imx8.o
|
|
obj-$(CONFIG_SND_SOC_SOF_IMX8M) += snd-sof-imx8m.o
|
|
obj-$(CONFIG_SND_SOC_SOF_IMX_COMMON) += imx-common.o
|