From: Takashi Iwai Subject: Re: [PATCH v3 07/14] ASoC: SOF: Add DSP firmware logger support Date: Wed, 12 Dec 2018 12:11:48 +0100 Message-ID: References: <20181211212318.28644-1-pierre-louis.bossart@linux.intel.com> <20181211212318.28644-8-pierre-louis.bossart@linux.intel.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20181211212318.28644-8-pierre-louis.bossart@linux.intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: Pierre-Louis Bossart Cc: alsa-devel@alsa-project.org, andriy.shevchenko@intel.com, Pan Xiuli , Daniel Baluta , liam.r.girdwood@linux.intel.com, vkoul@kernel.org, broonie@kernel.org, Alan Cox , sound-open-firmware@alsa-project.org List-Id: alsa-devel@alsa-project.org On Tue, 11 Dec 2018 22:23:11 +0100, Pierre-Louis Bossart wrote: > > From: Liam Girdwood > > 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