linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: tglx@linutronix.de
Cc: linuxppc-dev <linuxppc-dev@lists.linuxppc.org>
Subject: Re: check MMU state
Date: 05 Apr 2003 16:49:37 +0200	[thread overview]
Message-ID: <1049554177.654.3.camel@zion.wanadoo.fr> (raw)
In-Reply-To: <200304051735.25831.tglx@linutronix.de>


On Sat, 2003-04-05 at 17:35, Thomas Gleixner wrote:
> Hi !
>
> Is there a clean way to check, if the MMU is enabled on kernel entry ? I have
> to port Linux to a PMC-module, where the bootloader code should not be
> changed.

The kernel entry can cope with both cases, provided that early_init
properly returns the physical address where the kernel is loaded,
regardless of the translations setup by the bootloader. Also, the
kernel has to be contiguous in physical memory.

Ben.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2003-04-05 14:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-05 15:35 check MMU state Thomas Gleixner
2003-04-05 14:49 ` Benjamin Herrenschmidt [this message]
2003-04-05 16:15   ` Thomas Gleixner
2003-04-05 15:24     ` Benjamin Herrenschmidt
2003-04-05 16:23       ` Thomas Gleixner
2003-04-05 16:03         ` Benjamin Herrenschmidt
2003-04-05 18:31       ` Dan Malek
2003-04-06  2:13         ` Thomas Gleixner
2003-04-07 13:53           ` Dan Malek

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=1049554177.654.3.camel@zion.wanadoo.fr \
    --to=benh@kernel.crashing.org \
    --cc=linuxppc-dev@lists.linuxppc.org \
    --cc=tglx@linutronix.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;
as well as URLs for NNTP newsgroup(s).