public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: Versatile Express: Add default memory layout
Date: Thu, 22 Jul 2010 11:57:29 +0100	[thread overview]
Message-ID: <20100722105729.GK31293@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <1279796069.9564.2.camel@e102109-lin.cambridge.arm.com>

On Thu, Jul 22, 2010 at 11:54:29AM +0100, Catalin Marinas wrote:
> On Thu, 2010-07-22 at 11:30 +0100, Russell King - ARM Linux wrote:
> > On Wed, Jul 21, 2010 at 05:55:09PM +0100, Catalin Marinas wrote:
> > > Since this platform is known to have 1GB of RAM at 0x60000000, add a
> > > .fixup function to set the defaults in case no "mem=" option is passed
> > > on the kernel command line.
> > 
> > And the reason why uboot can't pass the RAM information to the kernel
> > is...
> 
> It needs implementing, or ask the user to pass it on the kernel command
> line. For the latter, I think it would be nicer if the kernel has some
> sane defaults.

The kernel does have some sane _safe_ defaults - it assumes that there's
at least 16M of RAM.

> But anyway I'm proposing this patch for similarities to mach-realview.

I don't think that's a good enough justification.  We have the fixup for
realview because of the dual RAM mappings in physical space, and the
boot loader doesn't know which one we're using.  That problem is unique
to the Realview platforms, and doesn't exist on any of the other ARM
development platforms.

  reply	other threads:[~2010-07-22 10:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-21 16:55 [PATCH] ARM: Versatile Express: Add default memory layout Catalin Marinas
2010-07-22 10:30 ` Russell King - ARM Linux
2010-07-22 10:54   ` Catalin Marinas
2010-07-22 10:57     ` Russell King - ARM Linux [this message]
2010-07-22 11:11       ` Catalin Marinas
2010-07-22 11:16         ` Russell King - ARM Linux
2010-07-22 11:19           ` Catalin Marinas
2010-07-22 11:30             ` Russell King - ARM Linux
2010-07-22 11:40               ` Catalin Marinas
2010-07-22 11:44                 ` Russell King - ARM Linux

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=20100722105729.GK31293@n2100.arm.linux.org.uk \
    --to=linux@arm.linux.org.uk \
    --cc=linux-arm-kernel@lists.infradead.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