mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Imre Deak <imre.deak@nokia.com>
To: linux-kernel <linux-kernel@vger.kernel.org>
Subject: discontiguous mapping with remap_pfn_range
Date: Sun, 11 Dec 2005 19:18:22 +0200	[thread overview]
Message-ID: <1134321502.12362.48.camel@bitbox.mine.nu> (raw)

Hi,

after the recent changes in remap_pfn_range it's not possible any more
to create a mapping for a physically discontiguous range for which no
struct page exists.

Earlier it was achieved by calling remap_pfn_range for each physical
region with the same vma, but now this will result in
incomplete_pfn_remap which handles only normal mappings, that is where
we have struct page for each PFN.

I would need such a mapping for a frame buffer consisting of two
discontiguous physical range. Is there any way I can do this with the
current API? If not, is there a plan to support it (with a vm_insert_pfn
for example) ? I know it's a rare HW configuration, but there might be
some other use case for this.

Thanks,
Imre



                 reply	other threads:[~2005-12-11 17:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1134321502.12362.48.camel@bitbox.mine.nu \
    --to=imre.deak@nokia.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®