linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: jamie@shareable.org (Jamie Lokier)
To: linux-arm-kernel@lists.infradead.org
Subject: Query about arm Dcache/Icache ?
Date: Thu, 4 Mar 2010 17:15:38 +0000	[thread overview]
Message-ID: <20100304171538.GB28495@shareable.org> (raw)
In-Reply-To: <12E2D0F704624646AF3EE27EFBBD5321@dufan>

rocky wrote:
> 
>    Hi allJ
> 
>          >From ARM920T, cache is split into Icache and Dcache.
> 
>    Question: How does hardware know which part of binary program in
>    memory should loaded into Icache/Dcache?

It loads code into Icache when executing it, and it loads data into
Dcache when accessed by memory instructions.  Not very complicated :-)

(Some later ARMs can also load both speculatively,
which is a bit of a pain for DMA.)

-- Jamie

      reply	other threads:[~2010-03-04 17:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-26  7:05 Query about arm Dcache/Icache ? rocky
2010-03-04 17:15 ` Jamie Lokier [this message]

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=20100304171538.GB28495@shareable.org \
    --to=jamie@shareable.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 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).