Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1904965ybh; Fri, 13 Mar 2020 09:24:34 -0700 (PDT) X-Google-Smtp-Source: ADFU+vv2F7dMJmNG23PbuyXslCnQbAByMnEBGv+qh+P4BI3woSa9dg3LgM15p0Oz7gz1+3VVzDwa X-Received: by 2002:a9d:3f4b:: with SMTP id m69mr10949183otc.146.1584116674222; Fri, 13 Mar 2020 09:24:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584116674; cv=none; d=google.com; s=arc-20160816; b=xjgvzwtidPA5lE3Ouzy9lTho+HFb9Ez3vtfKWBHxCnvPsPLIYfH6lD+KE8lF+SIx3X A3SCjkF1OGzx3mjOgmKFdY3l/GHbjdumI2YeYbufDYh9f6s/xkx94I/f2GgBG87Npe9x rHdt7D64j6Y/IdwORO5iLxru+KvMb+d+jmF41/8AqgoSOrWj9kOe2oZAca9ECjxffjIB Nh1CrXledtiN0IrYW+Xm0A6nKd2mBXdiGgcpmktl/bJvCYU2xA/au83DpBeMHdXkvHFx QsEFm2odI+gRtiPeI+tt0wzBpLWeEmpTI46IwIv2W0yQnfN5YK5ubFHxVlvkYE/U7tRt rjSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=70ePSJuTd9jPZleegGAqK11IpYl7EbJ3uYsoNnJCr5s=; b=jaFWmSDQW46PtEUxO5NGA9NzXYgxraM4bgOj+IIXXNbPBzP3D2Zh1b0hrW54mTV4iZ MG0B1o9Q26TEF9d8R9I+JRUHdor7iz4zq19XwTm5bcKlL4E5ZL44WnuxnTyVvUnFk2oA woMKMGAJAli2mGq6cQCo2RQrTuH+SgUFlDXfwgaaqFAU9qf/5U0CTUv+QeQi2pPgk2BF 2jQ3imzgApbqvSThi4FEmpoZE8z9K1p+NkNp4yx8Pz1mi4uGlW7hZt/XMinU7dVCocGM Ue2oFhnXfB6pZVLac83H/qALb+u5S8nLviVo78LBdxXftqLXL7tJve+MmkKzXRyQDXzl jpUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=ggPAxHO6; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y2si5061394oto.123.2020.03.13.09.24.21; Fri, 13 Mar 2020 09:24:34 -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=@sifive.com header.s=google header.b=ggPAxHO6; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726859AbgCMQXg (ORCPT + 99 others); Fri, 13 Mar 2020 12:23:36 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:44484 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726709AbgCMQXg (ORCPT ); Fri, 13 Mar 2020 12:23:36 -0400 Received: by mail-lj1-f196.google.com with SMTP id a10so11152821ljp.11 for ; Fri, 13 Mar 2020 09:23:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=70ePSJuTd9jPZleegGAqK11IpYl7EbJ3uYsoNnJCr5s=; b=ggPAxHO6cDFqEQBiTjZvbp5kAYtvzMhdNcsKVGWE77gE18rxiT7Mjw+Z6/IkBIISXY 71myi2dzqL6aVwiamHxxi1ooLdzpeXHRzXFVydlfvmalSqA40p3j4MGOi8527Ufba0Az AEAktk+xd9tc0Ip6xzSAETiQSjH6q2kaImCr9WPMtVcrNH1Kdm/jYqw4hppKsNSXUSgj pcrNcYPC36GT7Ce6otPC2Ztu0/H8Z/a4HfNwHLKm5avjtj7ibMyVOVzYWl6AI/aoA/2k tSNR5Y9Eshsrc5zxhsofcVJ6Wkib/72RuhcDaLU2JvYjlbu714rWwoJCZ/Ef6TMDTmud h5QA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=70ePSJuTd9jPZleegGAqK11IpYl7EbJ3uYsoNnJCr5s=; b=DxpUOm3MN1OR+ZfpfFyAHZ8izlMqqXO2osF8rkHVggvcdxI6iUEjYeYJ0sn0APNFzk +aLFPFOTv+by1AXwSbQ0V62ASQaLj1p7/swedCQ9iC7njfZNLZFAyr3jAwW0iecgrVAs R5wLyHiW2aslvF3+mlmbXT0MqOJGqGKDOiZqhrHDItqQ3qxL9KSN5yvQ2cE4/s7mRIUp 4SVUCLUZ63wZsfiEAKtYEOWh1XEOKsYgYWLjYs4DmD6rVvuECwL6B68YvJOdFGZjd/X5 FRla+gLRH7Yv01qPom+vF0IQ7nYLiuEVAquRY8qtYWlpHlSzrMThTdEA3xoEqMZZZnP1 FPaQ== X-Gm-Message-State: ANhLgQ11I6kMP5p3MyiE9zNCQakmeEChWPsMFtRPOpOHbDMF/miFjkBS ErqKIMOsA7R/H0ezCi6mT4Ooa1kplLDNmT0WVg5klQ== X-Received: by 2002:a2e:9ac5:: with SMTP id p5mr8954510ljj.200.1584116614420; Fri, 13 Mar 2020 09:23:34 -0700 (PDT) MIME-Version: 1.0 References: <20200303103752.13076-1-kishon@ti.com> <1583342836-10088-1-git-send-email-alan.mikhak@sifive.com> In-Reply-To: From: Alan Mikhak Date: Fri, 13 Mar 2020 09:23:23 -0700 Message-ID: Subject: Re: [PATCH v2 0/5] PCI: functions/pci-epf-test: Add DMA data transfer To: Kishon Vijay Abraham I Cc: amurray@thegoodpenguin.co.uk, Bjorn Helgaas , gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org, linux-pci , lorenzo.pieralisi@arm.com, tjoseph@cadence.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 12, 2020 at 10:24 PM Kishon Vijay Abraham I wrote: > > Hi Alan, > > On 04/03/20 10:57 pm, Alan Mikhak wrote: > > Hi Kishon, > > > > I applied this v2 patch series to kernel.org linux 5.6-rc3 and > > built for x86_64 Debian and riscv. I verified that when I execute > > the pcitest command on the x86_64 host with -d flag, the riscv > > endpoint performs the transfer by using an available dma channel. > > Stephen raised a build error issue [1] after including this series. Did > you also see a similar issue when you tried in x86_64? Hi Kishon, I didn't see this error when I built pcitest with your dma patch for x86_64 on Ubuntu 16.04 (xenial) and Debian 9.9 (stretch). Same for riscv. The following output is from my Ubuntu machine: $ cd ~/src/kernel.org/linux $ cd tools/pci $ ls Build Makefile pcitest.c pcitest.sh $ make mkdir -p include/linux/ 2>&1 || true ln -sf /home/sfnuc/src/kernel.org/linux/tools/pci/../../include/uapi/linux/pcitest.h include/linux/ make -f /home/sfnuc/src/kernel.org/linux/tools/build/Makefile.build dir=. obj=pcitest make[1]: Entering directory '/home/sfnuc/src/kernel.org/linux/tools/pci' CC pcitest.o LD pcitest-in.o make[1]: Leaving directory '/home/sfnuc/src/kernel.org/linux/tools/pci' LINK pcitest $ ls Build include Makefile pcitest pcitest.c pcitest-in.o pcitest.o pcitest.sh Regards, Alan > > [1] -> https://lkml.org/lkml/2020/3/12/1217 > > Thanks > Kishon > > > > > Regards, > > Alan > > > > Tested-by: Alan Mikhak > >