LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Embedded & Single-board computer (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/)
-   -   Linux 2.6.27: Cache invalidate inside Device Driver (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/linux-2-6-27-cache-invalidate-inside-device-driver-842776/)

zvivered 11-06-2010 04:13 PM

Linux 2.6.27: Cache invalidate inside Device Driver
 
Hi,

I'm using "__get_free_pages(GFP_KERNEL, order)" to allocate a buffer used for DMA. The DMA is initiated by an FPGA connected to the computer via PCI.
The destination of the DMA is the RAM of the embedded computer.

How can I invalidate the allocated buffer ?

Thanks.


All times are GMT -5. The time now is 01:00 PM.