From: Joe Korty <joe.korty@ccur.com>
To: Jim Deas <jdeas@jadsystems.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Prefered method to map PCI memory into userspace.
Date: Fri, 26 Sep 2003 17:17:41 -0400 [thread overview]
Message-ID: <20030926211740.GA27352@tsunami.ccur.com> (raw)
In-Reply-To: <1064609623.16160.11.camel@ArchiveLinux>
On Fri, Sep 26, 2003 at 01:53:43PM -0700, Jim Deas wrote:
> I am looking for the most current (blessed) structure
> for mapping PCI memory to a user process. One that allows
> both PIO and busmastering to work on a common block of
> PCI RAM. I am not concerned with backporting to older
> kernels but it would be nice if the solution wasn't ibm specific.
>
> My problem is a 64M window into a frame buffer that I would
> like to map into user space. I am more than willing to put
> forth the effort, I just want to make sure I'm heading in
> the right direction.
>
> Is there a better forum for posting this? Regards,
> J. Deas
>
> RH9.0 2.4.20-6smp kernel and above.
Albert Cahalan wrote a patch, for 2.6, that makes mmappable all PCI device
memory regions. They show up as files in the appropriate subdirectories
under /proc/bus/pci. See http://lkml.org/lkml/2003/7/13/258 for the
patch and details.
Joe
next prev parent reply other threads:[~2003-09-26 21:41 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-26 20:53 Jim Deas
2003-09-26 21:17 ` Joe Korty [this message]
2003-09-27 0:40 ` Benjamin Herrenschmidt
2003-09-27 4:00 ` David S. Miller
[not found] <1064609623.16160.11.camel@ArchiveLinux.suse.lists.linux.kernel>
2003-09-26 22:03 ` Andi Kleen
2003-09-27 4:01 ` David S. Miller
[not found] ` <20030926211740.GA27352@tsunami.ccur.com.suse.lists.linux.kernel>
[not found] ` <1064623209.631.26.camel@gaston.suse.lists.linux.kernel>
[not found] ` <20030926210034.3a1b4de7.davem@redhat.com.suse.lists.linux.kernel>
2003-09-27 5:09 ` Andi Kleen
2003-09-27 23:39 ` David S. Miller
[not found] <A8WS.6Uf.9@gated-at.bofh.it>
[not found] ` <A8WR.6Uf.7@gated-at.bofh.it>
[not found] ` <Aezg.6hA.9@gated-at.bofh.it>
2003-09-27 4:42 ` Andi Kleen
2003-09-26 13:59 ` Anton Blanchard
2003-09-27 23:38 ` David S. Miller
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=20030926211740.GA27352@tsunami.ccur.com \
--to=joe.korty@ccur.com \
--cc=jdeas@jadsystems.com \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®