From: Alex Zeffertt <ajz@cambridgebroadband.com>
To: Phil.Nitschke@avalon.com.au
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: ioremap() fails for >64 MB
Date: Tue, 22 Aug 2006 09:50:53 +0100 [thread overview]
Message-ID: <44EAC56D.5020508@cambridgebroadband.com> (raw)
In-Reply-To: <1156232469.26041.19.camel@caxton.int.avalon.com.au>
Phil Nitschke wrote:
> Hi all,
>
> I have 2 GB memory on a 7448 processor, and want to reserve a huge chunk
> of it at boot-time, then ioremap() it into the kernel space inside a
> device driver. So far I've succeeded with 64 MB, but can't go any
> higher, as mm/vmalloc.c tells me: "allocation failed: out of vmalloc
> space - use vmalloc=<size> to increase size."
>
I remember reading in Linux Device Drivers that you can use the bigphysarea
patch to allocate large memory, as long as you do it at boot time. It seems
it's been ported to 2.6 too:
http://lwn.net/Articles/111132/
Alex
next prev parent reply other threads:[~2006-08-22 8:51 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-22 7:41 ioremap() fails for >64 MB Phil Nitschke
2006-08-22 8:50 ` Alex Zeffertt [this message]
2006-08-22 21:05 ` David H. Lynch Jr.
2006-08-23 14:05 ` Matt Porter
2006-08-22 14:22 ` Matt Porter
2006-08-23 10:00 ` Phil Nitschke
2006-08-23 11:51 ` Dan Malek
2006-08-24 2:54 ` alva
2006-08-24 12:25 ` Matt Porter
2006-08-24 12:56 ` Matt Porter
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=44EAC56D.5020508@cambridgebroadband.com \
--to=ajz@cambridgebroadband.com \
--cc=Phil.Nitschke@avalon.com.au \
--cc=linuxppc-embedded@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 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.