Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1420885

Re: PCIe EndPoint DMA driver with DMA Framework

From Sinan Kaya <okaya@codeaurora.org>
Newsgroups linux.kernel
Subject Re: PCIe EndPoint DMA driver with DMA Framework
Date 2016-06-13 16:10 +0200
Message-ID <rJAIV-7lo-27@gated-at.bofh.it> (permalink)
References <rIwHo-6kc-9@gated-at.bofh.it> <rJss2-1NY-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 6/13/2016 1:25 AM, Vinod Koul wrote:
>> We are planning to write a PCIe EndPoint DMA driver with DMA Framework
>> > targeting x86 machine.  (
>> > "https://www.kernel.org/doc/Documentation/dmaengine/provider.txt") Our DMA
>> > controller is part of PCIe End Point.  We are targeting to measure PCIe
>> > performance with this Framework driver.
>> > 
>> > But when I see DMA Framework drivers is kernel source "drivers/dma" most
>> > of the drivers are platform drivers.
> wrong, there are bunch of PCI X86 driver. Look closely dw, ioat etc

I usually see endpoint specific DMA code to reside in the endpoint device
driver not in the dmaengine directory.

I think the main question is who the consumer of this DMA controller is like
Vinod asked.

If it is a general purpose DMA controller then dmaengine would be the right
place. 

If it is specific to your endpoint, then it should be set up and used in your
endpoint device driver.

-- 
Sinan Kaya
Qualcomm Technologies, Inc. on behalf of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: PCIe EndPoint DMA driver with DMA Framework Vinod Koul <vinod.koul@intel.com> - 2016-06-13 07:20 +0200
  Re: PCIe EndPoint DMA driver with DMA Framework Sinan Kaya <okaya@codeaurora.org> - 2016-06-13 16:10 +0200
    RE: PCIe EndPoint DMA driver with DMA Framework Bharat Kumar Gogada <bharat.kumar.gogada@xilinx.com> - 2016-06-14 13:50 +0200

csiph-web