]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: avs: Prepare for firmware tracing
authorCezary Rojewski <cezary.rojewski@intel.com>
Mon, 16 May 2022 10:11:08 +0000 (12:11 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 17 May 2022 10:57:59 +0000 (11:57 +0100)
commitfb17a28d9b42a02211055f48acecda8badb0bbb4
treeedbdee1469d013bb85a16b3340e0c373b53175ac
parente91ec209485825bdb4a675b1b71c1eaa92f4fd8e
ASoC: Intel: avs: Prepare for firmware tracing

Firmware provides its own debug functionality. While coredump is one of
these, traces are the main area of interest. kfifo is enlisted to cache
log data that is being pumped to driver through SRAM. Separate DSP
operations are declared as actual feature implementation differs between
firmware generations.

As log gathering involves usage of IPCs, add all necessary: ENABLE_LOGS
and SYSTEM_TIME.

Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Link: https://lore.kernel.org/r/20220516101116.190192-8-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/avs/avs.h
sound/soc/intel/avs/ipc.c
sound/soc/intel/avs/messages.c
sound/soc/intel/avs/messages.h
sound/soc/intel/avs/registers.h
sound/soc/intel/avs/utils.c