How to invalidate cache in kernel driver?
I have an output buffer in my kernel driver. And that share with my hardware, which uses it for output. When I got an interrupt, the kernel driver will copy the data from the output buffer to user space buffer. How can I invalidate cache after my kernel driver copy the output buffer?
On Feb 13, 2014 10:29 AM, "m silverstri" <michael.j.silverstri@gmail.com> wrote:
I have an output buffer in my kernel driver. And that share with my hardware, which uses it for output.
When I got an interrupt, the kernel driver will copy the data from the output buffer to user space buffer.
How can I invalidate cache after my kernel driver copy the output buffer
And why you have to do that? Do you see any inconsistency in the current value of that variable?
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
participants (2)
-
anish singh -
m silverstri