discontiguous mapping with remap_pfn_range

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux