Re: How to invalidate cache in kernel driver?

2014-02-13 Thread anish singh
On Feb 13, 2014 10:29 AM, "m silverstri" 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 ca

How to invalidate cache in kernel driver?

2014-02-13 Thread m silverstri
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? ___