1. 14 Nov, 2019 2 commits
  2. 13 Nov, 2019 4 commits
  3. 08 Nov, 2019 9 commits
  4. 06 Nov, 2019 20 commits
  5. 05 Nov, 2019 1 commit
  6. 31 Oct, 2019 2 commits
  7. 29 Oct, 2019 1 commit
    • Arnd Bergmann's avatar
      RDMA/hns: Fix build error again · d5b60e26
      Arnd Bergmann authored
      This is not the first attempt to fix building random configurations,
      unfortunately the attempt in commit a07fc0bb ("RDMA/hns: Fix build
      error") caused a new problem when CONFIG_INFINIBAND_HNS_HIP06=m and
      CONFIG_INFINIBAND_HNS_HIP08=y:
      
      drivers/infiniband/hw/hns/hns_roce_main.o:(.rodata+0xe60): undefined reference to `__this_module'
      
      Revert commits a07fc0bb ("RDMA/hns: Fix build error") and
      a3e2d4c7 ("RDMA/hns: remove obsolete Kconfig comment") to get back to
      the previous state, then fix the issues described there differently, by
      adding more specific dependencies: INFINIBAND_HNS can now only be built-in
      if at least one of HNS or HNS3 are built-in, and the individual back-ends
      are only available if that code is reachable from the main driver.
      
      Fixes: a07fc0bb ("RDMA/hns: Fix build error")
      Fixes: a3e2d4c7 ("RDMA/hns: remove obsolete Kconfig comment")
      Fixes: dd74282d ("RDMA/hns: Initialize the PCI device for hip08 RoCE")
      Fixes: 08805fdb ("RDMA/hns: Split hw v1 driver from hns roce driver")
      Link: https://lore.kernel.org/r/20191007211826.3361202-1-arnd@arndb.deSigned-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
      d5b60e26
  8. 28 Oct, 2019 1 commit
    • Jason Gunthorpe's avatar
      Merge branch 'odp_rework' into rdma.git for-next · bb3dba33
      Jason Gunthorpe authored
      Jason Gunthorpe says:
      
      ====================
      In order to hoist the interval tree code out of the drivers and into the
      mmu_notifiers it is necessary for the drivers to not use the interval tree
      for other things.
      
      This series replaces the interval tree with an xarray and along the way
      re-aligns all the locking to use a sensible SRCU model where the 'update'
      step is done by modifying an xarray.
      
      The result is overall much simpler and with less locking in the critical
      path. Many functions were reworked for clarity and small details like
      using 'imr' to refer to the implicit MR make the entire code flow here
      more readable.
      
      This also squashes at least two race bugs on its own, and quite possibily
      more that haven't been identified.
      ====================
      
      Merge conflicts with the odp statistics patch resolved.
      
      * branch 'odp_rework':
        RDMA/odp: Remove broken debugging call to invalidate_range
        RDMA/mlx5: Do not race with mlx5_ib_invalidate_range during create and destroy
        RDMA/mlx5: Do not store implicit children in the odp_mkeys xarray
        RDMA/mlx5: Rework implicit ODP destroy
        RDMA/mlx5: Avoid double lookups on the pagefault path
        RDMA/mlx5: Reduce locking in implicit_mr_get_data()
        RDMA/mlx5: Use an xarray for the children of an implicit ODP
        RDMA/mlx5: Split implicit handling from pagefault_mr
        RDMA/mlx5: Set the HW IOVA of the child MRs to their place in the tree
        RDMA/mlx5: Lift implicit_mr_alloc() into the two routines that call it
        RDMA/mlx5: Rework implicit_mr_get_data
        RDMA/mlx5: Delete struct mlx5_priv->mkey_table
        RDMA/mlx5: Use a dedicated mkey xarray for ODP
        RDMA/mlx5: Split sig_err MR data into its own xarray
        RDMA/mlx5: Use SRCU properly in ODP prefetch
      Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
      bb3dba33