From: Sergei Shtylyov <sshtylyov@ru.mvista.com>
To: "Maciej W. Rozycki" <macro@linux-mips.org>
Cc: Ralf Baechle <ralf@linux-mips.org>, linux-mips@linux-mips.org
Subject: Re: Modpost warning on Alchemy
Date: Wed, 01 Aug 2007 19:44:52 +0400 [thread overview]
Message-ID: <46B0AA74.7040100@ru.mvista.com> (raw)
In-Reply-To: <Pine.LNX.4.64N.0708011629010.20314@blysk.ds.pg.gda.pl>
Maciej W. Rozycki wrote:
>>>>Of course it will. It shall work with whatever physical address space is
>>>>supported by your MMU. As long as the MMU is handled correctly that is,
>>>>but I guess I may have omitted this clarification as obvious.
>>> Even on a CPU with 36-bit physical address? ;-)
>> WTF... I know I've typed "32-bit CPU"! :-/
> It does not matter. The physical address of an I/O resource can be
Believe me, it does in *this* case. :-)
> treated as a cookie that is converted, typically though an MMU, to another
> cookie that can be used with {read,write}{b,w,l}(). Of course you may
> have troubles ioremap()ping say 4GB of I/O space on a processor with a
> 32-bit virtual address space, but that is a corner case and typically your
> I/O space will be sparsely occupied.
It is exactly this case.
> On a MIPS32 processor you have 512MB of KSEG0/1 unmapped virtual address
> space available for I/O devices located within the first 512MB of the
PCI config. space is mapped at 0x600000000, well beyond KGSEG0/1.
> physical address space plus 1GB of KSEG2 mapped virtual address space
> available for I/O devices located anywhere in the physical address space.
> That gives you from 1GB to 1.5GB of virtual address space for I/O which is
> enough for all the usual cases.
This case is not usual. :-)
> Maciej
Thanks for wasting time on my education about MIPS. ;-)
WBR, Sergei
next prev parent reply other threads:[~2007-08-01 15:42 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-01 11:52 Modpost warning on Alchemy Ralf Baechle
2007-08-01 12:23 ` Sergei Shtylyov
2007-08-01 12:53 ` Maciej W. Rozycki
2007-08-01 13:13 ` Sergei Shtylyov
2007-08-01 13:18 ` Sergei Shtylyov
2007-08-01 15:38 ` Maciej W. Rozycki
2007-08-01 15:44 ` Sergei Shtylyov [this message]
2007-08-01 16:26 ` Maciej W. Rozycki
2007-08-01 16:37 ` Sergei Shtylyov
2007-08-01 16:54 ` Maciej W. Rozycki
2007-08-01 17:06 ` Sergei Shtylyov
2007-08-02 9:14 ` Maciej W. Rozycki
2007-08-02 12:49 ` Sergei Shtylyov
2007-08-02 13:27 ` Maciej W. Rozycki
2007-08-02 14:15 ` Sergei Shtylyov
2007-08-02 14:33 ` Maciej W. Rozycki
2007-08-01 17:10 ` Alan Cox
2007-08-02 9:24 ` Maciej W. Rozycki
2007-08-01 17:09 ` Sergei Shtylyov
2007-08-02 9:39 ` Maciej W. Rozycki
2007-08-02 10:15 ` Ralf Baechle
2007-08-02 10:17 ` Maciej W. Rozycki
2007-08-02 12:53 ` Sergei Shtylyov
2007-08-02 13:00 ` Sergei Shtylyov
2007-08-02 13:35 ` Maciej W. Rozycki
2007-08-02 14:10 ` Sergei Shtylyov
2007-08-02 14:21 ` Maciej W. Rozycki
2007-08-01 15:39 ` Alan Cox
2007-08-01 15:49 ` Maciej W. Rozycki
2007-08-01 15:58 ` Alan Cox
2007-08-01 16:00 ` Maciej W. Rozycki
2007-08-01 16:21 ` Ralf Baechle
2007-08-01 16:33 ` Maciej W. Rozycki
2007-08-02 9:25 ` Ralf Baechle
2007-08-02 9:44 ` Maciej W. Rozycki
2007-08-01 16:01 ` Sergei Shtylyov
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=46B0AA74.7040100@ru.mvista.com \
--to=sshtylyov@ru.mvista.com \
--cc=linux-mips@linux-mips.org \
--cc=macro@linux-mips.org \
--cc=ralf@linux-mips.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 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.