From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vinod Koul Subject: Re: [PATCH v2 1/3] dmaengine: add DMA_PREP_CMD for non-Data descriptors. Date: Wed, 2 Aug 2017 10:23:33 +0530 Message-ID: <20170802045333.GT3053@localhost> References: <1498481369-29497-1-git-send-email-absahu@codeaurora.org> <1498481369-29497-2-git-send-email-absahu@codeaurora.org> <20170719100753.GF3053@localhost> <2060be251cdc87fba73a891425caa7a3@codeaurora.org> <4a4a5956cff8c5f49f4f44dfbfd0589e@codeaurora.org> <20170731123405.GK3053@localhost> <790ee7c8-a011-431f-e878-636c1e8832fb@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mga06.intel.com ([134.134.136.31]:37711 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750742AbdHBEue (ORCPT ); Wed, 2 Aug 2017 00:50:34 -0400 Content-Disposition: inline In-Reply-To: <790ee7c8-a011-431f-e878-636c1e8832fb@intel.com> Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: Dave Jiang Cc: Abhishek Sahu , "andy.gross@linaro.org" , "david.brown@linaro.org" , "Williams, Dan J" , "linux-arm-msm@vger.kernel.org" , "linux-soc@vger.kernel.org" , "dmaengine@vger.kernel.org" , "linux-kernel@vger.kernel.org" On Mon, Jul 31, 2017 at 09:35:53AM -0700, Dave Jiang wrote: > On 07/31/2017 05:34 AM, Vinod Koul wrote: > > > > Are you asking for using DMA_PREP_CMD, for that I think should be ok > > > > If you asking about adding a new flag with DMA_PREP_CMD, then it would no > > Vinod, I wonder if we should introduce a DMA_PREP_CUSTOM flag and then > reserve X number of upper flag bits to vendor specified that only they > care about. That way they can define whatever they want in the upper > bits if they need it. Nah, that just leads to abuse :( So lets keep adding the flags generically as and when we need them.. -- ~Vinod