mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* discontiguous mapping with remap_pfn_range
@ 2005-12-11 17:18 Imre Deak
  0 siblings, 0 replies; only message in thread
From: Imre Deak @ 2005-12-11 17:18 UTC (permalink / raw)
  To: linux-kernel

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-12-11 17:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-11 17:18 discontiguous mapping with remap_pfn_range Imre Deak

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®