Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1421383imm; Tue, 2 Oct 2018 07:59:27 -0700 (PDT) X-Google-Smtp-Source: ACcGV627qjeTuuSpmPiGsNZ4PFYKuYVTZk9kzgyF0QxZIvYUt+TYBA3+PjoQalVtk7nfHbQNiSb2 X-Received: by 2002:a17:902:f01:: with SMTP id 1-v6mr17297033ply.8.1538492367124; Tue, 02 Oct 2018 07:59:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538492367; cv=none; d=google.com; s=arc-20160816; b=e1ljw/AWLI8jHsJjfYEXChkMRkH8GivsoqhBbr1DIT3UdTELX43M7BaN7dieJAF+DY zTsqLZ34ceGTrH86QXKg+Z9pIgLJjxN3n6hH7Haeyc2P2A//q9Hwu2ROsFNP2UTSkEYS 8J0hmiw3PnUrHmTXb25XOaWcEK52RdkVIy4hnYLqFQoDyVFCtTLEJe7zyIWTriuZXpRS y9+4wrAd0eB/7zA4VWSoPr04irbv1HdoT1OY0ZH3Op6TosV4iiKSe+LtLWEHPWiZFA/j pZ9cCrXEC4QYwGr2lTQSJlsVR17EWMB6TNrhB/nhdhAZ/FwcJ78dbShmcwfJtDExIx+s wNMA== 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; bh=guTNON1w4o8Z33szpvhnJOOAUnX0L0zlNSTEljeWd7s=; b=ubfT1P6wMAknWi2AcBvKOnxQ/5QCEGHOBwMoId3qANwMN9TcmdB2OqtluHP7PiHOjG lIIZ3wDCQ7V275j71NyVe4iVMKfpreVOYP0vbNlcvYOOfm4gmwq++aJG1gFgLGxjd0rX u+zWW2rm5RBpgk/BCc9NzKNLKPjq0PRyU/DBqJvKt/pf3d1YDbdqKxVZL61lQauHlNam Tc7eRgum4lUx4jULpCR7uuRoV7XHCPN0qeQMK9b0kzAccpA0EYtB6fCgGbSQlVlqNkkx pL2P8ObR9q39j3fzy69oErlPWtSk8mO6Z6x92nksIsWhMa/CWeUrViIeSWu+Oammn56N L7vA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="dXZsG/im"; 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 i64-v6si16577290pfc.16.2018.10.02.07.59.12; Tue, 02 Oct 2018 07:59:27 -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="dXZsG/im"; 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 S1728784AbeJBVmN (ORCPT + 99 others); Tue, 2 Oct 2018 17:42:13 -0400 Received: from mail.kernel.org ([198.145.29.99]:56460 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726178AbeJBVmM (ORCPT ); Tue, 2 Oct 2018 17:42:12 -0400 Received: from localhost (unknown [171.76.113.63]) (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 8896420666; Tue, 2 Oct 2018 14:58:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1538492304; bh=eRcL97bhXOkWjQ6OyVA7gzgNan6huZP041wu6qH2sWY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dXZsG/im7ZwKhpPQdZJ5ytSthuGPFJiZvYU7QqGmiAdhhw5B5ujeXHWPp7E4xBpla PKUC6f4+FGRu68cNjaNdegOl0yjzLqJvyr5GIlw2iHNH+m9WOjb8khCD0ipWe5Ybjh sxg1/yX9GYOgxAXktM6Hqu8vLgfv+smwI3eD5hnQ= Date: Tue, 2 Oct 2018 20:28:20 +0530 From: Vinod To: Andrea Merello Cc: dan.j.williams@intel.com, michal.simek@xilinx.com, appana.durga.rao@xilinx.com, dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel , Rob Herring , Mark Rutland , devicetree , Radhey Shyam Pandey Subject: Re: [PATCH v5 2/7] dmaengine: xilinx_dma: in axidma slave_sg and dma_cyclic mode align split descriptors Message-ID: <20181002145820.GH19792@vkoul-mobl> References: <20180907062502.8241-1-andrea.merello@gmail.com> <20180907062502.8241-2-andrea.merello@gmail.com> <20180918162105.GC2613@vkoul-mobl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 28-09-18, 09:11, Andrea Merello wrote: > On Tue, Sep 18, 2018 at 6:21 PM Vinod wrote: > > > @@ -1804,7 +1817,7 @@ static struct dma_async_tx_descriptor *xilinx_dma_prep_slave_sg( > > > * Calculate the maximum number of bytes to transfer, > > > * making sure it is less than the hw limit > > > */ > > > - copy = xilinx_dma_calc_copysize(sg_dma_len(sg), > > > + copy = xilinx_dma_calc_copysize(chan, sg_dma_len(sg), > > > > why not keep chan in patch 1 and add only handling in patch 2, seems > > less churn to me.. > > Indeed this was something I was unsure about.. I ended up in feeling > better not to add introduce a function that takes an unused (yet) > argument, but I can change this of course :) IMO It is fine to add a user in subsequent patch in a series. Not fine to add something and not use in "that" series :) -- ~Vinod