aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sound/soc/intel/avs/registers.h
diff options
context:
space:
mode:
authorCezary Rojewski <cezary.rojewski@intel.com>2022-05-16 12:11:08 +0200
committerMark Brown <broonie@kernel.org>2022-05-17 11:57:59 +0100
commit4b86115cb91a3d34ce7da87b734572ce6063babc (patch)
treeedbdee1469d013bb85a16b3340e0c373b53175ac /sound/soc/intel/avs/registers.h
parentASoC: Intel: avs: Coredump and recovery flow (diff)
downloadwireguard-linux-4b86115cb91a3d34ce7da87b734572ce6063babc.tar.xz
wireguard-linux-4b86115cb91a3d34ce7da87b734572ce6063babc.zip
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>
Diffstat (limited to 'sound/soc/intel/avs/registers.h')
-rw-r--r--sound/soc/intel/avs/registers.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/intel/avs/registers.h b/sound/soc/intel/avs/registers.h
index 3fd02389ed2b..f951d3441cdf 100644
--- a/sound/soc/intel/avs/registers.h
+++ b/sound/soc/intel/avs/registers.h
@@ -58,6 +58,7 @@
#define AVS_UPLINK_WINDOW AVS_FW_REGS_WINDOW
/* HOST -> DSP communication window */
#define AVS_DOWNLINK_WINDOW 1
+#define AVS_DEBUG_WINDOW 2
/* registry I/O helpers */
#define avs_sram_offset(adev, window_idx) \