[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <MN2PR12MB4143A3B01549E8243280CF30A27B0@MN2PR12MB4143.namprd12.prod.outlook.com>
Date: Mon, 20 Jul 2020 10:00:27 +0000
From: Rajesh Gumasta <rgumasta@...dia.com>
To: Thierry Reding <thierry.reding@...il.com>
CC: Laxman Dewangan <ldewangan@...dia.com>,
Jonathan Hunter <jonathanh@...dia.com>,
"vkoul@...nel.org" <vkoul@...nel.org>,
"dan.j.williams@...el.com" <dan.j.williams@...el.com>,
"p.zabel@...gutronix.de" <p.zabel@...gutronix.de>,
"dmaengine@...r.kernel.org" <dmaengine@...r.kernel.org>,
"linux-tegra@...r.kernel.org" <linux-tegra@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"Krishna Yarlagadda" <kyarlagadda@...dia.com>
Subject: RE: [Patch v1 0/4] Add Nvidia Tegra GPC-DMA driver
> -----Original Message-----
> From: Thierry Reding <thierry.reding@...il.com>
> Sent: Monday, July 20, 2020 2:56 PM
> To: Rajesh Gumasta <rgumasta@...dia.com>
> Cc: Laxman Dewangan <ldewangan@...dia.com>; Jonathan Hunter
> <jonathanh@...dia.com>; vkoul@...nel.org; dan.j.williams@...el.com;
> p.zabel@...gutronix.de; dmaengine@...r.kernel.org; linux-
> tegra@...r.kernel.org; linux-kernel@...r.kernel.org; Krishna Yarlagadda
> <kyarlagadda@...dia.com>
> Subject: Re: [Patch v1 0/4] Add Nvidia Tegra GPC-DMA driver
>
> On Mon, Jul 20, 2020 at 12:04:12PM +0530, Rajesh Gumasta wrote:
> > Add support for Nvida Tegra general purpose DMA driver for
> > Tegra186 and Tegra194 platform.
> >
> > Patch 1: Add dt-binding document for Tegra GPCDMA driver Patch 2: Add
> > Tegra GPCDMA driver Patch 3: Enable Tegra GPCDMA as module Patch 4:
> > Add GPCDMA DT node for Tegra186 and Tegra194
> >
> > Rajesh Gumasta (4):
> > dt-bindings: dma: Add DT binding document
> > dma: tegra: Adding Tegra GPC DMA controller driver
> > arm64: configs: enable tegra gpc dma
> > arm64: tegra: Add GPCDMA node in dt
> >
> > .../bindings/dma/nvidia,tegra-gpc-dma.yaml | 99 ++
> > arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi | 4 +
> > arch/arm64/boot/dts/nvidia/tegra186.dtsi | 46 +
> > arch/arm64/boot/dts/nvidia/tegra194.dtsi | 44 +
> > arch/arm64/configs/defconfig | 1 +
> > drivers/dma/Kconfig | 12 +
> > drivers/dma/Makefile | 1 +
> > drivers/dma/tegra-gpc-dma.c | 1512 ++++++++++++++++++++
> > 8 files changed, 1719 insertions(+)
> > create mode 100644
> > Documentation/devicetree/bindings/dma/nvidia,tegra-gpc-dma.yaml
> > create mode 100644 drivers/dma/tegra-gpc-dma.c
>
> Hi Rajesh,
>
> can you provide instructions on how to test that this driver does what it's
> supposed to? I could probably figure out how to run this with the kernel's built-in
> dmatest module, but if you could provide a set of parameters that you've used
> or other instructions on how to validate this it would greatly help.
>
I have used below parameter setting with kernel's built-in dmatest module to test mem to mem copy
cd /sys/module/dmatest/parameters
echo 50000 > iterations
echo dma0chan20 > channel
echo 1 > run
> Thanks,
> Thierry
>
> >
> > --
> > 2.7.4
> >
Thanks
Rajesh Gumasta
Powered by blists - more mailing lists