From: Matt Porter <mporter@kernel.crashing.org>
To: Glenn Burkhardt <glenn@aoi-industries.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: remap_page_range64() for PPC
Date: Fri, 15 Oct 2004 23:32:26 -0700 [thread overview]
Message-ID: <20041015233226.B1500@home.com> (raw)
In-Reply-To: <20041016034642.F1DD0C60D@aoi-industries.com>; from glenn@aoi-industries.com on Fri, Oct 15, 2004 at 11:46:42PM -0400
On Fri, Oct 15, 2004 at 11:46:42PM -0400, Glenn Burkhardt wrote:
> I'm writing an application to run on a PowerPC with a 2.4 embedded
> Linux kernel, and I want to make device registers for our custom
> hardware accessable from user space with mmap(). The physical address
> of the device is above the 4gb boundary (we attach to the 440's
> external peripheral bus), so a standard 'remap_page_range()' call
> won't work.
<snip>
This has come up several times on the ppc lists (but since we still
don't have archives back, nobody can search anyway). I dropped
2.4 and 2.5 patches in source.mvista.com:/pub/linuxppc/ a long
time ago. You just need to update your board-specific fixup routine
in that version or just make a copy or remap_page_range() into your
driver and use u64 for the phys address.
The real fix, of course, is in the -mm tree as remap_pfn_range(),
I plan to merge 440 io_remap_page_range() support on top of that
call when it goes into mainline. But that doesn't help you with
2.4. :)
-Matt
next prev parent reply other threads:[~2004-10-16 6:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-16 3:46 remap_page_range64() for PPC Glenn Burkhardt
2004-10-16 5:07 ` Benjamin Herrenschmidt
2004-10-16 6:32 ` Matt Porter [this message]
2004-10-17 13:17 ` Glenn Burkhardt
2004-10-22 14:53 ` William Lee Irwin III
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=20041015233226.B1500@home.com \
--to=mporter@kernel.crashing.org \
--cc=glenn@aoi-industries.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 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.