Re: [PATCH 1/2] omap3: iovmm: Work around sg_alloc_table size limitation in IOMMU

2011-05-31 Thread Tony Lindgren
* Laurent Pinchart laurent.pinch...@ideasonboard.com [110530 05:43]: sg_alloc_table can only allocate multi-page scatter-gather list tables if the architecture supports scatter-gather lists chaining. ARM doesn't fit in that category. The IOMMU driver abuses the sg table structure only to

[PATCH 1/2] omap3: iovmm: Work around sg_alloc_table size limitation in IOMMU

2011-05-30 Thread Laurent Pinchart
sg_alloc_table can only allocate multi-page scatter-gather list tables if the architecture supports scatter-gather lists chaining. ARM doesn't fit in that category. The IOMMU driver abuses the sg table structure only to hold page addresses without ever passing the table to the device. Use