Re: Issues with running dmatest

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2014-10-25 at 19:08 -0700, GIRISH HALADY wrote:
> Hi Andy,
>          Thanks a lot, I could get the dmatest work with "Petalinux"
> of Xilinx. However, I had a quick on this test though. How would I
> supply the address of a custom memory (SRAM), added in the
> Programmable Logic (PL) part,  as either SOURCE or DESTINATION address
> to be able to do DMA between external DDR and internal SRAM. Would
> appreciate your support.

dmatest takes a DMA mapped memory address which is provided by
corresponding DMA mapping of kernel allocated memory. So, the address is
depends on kernel allocation you are using. I don't know if there is any
mechanism to distinguish different memory types in existing allocator
(like specific flags), but I guess you may dive into slab/slob/slub code
depending on your needs.


-- 
Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>
Intel Finland Oy

--
To unsubscribe from this list: send the line "unsubscribe dmaengine" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux PCI]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux