LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Michel Lanners <mlan@cpu.lu>
To: linuxppc-dev@lists.linuxppc.org
Cc: mj@suse.cz
Subject: Re: Accessing IO space via resources
Date: Sat, 24 Jun 2000 08:32:04 +0200 (CEST)	[thread overview]
Message-ID: <200006240632.IAA00722@piglet.grunz.lu> (raw)
In-Reply-To: <200006231224.OAA00765@piglet.grunz.lu>


Hi all,

On  23 Jun, this message from To: linuxppc-dev@lists.linuxppc.org echoed through cyberspace:
> Now, in the latest 2.4.0-ac kernels, ioremap() returns different
> addresses, not 1:1 the original address anymore. And of course this
> breaks the above scheme. (I've not looked into why this is so... I
> suppose it's not a bug?)

After investigating this, it turns out that early in the boot process,
before the mm system is up, ioremap returns virt == phys for
addresses >= ioremap_base. ioremap_base got changed from 0xf8000000 to
0xf0000000 in recent kernels. Anybody kow why this got changed?

Obviously, the PCI IO space was above ioremap_base before, but is below
now...

Michel

-------------------------------------------------------------------------
Michel Lanners                 |  " Read Philosophy.  Study Art.
23, Rue Paul Henkes            |    Ask Questions.  Make Mistakes.
L-1710 Luxembourg              |
email   mlan@cpu.lu            |
http://www.cpu.lu/~mlan        |                     Learn Always. "


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

  reply	other threads:[~2000-06-24  6:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-06-23 12:24 Accessing IO space via resources Michel Lanners
2000-06-24  6:32 ` Michel Lanners [this message]
2000-06-24 21:27   ` Martin Costabel
2000-06-25  7:39     ` Michel Lanners

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=200006240632.IAA00722@piglet.grunz.lu \
    --to=mlan@cpu.lu \
    --cc=linuxppc-dev@lists.linuxppc.org \
    --cc=mj@suse.cz \
    /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