[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CABEDWGx4ZpFWOrMmu5uDsetsgGwS=LvZwDH2R+1ox11BZVXDuw@mail.gmail.com>
Date: Fri, 13 Mar 2020 09:23:23 -0700
From: Alan Mikhak <alan.mikhak@...ive.com>
To: Kishon Vijay Abraham I <kishon@...com>
Cc: amurray@...goodpenguin.co.uk, Bjorn Helgaas <bhelgaas@...gle.com>,
gregkh@...uxfoundation.org, linux-kernel@...r.kernel.org,
linux-pci <linux-pci@...r.kernel.org>, lorenzo.pieralisi@....com,
tjoseph@...ence.com
Subject: Re: [PATCH v2 0/5] PCI: functions/pci-epf-test: Add DMA data transfer
On Thu, Mar 12, 2020 at 10:24 PM Kishon Vijay Abraham I <kishon@...com> 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 <alan.mikhak@...ive.com>
> >
Powered by blists - more mailing lists