* XDMA dmaengine driver implementation
@ 2024-01-09 11:30 Hinko Kocevar
2024-01-09 16:42 ` Lizhi Hou
0 siblings, 1 reply; 3+ messages in thread
From: Hinko Kocevar @ 2024-01-09 11:30 UTC (permalink / raw)
To: lizhi.hou@amd.com, brian.xu@amd.com, raj.kumar.rampelli@amd.com
Cc: dmaengine@vger.kernel.org
Hi,
here at ESS we are using https://github.com/Xilinx/dma_ip_drivers/tree/master/XDMA/linux-kernel kernel driver today with the micro TCA based data acquisition cards such as https://innovation.desy.de/technologies/microtca/boards/damc_fmc2zup/index_eng.html and https://www.struck.de/sis8300.html. The diver seems to be functioning just fine and it provides all the necessary software interfaces we desire.
Looking at the https://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine.git/ I noticed that there is a lot of effort in getting the XDMA dmaengine accepted into mainline kernel. As far as I understand one would need to develop an additional driver that utilizes the XDMA dmaengine driver.
Is there a reference implementation of a driver that uses XDMA dmaengine that is similar to the on in dma_ip_drivers github repo?
Thank you in advance!
//hinko
Hinko Kocevar
Beam Diagnostics Engineer
European Spallation Source ERIC
Odarslövsvägen 113, SE-224 84 Lund, Sweden
E-mail: hinko.kocevar@ess.eu
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: XDMA dmaengine driver implementation
2024-01-09 11:30 XDMA dmaengine driver implementation Hinko Kocevar
@ 2024-01-09 16:42 ` Lizhi Hou
2024-01-12 13:37 ` Hinko Kocevar
0 siblings, 1 reply; 3+ messages in thread
From: Lizhi Hou @ 2024-01-09 16:42 UTC (permalink / raw)
To: Hinko Kocevar, brian.xu@amd.com, raj.kumar.rampelli@amd.com
Cc: dmaengine@vger.kernel.org
Hi Hinko,
mgb4 driver which uses XDMA in mainline kernel. Please see:
https://github.com/torvalds/linux/blob/master/drivers/media/pci/mgb4/mgb4_core.c#L437
Thanks,
Lizhi
On 1/9/24 03:30, Hinko Kocevar wrote:
> Hi,
>
> here at ESS we are using https://github.com/Xilinx/dma_ip_drivers/tree/master/XDMA/linux-kernel kernel driver today with the micro TCA based data acquisition cards such as https://innovation.desy.de/technologies/microtca/boards/damc_fmc2zup/index_eng.html and https://www.struck.de/sis8300.html. The diver seems to be functioning just fine and it provides all the necessary software interfaces we desire.
>
> Looking at the https://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine.git/ I noticed that there is a lot of effort in getting the XDMA dmaengine accepted into mainline kernel. As far as I understand one would need to develop an additional driver that utilizes the XDMA dmaengine driver.
>
> Is there a reference implementation of a driver that uses XDMA dmaengine that is similar to the on in dma_ip_drivers github repo?
>
> Thank you in advance!
> //hinko
>
>
>
>
>
> Hinko Kocevar
>
> Beam Diagnostics Engineer
> European Spallation Source ERIC
> Odarslövsvägen 113, SE-224 84 Lund, Sweden
> E-mail: hinko.kocevar@ess.eu
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: XDMA dmaengine driver implementation
2024-01-09 16:42 ` Lizhi Hou
@ 2024-01-12 13:37 ` Hinko Kocevar
0 siblings, 0 replies; 3+ messages in thread
From: Hinko Kocevar @ 2024-01-12 13:37 UTC (permalink / raw)
To: Lizhi Hou, brian.xu@amd.com, raj.kumar.rampelli@amd.com
Cc: dmaengine@vger.kernel.org
Hi Lizhi,
I found it and managed to reuse its DMA interface within the dma_ip_drivers xdma driver.
At the moment I've hacked the dma_ip_drivers xdma driver just enough that it is using the xdma dmaengine instead of most of the code in libxdma.c.
Thank,
//hinko
________________________________________
From: Lizhi Hou <lizhi.hou@amd.com>
Sent: Tuesday, January 9, 2024 5:42:13 PM
To: Hinko Kocevar; brian.xu@amd.com; raj.kumar.rampelli@amd.com
Cc: dmaengine@vger.kernel.org
Subject: Re: XDMA dmaengine driver implementation
Hi Hinko,
mgb4 driver which uses XDMA in mainline kernel. Please see:
https://github.com/torvalds/linux/blob/master/drivers/media/pci/mgb4/mgb4_core.c#L437
Thanks,
Lizhi
On 1/9/24 03:30, Hinko Kocevar wrote:
> Hi,
>
> here at ESS we are using https://github.com/Xilinx/dma_ip_drivers/tree/master/XDMA/linux-kernel kernel driver today with the micro TCA based data acquisition cards such as https://innovation.desy.de/technologies/microtca/boards/damc_fmc2zup/index_eng.html and https://www.struck.de/sis8300.html. The diver seems to be functioning just fine and it provides all the necessary software interfaces we desire.
>
> Looking at the https://git.kernel.org/pub/scm/linux/kernel/git/vkoul/dmaengine.git/ I noticed that there is a lot of effort in getting the XDMA dmaengine accepted into mainline kernel. As far as I understand one would need to develop an additional driver that utilizes the XDMA dmaengine driver.
>
> Is there a reference implementation of a driver that uses XDMA dmaengine that is similar to the on in dma_ip_drivers github repo?
>
> Thank you in advance!
> //hinko
>
>
>
>
>
> Hinko Kocevar
>
> Beam Diagnostics Engineer
> European Spallation Source ERIC
> Odarslövsvägen 113, SE-224 84 Lund, Sweden
> E-mail: hinko.kocevar@ess.eu
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-01-12 13:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-09 11:30 XDMA dmaengine driver implementation Hinko Kocevar
2024-01-09 16:42 ` Lizhi Hou
2024-01-12 13:37 ` Hinko Kocevar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox