Thread (12 messages) 12 messages, 3 authors, 2011-09-01
DORMANTno replies

[PATCH] iommu: omap_iovmm: support non page-aligned buffers in iommu_vmap

From: laurent.pinchart@ideasonboard.com (Laurent Pinchart)
Date: 2011-09-01 14:15:48
Also in: linux-omap

On Thursday 01 September 2011 16:02:35 Ohad Ben-Cohen wrote:
On Thu, Sep 1, 2011 at 4:59 PM, Laurent Pinchart

[off-list ref] wrote:
quoted
It looks good to me.
Thanks.
quoted
I haven't tested it though.
I did, but I always get aligned buffers so my testing is a bit moot. I
can't see how unmap could work without this patch, though, so I'll
squash this and re-post.
You can allocate a page-aligned buffer with posix_memalign() and add an offset 
(64 should do the job, smaller values can get rejected by the OMAP3 ISP 
driver).

-- 
Regards,

Laurent Pinchart
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help