linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PXA320] dmac_flush_range and burst on SMEMC
@ 2009-12-18  9:00 Patrick
  2009-12-18  9:39 ` Eric Miao
  2010-01-04 16:20 ` Russell King - ARM Linux
  0 siblings, 2 replies; 4+ messages in thread
From: Patrick @ 2009-12-18  9:00 UTC (permalink / raw)
  To: linux-arm-kernel

Hello all,

I am using a PXA320 with a FPGA connected on the VLIO memory bus. For faster transfer between the PXA and the FPGA I would like to use burst (supported by the SMEMC in VLIO).

I was using a 2.6.26 kernel and burst was working very fine. I was using ioremap_cached and after a loop of iowrite32 and a call to dmac_flush_range to start the burst. It was working fine.

I have migrated to a 2.6.28 kernel with the same driver code. All the data writed by the loop of iowrite32 is lost and only the last burst is writed using PIO and no burst. It's like if dmac_flush_range is not working and flush no cash at all.

Do you have any idea ? Should I use another function than dmac_flush_range ?

Thanks in advance for any help

Patrick


      

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-01-04 16:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-18  9:00 [PXA320] dmac_flush_range and burst on SMEMC Patrick
2009-12-18  9:39 ` Eric Miao
2009-12-18 12:24   ` Patrick
2010-01-04 16:20 ` Russell King - ARM Linux

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).