From patchwork Mon Jul 27 18:36:11 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ranjani Sridharan X-Patchwork-Id: 11687391 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0ADAD14B7 for ; Mon, 27 Jul 2020 18:37:33 +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 29FF820729 for ; Mon, 27 Jul 2020 18:37:31 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=alsa-project.org header.i=@alsa-project.org header.b="S3C+XFrn" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 29FF820729 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 33BF61696; Mon, 27 Jul 2020 20:36:42 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 33BF61696 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1595875050; bh=SRpPGS8ocAz2pFyo7NkeLt4EZJjNb5xisyaW0cy0hYU=; h=From:To:Subject:Date:Cc:List-Id:List-Unsubscribe:List-Archive: List-Post:List-Help:List-Subscribe:From; b=S3C+XFrn+MDbG9KU9Dh3fYf0A8flWiJojoccneumsJKd0n2EPzdvme8zcacjUXFFx TIm3snDNPhFOTIPfz7RPPDDfbwZcnr0WPIYgqYJbIm2mS9NWpZJ9bI3Wk6CVbRm4L/ EVLiajLm4FTkli9mYTozTt9dFtvwW+s1H0e9Rfrw= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id C46FEF80158; Mon, 27 Jul 2020 20:36:41 +0200 (CEST) X-Original-To: alsa-devel@alsa-project.org Delivered-To: alsa-devel@alsa-project.org Received: by alsa1.perex.cz (Postfix, from userid 50401) id 61B65F801EB; Mon, 27 Jul 2020 20:36:40 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on alsa1.perex.cz X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=SPF_HELO_NONE,SPF_NONE autolearn=disabled version=3.4.0 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (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 B8C95F800AD for ; Mon, 27 Jul 2020 20:36:35 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz B8C95F800AD IronPort-SDR: hpe0K/emhhjgEIHFUj4wyW5uMBioMjUh5raT89CcNLnEh+ee1gD2duBQa/VLTCluMzu+Bqu9qP KQH51aRuXU1g== X-IronPort-AV: E=McAfee;i="6000,8403,9695"; a="148562187" X-IronPort-AV: E=Sophos;i="5.75,403,1589266800"; d="scan'208";a="148562187" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jul 2020 11:36:33 -0700 IronPort-SDR: 86jOxJmiWjBpONAmC9Tz0+3ucyRn6TOUt4MEi/MeZPjJqlt8SzaAWYP6RK3yPFkgga43hbucSn H1RJ9Ox6/Q7A== X-IronPort-AV: E=Sophos;i="5.75,403,1589266800"; d="scan'208";a="490062994" Received: from rkbasco-mobl1.amr.corp.intel.com (HELO ranjani-desktop.localdomain) ([10.251.147.18]) by fmsmga005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jul 2020 11:36:33 -0700 From: Ranjani Sridharan To: alsa-devel@alsa-project.org Subject: [PATCH 0/2] SOF Fixes for S0iX suspend/resume sequence Date: Mon, 27 Jul 2020 11:36:11 -0700 Message-Id: <20200727183613.1419005-1-ranjani.sridharan@linux.intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Cc: tiwai@suse.de, broonie@kernel.org, Ranjani Sridharan 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: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" This set of patches is required for facilitating system S0ix entry when the DSP is in D0I3. This first patch adds the missing CORB/RIRB DMA stop and restart to the suspend/resume sequence along with powering up/down the links. The second patch ensures that the FW traces are disabled when the system enters S0ix with the DSP in D0I3. Marcin Rajwa (2): ASoC: SOF: Intel: fix the suspend procedure to support s0ix entry ASoC: SOF: Intel: disable traces when switching to S0Ix D0I3 sound/soc/sof/intel/hda-dsp.c | 48 ++++++++++++++++++++++++++++++++--- 1 file changed, 44 insertions(+), 4 deletions(-)