mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Glenn Burkhardt <gbburkhardt@verizon.net>
To: Matt Porter <mporter@kernel.crashing.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: remap_page_range64() for PPC
Date: Sun, 17 Oct 2004 09:17:04 -0400	[thread overview]
Message-ID: <200410170917.04673.gbburkhardt@verizon.net> (raw)
In-Reply-To: <20041015233226.B1500@home.com>

On Saturday 16 October 2004 02:32 am, Matt Porter wrote:
> 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.

Do you mean that you applied a patch, or had one and decided not to 
use it?  I just looked at mm/memory.c didn't notice anything 
substantially different in remap_page_range().  To which module was 
the patch applied?

Thanks for verifying that the approach I took was correct, which was
to use u64 for the phys address for remap_page_range().


  reply	other threads:[~2004-10-17 13:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-16  3:46 Glenn Burkhardt
2004-10-16  5:07 ` Benjamin Herrenschmidt
2004-10-16  6:32 ` Matt Porter
2004-10-17 13:17   ` Glenn Burkhardt [this message]
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=200410170917.04673.gbburkhardt@verizon.net \
    --to=gbburkhardt@verizon.net \
    --cc=glenn@aoi-industries.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mporter@kernel.crashing.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®