[alsa-devel] [PATCH v3 00/11] ASoC: SOF: Data probing

Pierre-Louis Bossart pierre-louis.bossart at linux.intel.com
Tue Jan 28 18:55:06 CET 2020



On 1/28/20 4:43 AM, Cezary Rojewski wrote:
> This set of patches achieves few goals in order to enable data probing
> feature for audio DSP.

I am fine with this update, but I just thought of an obscure case and 
couldn't find the answer on my own.

These probe points are enabled/disabled with direct IPC calls. Once 
those routines have been called, I don't see any context maintained by 
the driver (other than the stream tag for the extractor).

So here's my question: what happens if there is a pm_runtime or system 
suspend after playing with debugfs to configure those probes? Would all 
context be lost and the user needs to re-enable all probes?

Also what happens if there is a system suspend while an extractor is 
opened, would it be restored? I imagine a pm_runtime suspend is not 
possible since the device is active then.

I'd be fine if this was handled in a follow-up series, just want to see 
if my question is relevant and if yes what it takes to support suspend.

Thanks
-Pierre


More information about the Alsa-devel mailing list