[PATCH v2 07/10] x86: support dma_map_pfn()

2015-05-06 Thread Dan Williams
Fix up x86 dma_map_ops to allow pfn-only mappings. As long as a dma_map_sg() implementation uses the generic sg_phys() helpers it can support scatterlists that use __pfn_t instead of struct page. Signed-off-by: Dan Williams --- arch/x86/Kconfig |5 +

[PATCH v2 07/10] x86: support dma_map_pfn()

2015-05-06 Thread Dan Williams
Fix up x86 dma_map_ops to allow pfn-only mappings. As long as a dma_map_sg() implementation uses the generic sg_phys() helpers it can support scatterlists that use __pfn_t instead of struct page. Signed-off-by: Dan Williams dan.j.willi...@intel.com --- arch/x86/Kconfig |