[alsa-devel] [PATCH v3 07/14] ASoC: SOF: Add DSP firmware logger support

Takashi Iwai tiwai at suse.de
Wed Dec 12 12:11:48 CET 2018


On Tue, 11 Dec 2018 22:23:11 +0100,
Pierre-Louis Bossart wrote:
> 
> From: Liam Girdwood <liam.r.girdwood at linux.intel.com>
> 
> This patch adds support for real-time DSP logging (timestamped events
> and bespoke binary data) for firmware debug. The current solution
> relies on DMA transfers to system memory that is then accessed by
> userspace tools such as sof-logger. For Intel platforms, two types of
> DMAs are currently used (GP-DMA for Baytrail/CherryTrail and HDaudio
> DMA for SKL+)
> 
> Due to historical reasons, the driver code follows the DSP firmware
> conventions and refers to 'traces', but it is currently unrelated to
> the Linux trace subsystem. Future solutions will include support for
> more advanced hardware (e.g. MIPI Sys-T), additional formats and the
> ability to enable/disable specific traces dynamically.

So what's the reason not to use Linux standard tracing infrastructure?


thanks,

Takashi


More information about the Alsa-devel mailing list