Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758676AbcJYMCK (ORCPT ); Tue, 25 Oct 2016 08:02:10 -0400 Received: from mail-pf0-f177.google.com ([209.85.192.177]:33934 "EHLO mail-pf0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750841AbcJYMCI (ORCPT ); Tue, 25 Oct 2016 08:02:08 -0400 From: Binoy Jayan To: Doug Ledford , Sean Hefty , Hal Rosenstock Cc: Arnd Bergmann , linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org, Binoy Jayan Subject: [PATCH v2 0/8] infiniband: Remove semaphores Date: Tue, 25 Oct 2016 17:31:51 +0530 Message-Id: <1477396919-27669-1-git-send-email-binoy.jayan@linaro.org> X-Mailer: git-send-email 1.8.2.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1781 Lines: 43 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