mbox series

[-rc,0/6] Bug fixes for odp

Message ID 20191001153821.23621-1-jgg@ziepe.ca (mailing list archive)
Headers show
Series Bug fixes for odp | expand

Message

Jason Gunthorpe Oct. 1, 2019, 3:38 p.m. UTC
From: Jason Gunthorpe <jgg@mellanox.com>

Various assorted bug fixes for the ODP feature closing races and other bad
locking things we be seeing in the field.

Jason Gunthorpe (6):
  RDMA/mlx5: Do not allow rereg of a ODP MR
  RDMA/mlx5: Fix a race with mlx5_ib_update_xlt on an implicit MR
  RDMA/odp: Lift umem_mutex out of ib_umem_odp_unmap_dma_pages()
  RDMA/mlx5: Order num_pending_prefetch properly with synchronize_srcu
  RDMA/mlx5: Put live in the correct place for ODP MRs
  RDMA/mlx5: Add missing synchronize_srcu() for MW cases

 drivers/infiniband/core/umem_odp.c           |  6 +-
 drivers/infiniband/hw/mlx5/devx.c            | 58 +++++------------
 drivers/infiniband/hw/mlx5/mlx5_ib.h         |  3 +-
 drivers/infiniband/hw/mlx5/mr.c              | 68 ++++++++------------
 drivers/infiniband/hw/mlx5/odp.c             | 58 +++++++++++++----
 drivers/net/ethernet/mellanox/mlx5/core/mr.c |  8 +--
 6 files changed, 96 insertions(+), 105 deletions(-)

Comments

Jason Gunthorpe Oct. 4, 2019, 6:55 p.m. UTC | #1
On Tue, Oct 01, 2019 at 12:38:15PM -0300, Jason Gunthorpe wrote:
> From: Jason Gunthorpe <jgg@mellanox.com>
> 
> Various assorted bug fixes for the ODP feature closing races and other bad
> locking things we be seeing in the field.
> 
> Jason Gunthorpe (6):
>   RDMA/mlx5: Do not allow rereg of a ODP MR
>   RDMA/mlx5: Fix a race with mlx5_ib_update_xlt on an implicit MR
>   RDMA/odp: Lift umem_mutex out of ib_umem_odp_unmap_dma_pages()
>   RDMA/mlx5: Order num_pending_prefetch properly with synchronize_srcu
>   RDMA/mlx5: Put live in the correct place for ODP MRs
>   RDMA/mlx5: Add missing synchronize_srcu() for MW cases

Applied to for-rc

Jason