linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Kumar Gala <kumar.gala@freescale.com>
To: "Benjamin Herrenschmidt" <benh@kernel.crashing.org>
Cc: linuxppc-dev@ozlabs.org, John Reiser <jreiser@BitWagon.com>
Subject: Re: 2GB address space limit on 32-bit PowerPC Macintosh
Date: Mon, 16 May 2005 00:51:03 -0500	[thread overview]
Message-ID: <5833cd030098e5fc4600f691cab4f36c@freescale.com> (raw)
In-Reply-To: <1116200069.5095.51.camel@gaston>


On May 15, 2005, at 6:34 PM, Benjamin Herrenschmidt wrote:

> On Mon, 2005-05-16 at 09:29 +1000, Paul Mackerras wrote:
>  > Benjamin Herrenschmidt writes:
>  >
> > > We "inherited" from some historic junk in the prep and chrp=20
> support,
>  > > that a lot of embedded platforms blindly copied, where archs use
>  > > io_block_mapping() early during boot to hard-wire various IO=20
> stuffs in
>  > > various places in the address space, including just after 2Gb.=20
> It's
>  > > totally bogus, but nobody really cared to fix it so far. The 2Gb
>  > > TASK_SIZE limit doesn't seem to have ever been an issue for ppc32=20=

> users
>  > > so far I must say, at least you are the first one to complain ;)
>  >
> > I believe that prep and chrp are also now OK with a 3GB TASK_SIZE
>  > limit, it's just various embedded board ports that will blow up =
with
>  > 3GB.=A0 We should change the default to 3GB to encourage the =
embedded
>  > guys to fix their ports properly (or else to put in the appropriate
>  > Kconfig stuff to force it back to 2GB for their port).
>  >
>
>  static void __init
>  prep_map_io(void)
> {
>  =A0=A0=A0=A0=A0=A0=A0 io_block_mapping(0x80000000, PREP_ISA_IO_BASE, =
0x10000000,=20
> _PAGE_IO);
>  =A0=A0=A0=A0=A0=A0=A0 io_block_mapping(0xf0000000, PREP_ISA_MEM_BASE, =
0x08000000,=20
> _PAGE_IO);
>  }
>
> We need to fix that too :) Though I suppose we can just switch that to
>  page tables, I don't really see the point of using a BAT here...

Are the embedded board ports broken because of similar=20
io_block_mapping() calls or for some other reason?

I'm in agreement that we should bump TASK_SIZE to 3GB and fix things,=20
how about after 2.6.12 is out?

- kumar=

  reply	other threads:[~2005-05-16  5:51 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-15 22:36 2GB address space limit on 32-bit PowerPC Macintosh John Reiser
2005-05-15 23:01 ` Benjamin Herrenschmidt
2005-05-15 23:29   ` Paul Mackerras
2005-05-15 23:34     ` Benjamin Herrenschmidt
2005-05-16  5:51       ` Kumar Gala [this message]
2005-05-16  5:52         ` Benjamin Herrenschmidt
2005-05-16  6:21           ` Kumar Gala
2005-05-16  6:22             ` Benjamin Herrenschmidt
2005-05-16 15:04             ` Dan Malek
2005-05-16 15:05               ` Benjamin Herrenschmidt
2005-05-16 15:52                 ` Dan Malek
2005-05-16 16:42                   ` Benjamin Herrenschmidt
2005-05-16 17:11                     ` Dan Malek
2005-05-17  0:54                       ` Benjamin Herrenschmidt
2005-05-16 18:00                     ` Mark A. Greer
2005-05-16 18:06                       ` Mark A. Greer
2005-05-16 20:31                         ` Dan Malek
2005-05-16 20:43                           ` Mark A. Greer
2005-05-16 21:02                             ` Dan Malek
2005-05-17  3:14                           ` Benjamin Herrenschmidt
2005-05-17  0:56                       ` Benjamin Herrenschmidt
2005-05-16 16:11                 ` Wolfgang Denk
2005-05-16 16:22                   ` Eugene Surovegin

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=5833cd030098e5fc4600f691cab4f36c@freescale.com \
    --to=kumar.gala@freescale.com \
    --cc=benh@kernel.crashing.org \
    --cc=jreiser@BitWagon.com \
    --cc=linuxppc-dev@ozlabs.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).