All of lore.kernel.org
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] U-Boot's need for MMU
Date: Thu, 26 Mar 2009 12:22:47 -0500	[thread overview]
Message-ID: <49CBB9E7.8080307@freescale.com> (raw)
In-Reply-To: <OF2A852AAB.9CE5B059-ON85257585.005C7CBF-85257585.005D04B4@rockwellcollins.com>

cmfairfa at rockwellcollins.com wrote:
> Hi,
> I am wondering what the ramifications of not using the MMU in U-Boot are?
> I have an MPC8360 (e300 core) where it is capable of disabling the MMU via 
> the MSR[IR] and MSR[DR] bits.
> 
> Before disabling the MMU, I'm just wondering why U-Boot bothers to set up 
> the MMU on CPU's that providing disabling of the MMU.

A big one is that you can't have certain regions be cached (memory) and 
others uncached (I/O) -- you'll need to turn the D-cache off altogether.

And even then I'm not sure what happens to the guarded bit when the MMU 
is off.

> I'm not disabling the MMU just for kicks, there are/may be some 
> program-specific scenarios where I may need to use the option of disabling 
> the MMU.

Such as?  One should generally lead with the reason they want to do 
something, and only afterwards ask "why not". :-)

-Scott

      reply	other threads:[~2009-03-26 17:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-26 16:55 [U-Boot] U-Boot's need for MMU cmfairfa at rockwellcollins.com
2009-03-26 17:22 ` Scott Wood [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=49CBB9E7.8080307@freescale.com \
    --to=scottwood@freescale.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 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.