Re: BayTrail DW DMA: MEMCPY to custom PCI device

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

 



On Mon, 2016-10-24 at 15:43 +0200, Stefan Roese wrote:
> Hi Andy,

> The DMA controller is powered and generates an interrupt:
> 
> [   30.308167] dw_dmac_pci 0000:00:1e.0: dw_dma_interrupt: status=0x1
> [   30.308179] dw_dmac_pci 0000:00:1e.0: dw_dma_tasklet: status_err=0
> 
> Still no data transferred to the PCI memory space (FPGA). The
> parameters passed to dwc_prep_dma_memcpy() seem to okay at first
> glance. I'll debug a bit to see, if I find a problem here.
> 
> One related question:
> Do you know if and how the memory-to-memory transfer has been tested
> lately on such x86 platforms?

I used some ugly hack to power on the device (i.e. pm_runtime_get_sync()
when allocating channel and pm_runtime_put() at freeing) and run dmatest
on it.

You may try it yourself (for PCI it would probably do not need any
hacks) and report any bugs you notice.

-- 
Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
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