linux/drivers/infiniband/hw
Jason Gunthorpe 449a224c10 Merge branch 'rdma_mmap' into rdma.git for-next
Jason Gunthorpe says:

====================
Upon review it turns out there are some long standing problems in BAR
mapping area:
 * BAR pages intended for read-only can be switched to writable via mprotect.
 * Missing use of rdma_user_mmap_io for the mlx5 clock BAR page.
 * Disassociate causes SIGBUS when touching the pages.
 * CPU pages are being mapped through to the process via remap_pfn_range
   instead of the more appropriate vm_insert_page, causing weird behaviors
   during disassociation.

This series adds the missing VM_* flag manipulation, adds faulting a zero
page for disassociation and revises the CPU page mappings to use
vm_insert_page.
====================

For dependencies this branch is based on for-rc from
git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git

* branch 'rdma_mmap':
  RDMA: Remove rdma_user_mmap_page
  RDMA/mlx5: Use get_zeroed_page() for clock_info
  RDMA/ucontext: Fix regression with disassociate
  RDMA/mlx5: Use rdma_user_map_io for mapping BAR pages
  RDMA/mlx5: Do not allow the user to write to the clock page

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2019-04-24 16:20:34 -03:00
..
bnxt_re RDMA/drivers: Convert easy drivers to use ib_device_set_netdev() 2019-04-09 10:14:54 -03:00
cxgb3 IB: Pass only ib_udata in function prototypes 2019-04-01 15:00:47 -03:00
cxgb4 RDMA/cxgb4: Fix spelling mistake "immedate" -> "immediate" 2019-04-18 03:17:42 -03:00
hfi1 Merge branch 'rdma_mmap' into rdma.git for-next 2019-04-24 16:20:34 -03:00
hns Merge branch 'rdma_mmap' into rdma.git for-next 2019-04-24 16:20:34 -03:00
i40iw IB: Pass only ib_udata in function prototypes 2019-04-01 15:00:47 -03:00
mlx4 RDMA: Handle SRQ allocations by IB/core 2019-04-08 13:05:25 -03:00
mlx5 Merge branch 'rdma_mmap' into rdma.git for-next 2019-04-24 16:20:34 -03:00
mthca RDMA: Handle SRQ allocations by IB/core 2019-04-08 13:05:25 -03:00
nes IB: Pass only ib_udata in function prototypes 2019-04-01 15:00:47 -03:00
ocrdma RDMA/ocrdma: Remove use of idr use pci bdf instead 2019-04-12 10:59:02 -03:00
qedr RDMA/drivers: Convert easy drivers to use ib_device_set_netdev() 2019-04-09 10:14:54 -03:00
qib IB/{rdmavt, qib, hfi1}: Use new routine to release reference counts 2019-04-24 11:31:49 -03:00
usnic IB: Pass only ib_udata in function prototypes 2019-04-01 15:00:47 -03:00
vmw_pvrdma Merge branch 'rdma_mmap' into rdma.git for-next 2019-04-24 16:20:34 -03:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00