All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rolf Offermanns <roffermanns@sysgo.com>
To: Russell King <rmk+lkml@arm.linux.org.uk>
Cc: linux-kernel@vger.kernel.org
Subject: Re: mmap + dma_alloc_coherent
Date: Wed, 13 Apr 2005 13:51:52 +0200	[thread overview]
Message-ID: <200504131351.53105.roffermanns@sysgo.com> (raw)
In-Reply-To: <20050413121937.A14087@flint.arm.linux.org.uk>

On Wednesday 13 April 2005 13:19, Russell King wrote:
> This has come up before.  ARM implements dma_mmap_*() to allow this
> to happen, but it never got propagated to the other architectures.
I know, this is why I referenced the other LKML threads. What keeps these 
functions from being propagated to the other archs? Are there still 
unresolved issues? (x86 not marking RAM pages reserved would be one I 
assume)?
>
> Here's the (untested) x86 version.  There may be a problem with
> x86 not marking the pages reserved, which is required for
> remap_pfn_range() to work.

So the fact that remap_pfn_range() does not work on pages allocated with 
__get_free_pages() is an x86-only issue? Or is it by design?

-Rolf
-- 
Rolf Offermanns <roffermanns@sysgo.com>
SYSGO AG     Tel.: +49-6136-9948-0
Am Pfaffenstein 14   Fax: +49-6136-9948-10
55270 Klein-Winternheim  http://www.sysgo.com


      reply	other threads:[~2005-04-13 11:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-13 10:43 mmap + dma_alloc_coherent Rolf Offermanns
2005-04-13 11:19 ` Russell King
2005-04-13 11:51   ` Rolf Offermanns [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=200504131351.53105.roffermanns@sysgo.com \
    --to=roffermanns@sysgo.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rmk+lkml@arm.linux.org.uk \
    /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.