Re: [PATCH 36/41] IB/hfi1: add low level page locking

2015-07-09 Thread Haggai Eran
On 09/07/2015 01:08, Marciniszyn, Mike wrote: >> anything wrong with the umem services provided by the IB core that >> requires this implementation? what? >> > > The current level of the API is mismatched with the PSM SDMA. > > The ib_umem api: > - maps an SG list which isn't required by PSM sinc

RE: [PATCH 36/41] IB/hfi1: add low level page locking

2015-07-08 Thread Marciniszyn, Mike
> anything wrong with the umem services provided by the IB core that > requires this implementation? what? > The current level of the API is mismatched with the PSM SDMA. The ib_umem api: - maps an SG list which isn't required by PSM since DMA mapping is done by the low level SDMA - the mapping

RE: [PATCH 36/41] IB/hfi1: add low level page locking

2015-06-17 Thread Marciniszyn, Mike
> > + * hfi1_get_user_pages - lock user pages into memory > > + * @start_page: the start page > > + * @num_pages: the number of pages > > + * @p: the output page structures > > + * > > + * This function takes a given start page (page aligned user virtual > > + * address) and pins it and the followi

Re: [PATCH 36/41] IB/hfi1: add low level page locking

2015-06-14 Thread Or Gerlitz
On Fri, Jun 12, 2015 at 2:11 AM, Mike Marciniszyn wrote: > +++ b/drivers/infiniband/hw/hfi1/user_pages.c > +/** > + * hfi1_get_user_pages - lock user pages into memory > + * @start_page: the start page > + * @num_pages: the number of pages > + * @p: the output page structures > + * > + * This fu

[PATCH 36/41] IB/hfi1: add low level page locking

2015-06-11 Thread Mike Marciniszyn
Signed-off-by: Andrew Friedley Signed-off-by: Arthur Kepner Signed-off-by: Brendan Cunningham Signed-off-by: Brian Welty Signed-off-by: Caz Yokoyama Signed-off-by: Dean Luick Signed-off-by: Dennis Dalessandro Signed-off-by: Easwar Hariharan Signed-off-by: Harish Chegondi Signed-off-by: Ira