[PXA320] dmac_flush_range and burst on SMEMC

Patrick kpa_info at yahoo.fr
Fri Dec 18 04:00:15 EST 2009


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


      



More information about the linux-arm-kernel mailing list