All of lore.kernel.org
 help / color / mirror / Atom feed
From: lee.jones@linaro.org (Lee Jones)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/2] ARM: ux500: Enable HIGHMEM in the u8540 defconfig
Date: Mon, 3 Jun 2013 09:21:17 +0100	[thread overview]
Message-ID: <20130603082117.GD3370@gmail.com> (raw)
In-Reply-To: <1902994.0Kq6C7Rx1R@wuerfel>

On Fri, 31 May 2013, Arnd Bergmann wrote:

> On Friday 31 May 2013 16:18:50 Lee Jones wrote:
> > On Fri, 31 May 2013, Arnd Bergmann wrote:
> > 
> > > On Friday 31 May 2013 15:24:32 Lee Jones wrote:
> > > > In order to utilise all of the memory located on ux500 based devices
> > > > we have to enable HIGHMEM. Without it the kernel truncates memory down
> > > > to what's left after the PAGE_OFFSET has been applied, which doesn't
> > > > leave an awful lot, especially if we're running large rootfs' such
> > > > as full Linux desktop distributions or Android.
> > > > 
> > > > Signed-off-by: Lee Jones <lee.jones@linaro.org>
> > > 
> > > How much memory do those devices have? Enabling HIGHMEM is quite expensive.
> > 
> > Another 1GB.
> 
> You mean you have 2GB total or 1.75GB?  You could just use

We have 2GB in total.

> CONFIG_VMSPLIT_2G to an extra GB compared to the default, which
> is what vexpress, imx and s5p already do, but you still have to
> put the vmalloc area in the low 2GB then.

Isn't this for 4GB systems?

-- 
Lee Jones
Linaro ST-Ericsson Landing Team Lead
Linaro.org ? Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

WARNING: multiple messages have this Message-ID (diff)
From: Lee Jones <lee.jones@linaro.org>
To: Arnd Bergmann <arnd@arndb.de>
Cc: linux-arm-kernel@lists.infradead.org,
	srinidhi.kasagar@stericsson.com, linux-kernel@vger.kernel.org,
	linus.walleij@stericsson.com
Subject: Re: [PATCH 2/2] ARM: ux500: Enable HIGHMEM in the u8540 defconfig
Date: Mon, 3 Jun 2013 09:21:17 +0100	[thread overview]
Message-ID: <20130603082117.GD3370@gmail.com> (raw)
In-Reply-To: <1902994.0Kq6C7Rx1R@wuerfel>

On Fri, 31 May 2013, Arnd Bergmann wrote:

> On Friday 31 May 2013 16:18:50 Lee Jones wrote:
> > On Fri, 31 May 2013, Arnd Bergmann wrote:
> > 
> > > On Friday 31 May 2013 15:24:32 Lee Jones wrote:
> > > > In order to utilise all of the memory located on ux500 based devices
> > > > we have to enable HIGHMEM. Without it the kernel truncates memory down
> > > > to what's left after the PAGE_OFFSET has been applied, which doesn't
> > > > leave an awful lot, especially if we're running large rootfs' such
> > > > as full Linux desktop distributions or Android.
> > > > 
> > > > Signed-off-by: Lee Jones <lee.jones@linaro.org>
> > > 
> > > How much memory do those devices have? Enabling HIGHMEM is quite expensive.
> > 
> > Another 1GB.
> 
> You mean you have 2GB total or 1.75GB?  You could just use

We have 2GB in total.

> CONFIG_VMSPLIT_2G to an extra GB compared to the default, which
> is what vexpress, imx and s5p already do, but you still have to
> put the vmalloc area in the low 2GB then.

Isn't this for 4GB systems?

-- 
Lee Jones
Linaro ST-Ericsson Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

  reply	other threads:[~2013-06-03  8:21 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-31 14:24 [PATCH 1/2] ARM: ux500: Allocate correct amount of memory for the u8540 in DT Lee Jones
2013-05-31 14:24 ` Lee Jones
2013-05-31 14:24 ` [PATCH 2/2] ARM: ux500: Enable HIGHMEM in the u8540 defconfig Lee Jones
2013-05-31 14:24   ` Lee Jones
2013-05-31 14:58   ` Lee Jones
2013-05-31 14:58     ` Lee Jones
2013-05-31 15:02   ` Arnd Bergmann
2013-05-31 15:02     ` Arnd Bergmann
2013-05-31 15:18     ` Lee Jones
2013-05-31 15:18       ` Lee Jones
2013-05-31 15:36       ` Arnd Bergmann
2013-05-31 15:36         ` Arnd Bergmann
2013-06-03  8:21         ` Lee Jones [this message]
2013-06-03  8:21           ` Lee Jones

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=20130603082117.GD3370@gmail.com \
    --to=lee.jones@linaro.org \
    --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 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.