Re: [PATCH v5 RFC 0/3] Generic IOMMU pooled allocator

2015-03-22 Thread Benjamin Herrenschmidt
On Sun, 2015-03-22 at 15:22 -0400, Sowmini Varadhan wrote: > Follows up on the feedback in the thread at > http://www.spinics.net/lists/sparclinux/msg13493.html > > - removed ->cookie_to_index and ->demap indirection from the iommu_tbl_ops > The caller needs to call these functions as needed,

[PATCH v5 RFC 0/3] Generic IOMMU pooled allocator

2015-03-22 Thread Sowmini Varadhan
Follows up on the feedback in the thread at http://www.spinics.net/lists/sparclinux/msg13493.html - removed ->cookie_to_index and ->demap indirection from the iommu_tbl_ops The caller needs to call these functions as needed, before invoking the generic arena allocator functions. - added the