linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/8] infiniband: Remove semaphores
@ 2016-10-25 12:01 Binoy Jayan
  2016-10-25 12:01 ` [PATCH v2 1/8] IB/core: iwpm_nlmsg_request: Replace semaphore with completion Binoy Jayan
                   ` (7 more replies)
  0 siblings, 8 replies; 24+ messages in thread
From: Binoy Jayan @ 2016-10-25 12:01 UTC (permalink / raw)
  To: Doug Ledford, Sean Hefty, Hal Rosenstock
  Cc: Arnd Bergmann, linux-rdma, linux-kernel, Binoy Jayan

Hi,

These are a set of patches [v2] which removes semaphores from infiniband.
These are part of a bigger effort to eliminate all semaphores from the
linux kernel.

v1 -> v2:

IB/hns   : Use wait_event instead of open coding counting semaphores
IB/mthca : Use wait_event instead of open coding counting semaphores
IB/mthca : Remove mutex_[un]lock from *_cmd_use_events/*_cmd_use_polling
IB/mlx5  : Cleanup, add helper mlx5_ib_post_send_wait

Thanks,
Binoy

Binoy Jayan (8):
  IB/core: iwpm_nlmsg_request: Replace semaphore with completion
  IB/core: Replace semaphore sm_sem with completion
  IB/hns: Replace semaphore poll_sem with mutex
  IB/mthca: Replace semaphore poll_sem with mutex
  IB/isert: Replace semaphore sem with completion
  IB/hns: Replace counting semaphore event_sem with wait_event
  IB/mthca: Replace counting semaphore event_sem with wait_event
  IB/mlx5: Add helper mlx5_ib_post_send_wait

 drivers/infiniband/core/iwpm_msg.c          |  8 +--
 drivers/infiniband/core/iwpm_util.c         |  7 +--
 drivers/infiniband/core/iwpm_util.h         |  3 +-
 drivers/infiniband/core/user_mad.c          | 14 +++--
 drivers/infiniband/hw/hns/hns_roce_cmd.c    | 48 ++++++++++-----
 drivers/infiniband/hw/hns/hns_roce_device.h |  5 +-
 drivers/infiniband/hw/mlx5/mr.c             | 96 +++++++++--------------------
 drivers/infiniband/hw/mthca/mthca_cmd.c     | 47 +++++++++-----
 drivers/infiniband/hw/mthca/mthca_cmd.h     |  1 +
 drivers/infiniband/hw/mthca/mthca_dev.h     |  5 +-
 drivers/infiniband/ulp/isert/ib_isert.c     |  6 +-
 drivers/infiniband/ulp/isert/ib_isert.h     |  3 +-
 12 files changed, 119 insertions(+), 124 deletions(-)

-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project

^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2016-10-27  6:23 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-25 12:01 [PATCH v2 0/8] infiniband: Remove semaphores Binoy Jayan
2016-10-25 12:01 ` [PATCH v2 1/8] IB/core: iwpm_nlmsg_request: Replace semaphore with completion Binoy Jayan
2016-10-25 12:01 ` [PATCH v2 2/8] IB/core: Replace semaphore sm_sem " Binoy Jayan
2016-10-25 12:43   ` Jack Wang
2016-10-25 15:08     ` Binoy Jayan
2016-10-25 15:48       ` Jack Wang
2016-10-25 15:48       ` Jason Gunthorpe
2016-10-25 20:15         ` Arnd Bergmann
2016-10-25 12:01 ` [PATCH v2 3/8] IB/hns: Replace semaphore poll_sem with mutex Binoy Jayan
2016-10-25 12:01 ` [PATCH v2 4/8] IB/mthca: " Binoy Jayan
2016-10-25 12:01 ` [PATCH v2 5/8] IB/isert: Replace semaphore sem with completion Binoy Jayan
2016-10-25 12:01 ` [PATCH v2 6/8] IB/hns: Replace counting semaphore event_sem with wait_event Binoy Jayan
2016-10-25 12:28   ` Arnd Bergmann
2016-10-25 12:59     ` Binoy Jayan
2016-10-25 13:21       ` Arnd Bergmann
2016-10-25 13:35         ` Binoy Jayan
2016-10-25 12:01 ` [PATCH v2 7/8] IB/mthca: " Binoy Jayan
2016-10-25 12:01 ` [PATCH v2 8/8] IB/mlx5: Add helper mlx5_ib_post_send_wait Binoy Jayan
2016-10-25 12:23   ` Arnd Bergmann
2016-10-25 12:46     ` Binoy Jayan
2016-10-25 12:26   ` Leon Romanovsky
2016-10-25 13:16     ` Binoy Jayan
2016-10-27  6:05       ` Leon Romanovsky
2016-10-27  6:23         ` Binoy Jayan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).