linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* Clean/Invalidate L1/L2 DCache on userspace.
@ 2010-02-11  8:27 Richard Liu
  0 siblings, 0 replies; only message in thread
From: Richard Liu @ 2010-02-11  8:27 UTC (permalink / raw)
  To: linux-arm-kernel

Hi All:

     Does any one try to clean/invalidate L2 Dcache for userspace memory?

Program allocated a memory from malloc on userspace.
Tried to pass userspace memory point to kernel and use function 
"dma_cache_maint" to flush/invalidate it.
But it's not work.

     sys_cacheflush seems only flush L1 and icache only.
It doesn't fit my requirement.
So, I cannot find any solution to clean/invalidate L2 Dcache from user 
space.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-02-11  8:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-11  8:27 Clean/Invalidate L1/L2 DCache on userspace Richard Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).