All of lore.kernel.org
 help / color / mirror / Atom feed
From: richardliu@ms1.techarea.org (Richard Liu)
To: linux-arm-kernel@lists.infradead.org
Subject: Clean/Invalidate L1/L2 DCache on userspace.
Date: Thu, 11 Feb 2010 16:27:16 +0800	[thread overview]
Message-ID: <4B73BF64.7030603@ms1.techarea.org> (raw)

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.

                 reply	other threads:[~2010-02-11  8:27 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B73BF64.7030603@ms1.techarea.org \
    --to=richardliu@ms1.techarea.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.