From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Subject: [v6,1/7] dmaengine: xilinx_dma: commonize DMA copy size calculation From: Vinod Koul Message-Id: <20190104145924.GG13372@vkoul-mobl.Dlink> Date: Fri, 4 Jan 2019 20:29:24 +0530 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@vger.kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, radhey.shyam.pandey@xilinx.com List-ID: T24gMjAtMTEtMTgsIDE2OjMxLCBBbmRyZWEgTWVyZWxsbyB3cm90ZToKPiBUaGlzIHBhdGNoIHJl bW92ZXMgYSBiaXQgb2YgZHVwbGljYXRlZCBjb2RlIGJ5IGludHJvZHVjaW5nIGEgbmV3Cj4gZnVu Y3Rpb24gdGhhdCBpbXBsZW1lbnRzIGNhbGN1bGF0aW9ucyBmb3IgRE1BIGNvcHkgc2l6ZSwgYW5k Cj4gcHJlcGFyZXMgZm9yIGNoYW5nZXMgdG8gdGhlIGNvcHkgc2l6ZSBjYWxjdWxhdGlvbiB0aGF0 IHdpbGwKPiBoYXBwZW4gaW4gZm9sbG93aW5nIHBhdGNoZXMuCgpBcHBsaWVkIGFsbCwgdGhhbmtz Cg== From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_PASS,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 07D92C43387 for ; Fri, 4 Jan 2019 15:01:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CC08921871 for ; Fri, 4 Jan 2019 15:01:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1546614064; bh=/zwwNu++gfkmKjPWwxQJjZZPc5F2wQfM4f/iVJ3vzEk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=2iO8cPMVBryEi6D2g1tCafYnhxAK4O0sJ1h2jGHuc/sOEPRNaIpnsYPQJZGoa3TiP U2j8OW02HfqNM1Olvv4A/b5DZ2PzP9xf7nPYn3b4pda+yx4ZiBiTkGu9/tFiLfqXIU oGmTcb5GVQ40nGz+wev8EQLA6kkX0mU5I8uzaCxM= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726798AbfADPBD (ORCPT ); Fri, 4 Jan 2019 10:01:03 -0500 Received: from mail.kernel.org ([198.145.29.99]:33226 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726117AbfADPBD (ORCPT ); Fri, 4 Jan 2019 10:01:03 -0500 Received: from localhost (unknown [171.76.109.220]) (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 D853A2087F; Fri, 4 Jan 2019 15:01:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1546614062; bh=/zwwNu++gfkmKjPWwxQJjZZPc5F2wQfM4f/iVJ3vzEk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gyKFB4dj0IIAk7hKnjzC5TziXU43j8Q0TLIqSlYzJaDRGW76YaanJ20jDX6dwn1Jr XWyFXTSAznXRI/EYpYsZrp5E8t8QE+9zM1HD14QdvFFHnK3cyAVs+xpr8gSbopl8CY SMGpPiCRoNvTwQLhQDTp8PSzgz69Dzcmd14sjbBU= Date: Fri, 4 Jan 2019 20:29:24 +0530 From: Vinod Koul 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@vger.kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, radhey.shyam.pandey@xilinx.com Subject: Re: [PATCH v6 1/7] dmaengine: xilinx_dma: commonize DMA copy size calculation Message-ID: <20190104145924.GG13372@vkoul-mobl.Dlink> References: <20181120153151.18024-1-andrea.merello@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181120153151.18024-1-andrea.merello@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 20-11-18, 16:31, Andrea Merello wrote: > This patch removes a bit of duplicated code by introducing a new > function that implements calculations for DMA copy size, and > prepares for changes to the copy size calculation that will > happen in following patches. Applied all, thanks -- ~Vinod From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.9 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SPF_PASS,URIBL_BLOCKED,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 30B89C43387 for ; Fri, 4 Jan 2019 15:01:20 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F20462087F for ; Fri, 4 Jan 2019 15:01:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="kNDZHx67"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="gyKFB4dj" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F20462087F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=+VWZvV1TN86fiC3ij3tiqhXl8zzZRGqjQ5xTalg05CM=; b=kNDZHx67GnMFnL 4myok6awikGJG6qZnRhNJ9JjhfVR82YbmxPWFYIK82Jala36yrG74Vr/mxHE9s78IUF9B9isgiptx tjysuB9BdItBCwQx3VE0l+4F3QWc/klk/OzbLFyh4ljBOE1dgeIyUuIHxigEkSH4uUihMqhDrAP9V 6Vm8VizG1UpqheM0CoCl6bw28VlEnsQy4F00liMAS1T724N5ehjAnLKTgN9F6GnSU0kJ41+7L++w6 IDzBE0jroWmBvOyzkPBwfOW9kOw6OFcj8ULSiRxfCdZZwtIW35p0sRnVe+njSwQtFYMSYfyvo0z+e MSlpkxESk0CzuYE+E3Jw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gfQyA-00004y-OP; Fri, 04 Jan 2019 15:01:06 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gfQy7-0008W2-1Y for linux-arm-kernel@lists.infradead.org; Fri, 04 Jan 2019 15:01:04 +0000 Received: from localhost (unknown [171.76.109.220]) (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 D853A2087F; Fri, 4 Jan 2019 15:01:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1546614062; bh=/zwwNu++gfkmKjPWwxQJjZZPc5F2wQfM4f/iVJ3vzEk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=gyKFB4dj0IIAk7hKnjzC5TziXU43j8Q0TLIqSlYzJaDRGW76YaanJ20jDX6dwn1Jr XWyFXTSAznXRI/EYpYsZrp5E8t8QE+9zM1HD14QdvFFHnK3cyAVs+xpr8gSbopl8CY SMGpPiCRoNvTwQLhQDTp8PSzgz69Dzcmd14sjbBU= Date: Fri, 4 Jan 2019 20:29:24 +0530 From: Vinod Koul To: Andrea Merello Subject: Re: [PATCH v6 1/7] dmaengine: xilinx_dma: commonize DMA copy size calculation Message-ID: <20190104145924.GG13372@vkoul-mobl.Dlink> References: <20181120153151.18024-1-andrea.merello@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20181120153151.18024-1-andrea.merello@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190104_070103_106063_0F2DF071 X-CRM114-Status: UNSURE ( 8.50 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, radhey.shyam.pandey@xilinx.com, linux-kernel@vger.kernel.org, michal.simek@xilinx.com, robh+dt@kernel.org, appana.durga.rao@xilinx.com, dmaengine@vger.kernel.org, dan.j.williams@intel.com, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 20-11-18, 16:31, Andrea Merello wrote: > This patch removes a bit of duplicated code by introducing a new > function that implements calculations for DMA copy size, and > prepares for changes to the copy size calculation that will > happen in following patches. Applied all, thanks -- ~Vinod _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel