linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Dan Malek <dan@mvista.com>
To: Goddeeris Frederic <Frederic.Goddeeris@siemens.atea.be>
Cc: "'ashish anand'" <ashisha@india.infogain.com>,
	linuxppc-embedded@lists.linuxppc.org
Subject: Re: "Kernel logical address"  vs "Physical"
Date: Fri, 14 Sep 2001 14:26:01 -0400	[thread overview]
Message-ID: <3BA24BB9.3039BD7C@mvista.com> (raw)
In-Reply-To: 6B546A602AD2D211BFF00008C7A42889041D6BE4@hrtades2.atea.be


Goddeeris Frederic wrote:
>
> So the key is that by address is above ioremap_base. That I initially got
> away with not using ioremap is a coincidence? Right?

No, it's not a coincidence.  I've written sufficiently about virtual
space mapping on the embedded processors in the past and if you just
search the mailing list archives you will find all of the answers.

The short answer.....on some processors, like the 8xx, there is a
common address space used by many device drivers and functions
unique to this processor.  The granularity of mapping required is
very small, resulting in many overlapped maps if you constantly use
ioremap() in all of these cases.  For this processor, a common area
is ioremap()'ed by the memory management early in the kernel initialization
for all of these uses.  The side effect of mapping this early is you
get a 1:1 virtual to physical mapping because the kernel VM is not
yet fully initialized.


	-- Dan

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

  parent reply	other threads:[~2001-09-14 18:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-14 11:47 "Kernel logical address" vs "Physical" Goddeeris Frederic
2001-09-14  6:49 ` ashish anand
2001-09-14 18:26 ` Dan Malek [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-09-14 12:13 Goddeeris Frederic
2001-09-14 10:52 Goddeeris Frederic
2001-09-14  6:06 ` ashish anand
2001-09-14  8:44 Goddeeris Frederic
2001-09-14  4:50 ` ashish anand

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=3BA24BB9.3039BD7C@mvista.com \
    --to=dan@mvista.com \
    --cc=Frederic.Goddeeris@siemens.atea.be \
    --cc=ashisha@india.infogain.com \
    --cc=linuxppc-embedded@lists.linuxppc.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).