ASoC: SOF: ipc4/Intel: Support for firmware exception
authorMark Brown <broonie@kernel.org>
Tue, 19 Sep 2023 17:22:11 +0000 (18:22 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 19 Sep 2023 17:22:11 +0000 (18:22 +0100)
Merge series from Peter Ujfalusi <peter.ujfalusi@linux.intel.com>:

When a firmware crashes it creats a panic information into a telemetry
slot.  The panic format is defined by Zephyr, includes stack and
additional information to help to identify the reason for the crash.
Part of the firmware exception handling the firmware also sends an
EXCEPTION_CAUGHT notification.

This series implements the kernel side handling of the exception: print
information into the kernel log export the whole telemetry slot to user
space for tools extract additional information from the panic dump.

1  2 
sound/soc/sof/Makefile
sound/soc/sof/intel/hda.c
sound/soc/sof/intel/tgl.c

index 58f8d468d967f49f9d7982fad3e8e41a788ff25c,42dc48e539649f8307c218c9e3c51029495d5bfb..ef6fd43d0b72d19d461d31930d2063e3aed007da
@@@ -8,9 -8,9 +8,9 @@@ ifneq ($(CONFIG_SND_SOC_SOF_IPC3),
  snd-sof-objs +=       ipc3.o ipc3-loader.o ipc3-topology.o ipc3-control.o ipc3-pcm.o\
                ipc3-dtrace.o
  endif
 -ifneq ($(CONFIG_SND_SOC_SOF_INTEL_IPC4),)
 +ifneq ($(CONFIG_SND_SOC_SOF_IPC4),)
  snd-sof-objs += ipc4.o ipc4-loader.o ipc4-topology.o ipc4-control.o ipc4-pcm.o\
-               ipc4-mtrace.o
+               ipc4-mtrace.o ipc4-telemetry.o
  endif
  
  # SOF client support
Simple merge
Simple merge