From: Scott McNutt <smcnutt@psyent.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] do_bootm() and flush_cache()
Date: Wed, 23 Mar 2005 21:56:01 -0500 [thread overview]
Message-ID: <42422C41.3040200@psyent.com> (raw)
In-Reply-To: <20050323192155.52210C108D@atlas.denx.de>
>>But after reviewing do_bootm(), I don't see where the
>>caches are flushed. A call to flush_cache() after
>>moving/decompressing the image seems appropriate, but
>
>
> Why?
After the move/decompression, the data cache must be
flushed to main memory ... otherwise an instruction
cache miss (after jumping into the kernel) may read
in a (potentially) stale line. (Neither cache can be
disabled.)
Regards,
--Scott
prev parent reply other threads:[~2005-03-24 2:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-23 1:40 [U-Boot-Users] do_bootm() and flush_cache() Scott McNutt
2005-03-23 19:21 ` Wolfgang Denk
2005-03-24 2:56 ` Scott McNutt [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=42422C41.3040200@psyent.com \
--to=smcnutt@psyent.com \
--cc=u-boot@lists.denx.de \
/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