Hi,
Thanks for the response.
Sorry, I was able to use flush_dcache_range(). I only have problems including clean_dcache_range() and invalidate_dcache_range().
When I compile the driver with clean_dcache_range(), I get a WARNING: "clean_dcache_range" undefined!
I have replaced all the iowrite32 and ioread32 with writel() and readl().
I also do flush_dcache_range() before and after DMA operations when the direction is DMA_TO_DEVICE.
i.e Prior to DMA transfer, a flush_dcache_range() after pci_map_single and Post DMA transfer a flush_dcache_range() before pci_unmap_single
I see minor improvement, the frequency of occurrence seems to be slightly reduced. But I still see the problem.
Let me know your inputs
thanks
Rams