From: Matt Porter <mporter@embeddedalley.com>
To: "David H. Lynch Jr." <dhlii@dlasys.net>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: ioremap() fails for >64 MB
Date: Wed, 23 Aug 2006 09:05:33 -0500 [thread overview]
Message-ID: <20060823140533.GA10331@gate.crashing.org> (raw)
In-Reply-To: <44EB717D.3080800@dlasys.net>
On Tue, Aug 22, 2006 at 05:05:01PM -0400, David H. Lynch Jr. wrote:
> 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.
ioremap() allocates virtual address space in order to be able to
do the assignment. The ability to allocate this vmalloc space
(which is used by ioremap() and vmalloc() calls) varies based
on amount of memory, etc. in a system. It also depends on how
good of a quality of a board port is done. It's possible to do
some very stupid things that constrict availability of vmalloc
space. So YMMV versus others.
-Matt
next prev parent reply other threads:[~2006-08-23 13:53 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.
2006-08-23 14:05 ` Matt Porter [this message]
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=20060823140533.GA10331@gate.crashing.org \
--to=mporter@embeddedalley.com \
--cc=dhlii@dlasys.net \
--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 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).