Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp550884pxb; Wed, 3 Feb 2021 11:25:18 -0800 (PST) X-Google-Smtp-Source: ABdhPJxOM9hMN2Mis/NxUb/gyplVJbNUocu9EG8FguowtAwVQK9bKWW0KsIX36f8Oz4itMwPTKQa X-Received: by 2002:a17:906:8612:: with SMTP id o18mr2452215ejx.435.1612380318115; Wed, 03 Feb 2021 11:25:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612380318; cv=none; d=google.com; s=arc-20160816; b=JLAR5zDtro3azFla0sHeqVu4UnlxEzuYP7I650AKK6hFa5AUShIROucnjZ4pl+IDck ePIw39lkbC+G3MKxuzwLTYTbE9pJEHTxPA5jt9lHhRrGLH6EnkG/0nLBLCOxhA3IMYSs Fo/RrIjLey+xu3CjJVW2A8QNUjMS8LO4Nmjb2TN+VVlw+SxAwkV5T5meB9bM78SPoJWD qNwQM7RODtWPWK6UCZhddPtto7UJei+15Tv4qDTTEIdvYnx/IpaXVB0eI0bF8dXXBlLL HfxfBngZFjmfS2Hjrx96NZ6CbayquxEuFqS+WqPQyf6skIvv7Euyj7BZv6FYPFOstYZE 8jQA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:ironport-sdr:ironport-sdr; bh=cmjA2RaisbKBM7vujLPlwQZG65GDKVDJB60eP4EfYP8=; b=uFMPL7hCI/X4GbBUAVnbx4PSkDiqflREgXOQZxl0+9yxGMpRIxr46gk8B5IFTNdztu ce54+wELDhVhSw4wjnKBG+rB2kMGTF+TkI4FUcf0Bujl5g3Qvdy4nuaYPcRNiaBx27Qr gSwF0gJdqqNPGVlYsTzLFfNT6PCH2Xhmal9HsDivxV6lSOkyZqvrKpUOZxEyeYZDZvRO hubYPRhLYOJUOQEjXYB2YNoqrAoF/BR7qYYQvUBgDH3hSJfyftxL8FTp3IDE/LHGK2Yy ScoLrr2nYzJjuEx90Kq4/7JOZskB3nq7U4+ROIN2usGjLDuEVwyi8rn+WE3LTxhYZrF7 MAQw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p5si1885335edq.266.2021.02.03.11.24.52; Wed, 03 Feb 2021 11:25:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232677AbhBCTWX (ORCPT + 99 others); Wed, 3 Feb 2021 14:22:23 -0500 Received: from mga18.intel.com ([134.134.136.126]:30054 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232537AbhBCTWW (ORCPT ); Wed, 3 Feb 2021 14:22:22 -0500 IronPort-SDR: HmPgQe5LkTSlsiWXG/UCFs26TBVdY6p1Rg1qls4MrqLnuWyXAjKEorFIA6K/o0NBwWkjhq0ULP QIpFjRaT8k9A== X-IronPort-AV: E=McAfee;i="6000,8403,9884"; a="168783439" X-IronPort-AV: E=Sophos;i="5.79,399,1602572400"; d="scan'208";a="168783439" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Feb 2021 11:21:41 -0800 IronPort-SDR: c7BbC7er/Y3isxxf17IArJ9L2B97uO3qhVTNANLHGWtu2nREckNiAKEIddxIZJzDj+PjzHskhL BM2DjRCQD2lw== X-IronPort-AV: E=Sophos;i="5.79,399,1602572400"; d="scan'208";a="433580143" Received: from crojewsk-mobl1.ger.corp.intel.com (HELO [10.213.2.151]) ([10.213.2.151]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Feb 2021 11:21:37 -0800 Subject: Re: [PATCH] Revert "dmaengine: dw: Enable runtime PM" To: Andy Shevchenko Cc: dmaengine , Linux Kernel Mailing List , Dan Williams , Andy Shevchenko , viresh kumar , Vinod Koul References: <20210203155100.15034-1-cezary.rojewski@intel.com> From: Cezary Rojewski Message-ID: Date: Wed, 3 Feb 2021 20:21:33 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021-02-03 6:06 PM, Andy Shevchenko wrote: > On Wed, Feb 3, 2021 at 5:53 PM Cezary Rojewski > wrote: >> >> This reverts commit 842067940a3e3fc008a60fee388e000219b32632. >> For some solutions e.g. sound/soc/intel/catpt, DW DMA is part of a >> compound device (in that very example, domains: ADSP, SSP0, SSP1, DMA0 >> and DMA1 are part of a single entity) rather than being a standalone >> one. Driver for said device may enlist DMA to transfer data during >> suspend or resume sequences. >> >> Manipulating RPM explicitly in dw's DMA request and release channel >> functions causes suspend() to also invoke resume() for the exact same >> device. Similar situation occurs for resume() sequence. Effectively >> renders device dysfunctional after first suspend() attempt. Revert the >> change to address the problem. > > I kinda had the mixed feelings about this, thanks for the report. > Acked-by: Andy Shevchenko > > Fixes tag? Noted, sent v2 with updated tag area. Thanks, Czarek