Re: [PATCH v5 2/3] OMAP3: DMA: Errata i541: sDMA FIFO draining does not finish

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

 



Hello Adrian,

On Wed, 10 Nov 2010, Adrian Hunter wrote:

> On 05/10/10 09:45, Peter Ujfalusi wrote:
> 
> > +	if (cpu_is_omap34xx()&&  (l&  OMAP_DMA_CCR_SEL_SRC_DST_SYNC)) {
> > +		int i = 0;
> > +		u32 sys_cf;
> > +
> > +		/* Configure No-Standby */
> > +		l = dma_read(OCP_SYSCONFIG);
> > +		sys_cf = l;
> > +		l&= ~DMA_SYSCONFIG_MIDLEMODE_MASK;
> > +		l |= DMA_SYSCONFIG_MIDLEMODE(DMA_IDLEMODE_NO_IDLE);
> > +		dma_write(l , OCP_SYSCONFIG);
> 
> Are accesses of OCP_SYSCONFIG synchronised?

Do you mean, with respect to later reads and writes from the SDMA device?  
If so, then yes, later reads and writes to the SDMA are guaranteed to 
complete in order.  But perhaps I am misunderstanding what you mean?


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


[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux