Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp784517imm; Mon, 9 Jul 2018 10:33:12 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdDi9bPjLwJ4+jyOEVGH4RnNUEKZewuANPPqi+c5KJ+wPY1LlZ1Oofs45hr5MrRt8u9oGPo X-Received: by 2002:a65:6143:: with SMTP id o3-v6mr20131120pgv.52.1531157592281; Mon, 09 Jul 2018 10:33:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531157592; cv=none; d=google.com; s=arc-20160816; b=bpEmxR2U0srVUb1wOoW5V8kbd5qC4130yv35OD230BLkthMQqCsNiK56wISvY+oUIC GUTuCrPdLErqt5vB5JeveGx1xQ6+0RjANIeN7CDKG8ZH/gfTbeO+c0Baq7n1FaZl/TpS ANMWF9vKwdRjkVCpKNrHBCLvXWLVd7ulkKvfnqHOkFVzja+qUoUMaq53sM1NXoRETw+i o629IlEzuuz/cqwO6hYRwZ1ZqOJNY2CWxSJZodw8tkjyMdz9kZPftSf8+IOprhSvohAt tpk74nR8vijEbN5z797Dj2f4U4V9rykpvW11tsSWkDKDJwSi2GDOGePVT98LhcmOomZQ etQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=zjfc4uJ4Lr0GbrNO1IlSmpFTT79FQtSnuthvPmL/DQA=; b=Rexy2YavIbTz7teK6xopop7qmq7Eq0L/KnsleXR/7nwwl6Z4k7H8Qj/5mxGvWvjyXO vts9tUqol+pEWlH+FIj79rKc+5PXZn15NBMslrQzIKxLnQz3eIX2cmqiXQ2H3+gmAIhN GmOFhQN0acgLOTh1AMMkXlUFtC7M5WnoTP+n/9ij90yufiNxxPMOgHhjI3omwkMLE0MS dkjJB0Lp4U+sxIHe0xiKAGlPPN/o9zNQmiRa3DUY/mREzHBPeD9cege3ElXSk+qRrwAd jzMvryPVbWTsJr/TnBgCtITw20DL6wYFeXZEgSk6x1DlWV7m6uhzpubPjC914b8fO/h6 awrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=uXnw6pkh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id 123-v6si4818380pfd.201.2018.07.09.10.32.56; Mon, 09 Jul 2018 10:33:12 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=uXnw6pkh; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S933952AbeGIRaR (ORCPT + 99 others); Mon, 9 Jul 2018 13:30:17 -0400 Received: from mail.kernel.org ([198.145.29.99]:34564 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933479AbeGIR3p (ORCPT ); Mon, 9 Jul 2018 13:29:45 -0400 Received: from localhost (unknown [106.201.46.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 834C6208A5; Mon, 9 Jul 2018 17:29:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1531157385; bh=L6mTdTsEG7kxPYs6X+Y3M0wFuI94a2Yu5AfLGQ1RwwA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=uXnw6pkhRe1NKzqZ7wE56NffkQqwwoqTxevF0Y+VjJNCaX6PmWb0w09e+jzLa/dei 9ih8sVrVsqwXGrU27cMbi5oLF0EW7ilJD3oUD1EJCgG0YWQ4GWuZCzlZM/b1nW+i0m 7MNjHmrucI7LUMAcOcZBhWJTncBU5cgoBk65OMvo= Date: Mon, 9 Jul 2018 22:59:37 +0530 From: Vinod To: Marek Szyprowski Cc: dmaengine@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Dan Williams , Lars-Peter Clausen , Mark Brown , Bartlomiej Zolnierkiewicz Subject: Re: [PATCH] dma: add support for reporting pause and resume separately Message-ID: <20180709172937.GP22377@vkoul-mobl> References: <20180702130819eucas1p2e11d8fabec93ba78d9e84f4ca6e5fd65~9jzNWZMqQ1216712167eucas1p27@eucas1p2.samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180702130819eucas1p2e11d8fabec93ba78d9e84f4ca6e5fd65~9jzNWZMqQ1216712167eucas1p27@eucas1p2.samsung.com> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02-07-18, 15:08, Marek Szyprowski wrote: > 'cmd_pause' DMA channel capability means that respective DMA engine > supports both pausing and resuming given DMA channel. However, in some > cases it is important to know if DMA channel can be paused without the > need to resume it. This is a typical requirement for proper residue > reading on transfer timeout in UART drivers. There are also some DMA > engines with limited hardware, which doesn't really support resuming. > > Reporting pause and resume capabilities separately allows UART drivers to > properly check for the really required capabilities and operate in DMA > mode also in systems with limited DMA hardware. On the other hand drivers, > which rely on full channel suspend/resume support, should now check for > both 'pause' and 'resume' features. > > Existing clients of dma_get_slave_caps() have been checked and the only > driver which rely on proper channel resuming is soc-generic-dmaengine-pcm > driver, which has been updated to check the newly added capability. > Existing 'cmd_pause' now only indicates that DMA engine support pausing > given DMA channel. Applied after fixing the subsystem name, thanks -- ~Vinod