Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3950004pxb; Mon, 8 Feb 2021 04:25:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJzMwCgP6GcfptDAQUmdVOWUGLq74ieM+Qy7xwoWPY94jw4ASx6UOi7UmLMwEsZ8SUc8jmqM X-Received: by 2002:a17:906:145b:: with SMTP id q27mr16988878ejc.432.1612787147912; Mon, 08 Feb 2021 04:25:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612787147; cv=none; d=google.com; s=arc-20160816; b=bsgx5RQ6CwtZkj3iPLvF1No3/zk28bCaPSRPd6yTH+IMRzYGyBLZ9kDu3ca90pRcMX e9L35ALOuLptt7fT67+PJrdjfpG3QtEq/UVydjRBOBC7A3nZgiiD0L52wgwFyZ0IZnr2 UkA0uCwwEY5ur7Re8WhNzT/ts06gvEQgbc2Uw6VY0/lN6WarnhgB2T7FxXJlO1hsTswT lQqwRV7zYJ9ywDKZfMGigr7A9BjAsTiSZC/eMuEWIA7HIGY9BHYYE+Jy9/wNDmSTw9Jz ypPfx9yCb1IWVNRQ56oaBBUSsE639pieoYoPAVtFcPMsae5No9cc2hRxFDTOJ7HNGENK oj3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=S1kQlXgR/M9hVAbPTIVKFDiVj+nMsCi/xrzsV4c9RjA=; b=cq+Ukr/wK5YfZshHNYXGy8nVC5IldGvOmA/zG64khRhwFJSVxNrKg7ml9SYHrpzSwO iWp3px22NJ3BqW6fPSxeJJ6A9yYaKtEdkYrz5zftXVmu8ROeM/zp23ziig3c01rs/ilj pOBPva3Jyj5vCp3T+5AoD5DnF4+lKJEzw+2MaErukkI6+MfR6PVbCtRTIeagWcyTfUEl 0Ovigr1J/vLHdY4zLNkEi9QffexjCngq0VUz3Pke2NNpXiVW76zrv6vpEfz00mQxh21a IEoXlSey095uqI3ZEv8lpwBUrrDUFT8DDiRsL+XZrywYSwI24NV/QrqvkPH1PJv76V6K XzaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Iha0jX3A; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hr22si11022932ejc.388.2021.02.08.04.25.23; Mon, 08 Feb 2021 04:25:47 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Iha0jX3A; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232881AbhBHMYO (ORCPT + 99 others); Mon, 8 Feb 2021 07:24:14 -0500 Received: from mail.kernel.org ([198.145.29.99]:42924 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233601AbhBHMHW (ORCPT ); Mon, 8 Feb 2021 07:07:22 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id C062B64EA4; Mon, 8 Feb 2021 12:06:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1612785973; bh=iM4sD59nAL3TH/ES7dW5ahl8yFxFRvaZxZ+noqQ3iZk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Iha0jX3AZ6wrsIsaRZEC7ahlTFVpcOmLjcdiNRN9HCqgg6+5MGLC4ExRijPrQhuru 9iNJ1BVSBfwV/hJy8cCOIKKYNeIEKIY+lmiONkjA5+iVVwoTYPEougQkvttmRY6lw5 mheav3daAo9TxY+KkmEZdx+aTwTOuFWuVlScE2xrgd+3g98Bnxw6w94FHh/jof6S8s AHL4x5ls7VmJdm7FUlrVxcCT4CrtPK611N3C4BAlFUNtzjnxOrAHIcBgrsGdbePgTA QQ8In6LewujoNpLLZlsPQ4nkv43X8JwCxGMbAFnoPhw2w/3kC55WWdtIiqm6h6kQqm sY5CLBiPyX7UQ== Date: Mon, 8 Feb 2021 17:36:09 +0530 From: Vinod Koul To: Cezary Rojewski Cc: dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, dan.j.williams@intel.com, andriy.shevchenko@linux.intel.com, vireshk@kernel.org Subject: Re: [PATCH v2] Revert "dmaengine: dw: Enable runtime PM" Message-ID: <20210208120609.GC879029@vkoul-mobl.Dlink> References: <20210203191924.15706-1-cezary.rojewski@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210203191924.15706-1-cezary.rojewski@intel.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03-02-21, 20:19, 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. Reverts also need proper tagging, so pls ensure that is done. I have added the subsystem and driver tags and applied -- ~Vinod