Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5B0FAC2D0DB for ; Tue, 28 Jan 2020 18:39:45 +0000 (UTC) Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E08462173E for ; Tue, 28 Jan 2020 18:39:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="nXkyHIGl" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E08462173E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=alsa-devel-bounces@alsa-project.org Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 2C5641658; Tue, 28 Jan 2020 19:38:53 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 2C5641658 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1580236783; bh=wo9qXXEhZs1MId4laHl4ul/uT0TTmCFQowSU/F4g+08=; h=To:References:From:Date:In-Reply-To:Cc:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=nXkyHIGlhthRNe7CDQLdFBs9ID5nbNQjqKHK6ALHOkwyaZj1RsbqvfifZDYmXkJeV rvHMxAP80mPbEcdSWsyKp9oMeCvcxMhvWoGPtcosBM2n93+R3VA2590S+ON6p7NrZx PAMC41F5W4KMxGNQ6LHBx/XILojUN8BUtz0SBov0= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id 893C8F8014B; Tue, 28 Jan 2020 19:38:52 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 1E5BCF80150; Tue, 28 Jan 2020 19:38:50 +0100 (CET) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id B93E1F80082 for ; Tue, 28 Jan 2020 19:38:41 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz B93E1F80082 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 Jan 2020 10:01:14 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,374,1574150400"; d="scan'208";a="232042988" Received: from cauduong-mobl1.amr.corp.intel.com (HELO [10.254.184.245]) ([10.254.184.245]) by orsmga006.jf.intel.com with ESMTP; 28 Jan 2020 10:01:13 -0800 To: Cezary Rojewski , alsa-devel@alsa-project.org References: <20200128104356.16570-1-cezary.rojewski@intel.com> From: Pierre-Louis Bossart Message-ID: <7817f679-fb6f-ad36-aeee-5ee62034a735@linux.intel.com> Date: Tue, 28 Jan 2020 11:55:06 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <20200128104356.16570-1-cezary.rojewski@intel.com> Content-Language: en-US Cc: broonie@kernel.org, tiwai@suse.com, lgirdwood@gmail.com Subject: Re: [alsa-devel] [PATCH v3 00/11] ASoC: SOF: Data probing X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" 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 _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org https://mailman.alsa-project.org/mailman/listinfo/alsa-devel