From: "David H. Lynch Jr." <dhlii@dlasys.net>
To: Alex Zeffertt <ajz@cambridgebroadband.com>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: ioremap() fails for >64 MB
Date: Tue, 22 Aug 2006 17:05:01 -0400 [thread overview]
Message-ID: <44EB717D.3080800@dlasys.net> (raw)
In-Reply-To: <44EAC56D.5020508@cambridgebroadband.com>
[-- Attachment #1: Type: text/plain, Size: 1550 bytes --]
is ioremap() failing or is vmalloc failing ?
ioremap should just assign a virtual address to a physical address -
does it actually allocate anything ?
I beleive I am ioremap()ing a greater than 64MB Flash ROM and I do
not think it is failing.
Alex Zeffertt wrote:
> 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
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>
--
Dave Lynch DLA Systems
Software Development: Embedded Linux
717.627.3770 dhlii@dlasys.net http://www.dlasys.net
fax: 1.253.369.9244 Cell: 1.717.587.7774
Over 25 years' experience in platforms, languages, and technologies too numerous to list.
"Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction."
Albert Einstein
[-- Attachment #2: Type: text/html, Size: 2435 bytes --]
next prev parent reply other threads:[~2006-08-22 21:05 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
2006-08-22 21:05 ` David H. Lynch Jr. [this message]
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=44EB717D.3080800@dlasys.net \
--to=dhlii@dlasys.net \
--cc=ajz@cambridgebroadband.com \
--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.