From: Scott Wood <scottwood@freescale.com>
To: michael.firth@bt.com
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: Maximum ioremap size for ppc arch?
Date: Wed, 05 Dec 2007 11:46:16 -0600 [thread overview]
Message-ID: <4756E3E8.8090102@freescale.com> (raw)
In-Reply-To: <36D7B34A3A79F84F82FA0C154F299F2506080F6F@E03MVX1-UKDY.domain1.systemhost.net>
michael.firth@bt.com wrote:
> My main queries are: 1) Why did changing the kernel base address to
> 0x80000000 make the system unstable?
Because there's a bug somewhere. :-)
> 2) Currently IMMRBAR has the same physical and virtual address. Does
> this need to be the case?
No, and it is not done that way in arch/powerpc.
> 3) Why the kernel is designed to run at 0xc0000000?
My guess is because it's a number that Linus pulled out of thin air back
when a gig of RAM was unimaginably large. :-P
> This seems to leave only 1GB of addressing space for all the
> physically addressable memory (RAM + ioremapped + registers), while
> reserving 3GB of space for user processes. The 3GB is presumably
> mostly unusable on a system without a large amount of swap, as the
> 1GB limit on memory will prevent much more than that being available
> for user space.
Well, it's also useful for sparse mappings, but I agree that the 3/1
split is probably suboptimal for most workloads.
-Scott
next prev parent reply other threads:[~2007-12-05 17:46 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-03 9:22 Maximum ioremap size for ppc arch? michael.firth
2007-12-03 10:20 ` Arnd Bergmann
2007-12-03 15:30 ` Matt Porter
2007-12-03 17:50 ` David Hawkins
2007-12-03 19:07 ` Matt Porter
2007-12-03 19:51 ` David Hawkins
2007-12-05 9:50 ` michael.firth
2007-12-05 17:46 ` Scott Wood [this message]
2007-12-05 17:50 ` Scott Wood
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=4756E3E8.8090102@freescale.com \
--to=scottwood@freescale.com \
--cc=linuxppc-embedded@ozlabs.org \
--cc=michael.firth@bt.com \
/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).