From: "Mark Chambers" <markc@mail.com>
To: "Howard, Marc" <Marc.Howard@KLA-Tencor.com>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: Create permanent mapping from PCI bus to region of physical memory
Date: Tue, 11 Apr 2006 08:03:37 -0400 [thread overview]
Message-ID: <003601c65d5f$f8e43720$5800000a@CHUCK2> (raw)
In-Reply-To: 443B27E6.8070607@ovro.caltech.edu
> You always have the hack of reserving a block of memory
> at the top of SDRAM, i.e., lie to Linux and tell it it
> has less memory. It sounds like that might be the least
> effort. Rubini has an example of how to do that.
>
I've done this with a bus-master PCI peripheral and it works
nicely. The other point about this is that the mmap() call
will work rationally with memory above the linux pool, so
it's easy to go straight to/from user land with this approach.
(and you can set caching and the guard bit and all that so
that PPC access works the way you want it to)
Mark Chambers
prev parent reply other threads:[~2006-04-11 12:03 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-11 0:17 Create permanent mapping from PCI bus to region of physical memory Howard, Marc
2006-04-11 1:32 ` David Hawkins
2006-04-11 2:56 ` Howard, Marc
2006-04-11 3:13 ` David Hawkins
2006-04-11 3:42 ` Howard, Marc
2006-04-11 3:52 ` David Hawkins
2006-04-11 12:03 ` Mark Chambers [this message]
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='003601c65d5f$f8e43720$5800000a@CHUCK2' \
--to=markc@mail.com \
--cc=Marc.Howard@KLA-Tencor.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 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).