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)
commit4b86115cb91a3d34ce7da87b734572ce6063babc
treeedbdee1469d013bb85a16b3340e0c373b53175ac
parent2f1f570cd730c81807ae143a83766068dd82d577
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