linux/drivers/infiniband/sw/siw
John Hubbard dfa0a4fff1 IB/{core,hw,umem}: set FOLL_PIN via pin_user_pages*(), fix up ODP
Convert infiniband to use the new pin_user_pages*() calls.

Also, revert earlier changes to Infiniband ODP that had it using
put_user_page().  ODP is "Case 3" in
Documentation/core-api/pin_user_pages.rst, which is to say, normal
get_user_pages() and put_page() is the API to use there.

The new pin_user_pages*() calls replace corresponding get_user_pages*()
calls, and set the FOLL_PIN flag.  The FOLL_PIN flag requires that the
caller must return the pages via put_user_page*() calls, but infiniband
was already doing that as part of an earlier commit.

Link: http://lkml.kernel.org/r/20200107224558.2362728-14-jhubbard@nvidia.com
Signed-off-by: John Hubbard <jhubbard@nvidia.com>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Cc: Alex Williamson <alex.williamson@redhat.com>
Cc: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com>
Cc: Björn Töpel <bjorn.topel@intel.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Cc: Ira Weiny <ira.weiny@intel.com>
Cc: Jan Kara <jack@suse.cz>
Cc: Jason Gunthorpe <jgg@ziepe.ca>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Jerome Glisse <jglisse@redhat.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Kirill A. Shutemov <kirill@shutemov.name>
Cc: Leon Romanovsky <leonro@mellanox.com>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: Mike Rapoport <rppt@linux.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-01-31 10:30:37 -08:00
..
iwarp.h
Kconfig RDMA/siw: Change CQ flags from 64->32 bits 2019-08-13 12:22:06 -04:00
Makefile
siw_cm.c RDMA/siw: Fix port number endianness in a debug message 2019-10-01 12:18:18 -03:00
siw_cm.h
siw_cq.c RDMA/siw: Fix 64/32bit pointer inconsistency 2019-08-23 12:08:27 -04:00
siw_main.c RDMA/siw: Use the common mmap_xa helpers 2019-11-06 13:08:01 -04:00
siw_mem.c IB/{core,hw,umem}: set FOLL_PIN via pin_user_pages*(), fix up ODP 2020-01-31 10:30:37 -08:00
siw_mem.h RDMA/siw: Fix 64/32bit pointer inconsistency 2019-08-23 12:08:27 -04:00
siw_qp_rx.c RDMA/siw: Fix 64/32bit pointer inconsistency 2019-08-23 12:08:27 -04:00
siw_qp_tx.c RDMA/siw: Relax from kmap_atomic() use in TX path 2019-09-13 16:59:55 -03:00
siw_qp.c RDMA/siw: free siw_base_qp in kref release routine 2019-10-18 14:49:01 -04:00
siw_verbs.c RDMA subsystem updates for 5.5 2019-11-27 10:17:28 -08:00
siw_verbs.h RDMA/siw: Use the common mmap_xa helpers 2019-11-06 13:08:01 -04:00
siw.h RDMA/siw: Cleanup unused mmap structures. 2019-11-14 11:56:11 -04:00