1. 24 6月, 2019 4 次提交
  2. 21 6月, 2019 2 次提交
  3. 03 5月, 2019 1 次提交
    • J
      IB/mlx5: Add missing XRC options to QP optional params mask · 8f4426aa
      Jack Morgenstein 提交于
      The QP transition optional parameters for the various transition for XRC
      QPs are identical to those for RC QPs.
      
      Many of the XRC QP transition optional parameter bits are missing from the
      QP optional mask table.  These omissions caused failures when doing XRC QP
      state transitions.
      
      For example, when trying to change the response timer of an XRC receive QP
      via the RTS2RTS transition, the new timer value was ignored because
      MLX5_QP_OPTPAR_RNR_TIMEOUT bit was missing from the optional params mask
      for XRC qps for the RTS2RTS transition.
      
      Fix this by adding the missing XRC optional parameters for all QP
      transitions to the opt_mask table.
      
      Fixes: e126ba97 ("mlx5: Add driver for Mellanox Connect-IB adapters")
      Fixes: a4774e90 ("IB/mlx5: Fix opt param mask according to firmware spec")
      Signed-off-by: NJack Morgenstein <jackm@dev.mellanox.co.il>
      Signed-off-by: NLeon Romanovsky <leonro@mellanox.com>
      Signed-off-by: NJason Gunthorpe <jgg@mellanox.com>
      8f4426aa
  4. 25 4月, 2019 1 次提交
  5. 18 4月, 2019 1 次提交
  6. 12 4月, 2019 1 次提交
  7. 11 4月, 2019 3 次提交
  8. 08 4月, 2019 1 次提交
    • W
      drivers: Remove explicit invocations of mmiowb() · fb24ea52
      Will Deacon 提交于
      mmiowb() is now implied by spin_unlock() on architectures that require
      it, so there is no reason to call it from driver code. This patch was
      generated using coccinelle:
      
      	@mmiowb@
      	@@
      	- mmiowb();
      
      and invoked as:
      
      $ for d in drivers include/linux/qed sound; do \
      spatch --include-headers --sp-file mmiowb.cocci --dir $d --in-place; done
      
      NOTE: mmiowb() has only ever guaranteed ordering in conjunction with
      spin_unlock(). However, pairing each mmiowb() removal in this patch with
      the corresponding call to spin_unlock() is not at all trivial, so there
      is a small chance that this change may regress any drivers incorrectly
      relying on mmiowb() to order MMIO writes between CPUs using lock-free
      synchronisation. If you've ended up bisecting to this commit, you can
      reintroduce the mmiowb() calls using wmb() instead, which should restore
      the old behaviour on all architectures other than some esoteric ia64
      systems.
      Acked-by: NLinus Torvalds <torvalds@linux-foundation.org>
      Signed-off-by: NWill Deacon <will.deacon@arm.com>
      fb24ea52
  9. 03 4月, 2019 1 次提交
  10. 02 4月, 2019 3 次提交
  11. 28 3月, 2019 1 次提交
  12. 18 3月, 2019 1 次提交
  13. 16 2月, 2019 1 次提交
  14. 08 2月, 2019 1 次提交
  15. 06 2月, 2019 1 次提交
    • B
      IB/mlx5: Do not use hw_access_flags for be and CPU data · bf3b4f06
      Bart Van Assche 提交于
      Avoid that sparse reports the following for the mlx5 driver:
      
      drivers/infiniband/hw/mlx5/qp.c:2671:34: warning: invalid assignment: |=
      drivers/infiniband/hw/mlx5/qp.c:2671:34:    left side has type restricted __be32
      drivers/infiniband/hw/mlx5/qp.c:2671:34:    right side has type int
      drivers/infiniband/hw/mlx5/qp.c:2679:34: warning: invalid assignment: |=
      drivers/infiniband/hw/mlx5/qp.c:2679:34:    left side has type restricted __be32
      drivers/infiniband/hw/mlx5/qp.c:2679:34:    right side has type int
      drivers/infiniband/hw/mlx5/qp.c:2680:34: warning: invalid assignment: |=
      drivers/infiniband/hw/mlx5/qp.c:2680:34:    left side has type restricted __be32
      drivers/infiniband/hw/mlx5/qp.c:2680:34:    right side has type int
      drivers/infiniband/hw/mlx5/qp.c:2684:34: warning: invalid assignment: |=
      drivers/infiniband/hw/mlx5/qp.c:2684:34:    left side has type restricted __be32
      drivers/infiniband/hw/mlx5/qp.c:2684:34:    right side has type int
      drivers/infiniband/hw/mlx5/qp.c:2686:28: warning: cast from restricted __be32
      drivers/infiniband/hw/mlx5/qp.c:2686:28: warning: incorrect type in argument 1 (different base types)
      drivers/infiniband/hw/mlx5/qp.c:2686:28:    expected unsigned int [usertype] val
      drivers/infiniband/hw/mlx5/qp.c:2686:28:    got restricted __be32 [usertype]
      drivers/infiniband/hw/mlx5/qp.c:2686:28: warning: cast from restricted __be32
      drivers/infiniband/hw/mlx5/qp.c:2686:28: warning: cast from restricted __be32
      drivers/infiniband/hw/mlx5/qp.c:2686:28: warning: cast from restricted __be32
      drivers/infiniband/hw/mlx5/qp.c:2686:28: warning: cast from restricted __be32
      
      This patch does not change any functionality.
      
      Fixes: a60109dc ("IB/mlx5: Add support for extended atomic operations")
      Signed-off-by: NBart Van Assche <bvanassche@acm.org>
      Acked-by: NLeon Romanovsky <leonro@mellanox.com>
      Signed-off-by: NJason Gunthorpe <jgg@mellanox.com>
      bf3b4f06
  16. 05 2月, 2019 1 次提交
  17. 22 1月, 2019 1 次提交
  18. 11 1月, 2019 1 次提交
  19. 03 1月, 2019 1 次提交
  20. 19 12月, 2018 2 次提交
  21. 15 12月, 2018 1 次提交
  22. 12 12月, 2018 1 次提交
  23. 08 12月, 2018 1 次提交
  24. 05 12月, 2018 1 次提交
  25. 30 11月, 2018 1 次提交
  26. 22 11月, 2018 3 次提交
  27. 17 10月, 2018 3 次提交