Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1977115ybh; Fri, 13 Mar 2020 10:41:49 -0700 (PDT) X-Google-Smtp-Source: ADFU+vv+DAkiplVGsqPjRi2vIWdZ+UEbouthPohtE/nfmhxSrGpcjt4dXKKZyevzeszx/Lpm+H5L X-Received: by 2002:a05:6830:134e:: with SMTP id r14mr7594984otq.132.1584121309443; Fri, 13 Mar 2020 10:41:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584121309; cv=none; d=google.com; s=arc-20160816; b=pYtThj55CsdAYw0+gJpvNLqZdD1pABMZQsEPIM5VM0W9jRT6m6ZzNhycLkCOTkI7yU QALI1X9i+bvzI4qnHbtbEMCGHkI9glIe0Mth74WUl0GXye9zj4wspD+eyv0fwan8jaXU 4yGUFFumRfXjCxtUzBjiKOYX+5xa44joYLET1Owd/HbFMjSXm7pMhjlk+cmf6Rvs0nh9 phb3OozA7B10CMUEly30Ws2BCSkYZiwvdtu/X2OGPRySY4sD+Ym1j190CafkmmhP3b6T rJ86d/h6tZ/E7F6zFQmYChdxBxsGeBVqtzphNjEKm8cv4fGFbhxMJsn2zyLFzuazf8Cm abdQ== 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:message-id:subject:cc:to:from:date :dkim-signature; bh=V/hHmQt+VUdb1JGRPpGQUOXpJ/wjmgaOwziXrnhM33w=; b=tJ6Tr4+QnOH3p9b1B96J3QO/yb5xDgzgCt0aEwwTyfQyH38XIGK3QCql/BRgGyWFGz /+HLrkZSr/VVHK5Yw5ldL0oD/2ev9CzEqWBIls9URT92LGONJ+dMVaMvVeeQ8U5EO1zc 08JRthoG8fN6wJyn3AttBxNBnGrohP0AHNGlK+saE4Gvf3AnJkcr1vvy2ZGvY5WKF18i ynOHlvDe987N7ffIRyZh1uw5rIOylK7MT8Von2q7qDgepehe7sC6vy6yvxVEBJ+j86YK 9BmZfLcBzM6Snlhb4JHeiBy0W8D4W1KeItVYK3aBRV3uXTh3ktQ79zn3a16KuFkEbtDl WsQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=E+CpSLv5; 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 a59si5275596otb.8.2020.03.13.10.41.36; Fri, 13 Mar 2020 10:41:49 -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=E+CpSLv5; 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 S1726980AbgCMRkZ (ORCPT + 99 others); Fri, 13 Mar 2020 13:40:25 -0400 Received: from mail.kernel.org ([198.145.29.99]:33720 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726591AbgCMRkZ (ORCPT ); Fri, 13 Mar 2020 13:40:25 -0400 Received: from localhost (mobile-166-175-186-165.mycingular.net [166.175.186.165]) (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 1DF81206CD; Fri, 13 Mar 2020 17:40:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1584121224; bh=6fvbImJM2+423L79v8Lios4o/jqMRhWF2FJx4TGFUJU=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=E+CpSLv5KGlK5qw3uBSlQcDgr4O2ZWbnnYBpgsC9K7w8gYIZEn5faBPj0peeP6k3i c9Al6ee1xfP0Q6/ebnXRdicc7NSmwWO3qixPV1esrv8HsURpYr4YSVg6glDd+yOgRx UOX5ILm5yVyIj7McmMJb5DiGb8stjoKlIekwaY8E= Date: Fri, 13 Mar 2020 12:40:22 -0500 From: Bjorn Helgaas To: Lorenzo Pieralisi Cc: Kishon Vijay Abraham I , Andrew Murray , Alan Mikhak , Tom Joseph , Greg Kroah-Hartman , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Hou Zhiqiang Subject: Re: [PATCH v2 0/5] PCI: functions/pci-epf-test: Add DMA data transfer Message-ID: <20200313174022.GA148658@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200313165613.GA26992@e121166-lin.cambridge.arm.com> User-Agent: Mutt/1.12.2 (2019-09-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 13, 2020 at 04:56:13PM +0000, Lorenzo Pieralisi wrote: > On Tue, Mar 03, 2020 at 04:07:47PM +0530, Kishon Vijay Abraham I wrote: > > Patch series uses dma engine APIs in pci-epf-test to transfer data using > > DMA. It also adds an option "-d" in pcitest for the user to indicate > > whether DMA has to be used for data transfer. This also prints > > throughput information for data transfer. > > > > Changes from v1: > > *) Fixed some of the function names from pci_epf_* to pci_epf_test_* > > since the DMA support is now been moved to pci-epf-test.c > > > > Kishon Vijay Abraham I (5): > > PCI: endpoint: functions/pci-epf-test: Add DMA support to transfer > > data > > PCI: endpoint: functions/pci-epf-test: Print throughput information > > misc: pci_endpoint_test: Use streaming DMA APIs for buffer allocation > > tools: PCI: Add 'd' command line option to support DMA > > misc: pci_endpoint_test: Add support to get DMA option from userspace > > > > drivers/misc/pci_endpoint_test.c | 165 ++++++++++-- > > drivers/pci/endpoint/functions/pci-epf-test.c | 253 +++++++++++++++++- > > include/uapi/linux/pcitest.h | 5 + > > tools/pci/pcitest.c | 20 +- > > 4 files changed, 412 insertions(+), 31 deletions(-) > > Hi Kishon, > > I had to drop this series - waiting for you to send an updated one > to fix the x86 build breakage - force pushed pci/endpoint out. I updated my "next" branch with this updated branch so we can at least test the other things on the lorenzo/pci/endpoint branch. The lorenzo/pci/mobiveil branch is also temporarily out completely for a build issue.