[PATCH v5 2/3] OMAP3: DMA: Errata i541: sDMA FIFO draining does not finish
Paul Walmsley
paul at pwsan.com
Wed Nov 10 18:30:53 EST 2010
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
More information about the linux-arm-kernel
mailing list