From patchwork Wed Jun 2 15:46:15 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Devesh Sharma X-Patchwork-Id: 12295195 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,MIME_NO_TEXT, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A9D62C4708F for ; Wed, 2 Jun 2021 15:47:36 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 94F1661437 for ; Wed, 2 Jun 2021 15:47:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232269AbhFBPtS (ORCPT ); Wed, 2 Jun 2021 11:49:18 -0400 Received: from mail-pg1-f176.google.com ([209.85.215.176]:42555 "EHLO mail-pg1-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232294AbhFBPtN (ORCPT ); Wed, 2 Jun 2021 11:49:13 -0400 Received: by mail-pg1-f176.google.com with SMTP id t8so2553575pgb.9 for ; Wed, 02 Jun 2021 08:47:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:to:cc:subject:date:message-id:mime-version; bh=IswZHuGpL7VzRynahTWEpnlhTmfjzHpPrCANh2zibG8=; b=UPvxZAWcqSVzd0RoE7pkRWdSDKepDawnm101Qfbip3CGd3RtcQHVgL34VaFkLvg3pM bfpxszWsLuAbSBIQOgzxbzuMzJH4w3HzNctqBTB9N2HoC8zVm1aXYgjgWXTVyPMSurq+ iRMgGXsxokOqURfG/2ToXZ8/uXtmG3FuWOty0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version; bh=IswZHuGpL7VzRynahTWEpnlhTmfjzHpPrCANh2zibG8=; b=Tv82IsdF1D+UVRs6wXS/SstqO3JOTZyXugqvdCk+OWAhs/28xOQTlTcVEirUQQVhiX mh07zwrEUyhSM/7w+2dmOlzqU9jjX3y2gguSjm/Ky+SemO978UtPc3YT8zXLfVY0ZZhj R6YMAe7vCm4kqRFF7MV4fDsovFn5iJI4KbfhsTA/PQu2vMTMH6iqgjYj78pCh2P9BjwU n58QN0rSFK5kmdPfNNlJvHFwwcVInpM14wLDsD38xh2K7sVhIjK7oM5r6vwVb7ac4SbP nKaCtdQ0nfxi34LE/AVugPEfxNNT1/3c6RXgJReKX0Mle99mY3u/Elc197vxeM6TvY9r eb+A== X-Gm-Message-State: AOAM53341lGkxKUX0w5Mayma+egpMIvCSrqh3Ie2PjKqLb2H/TaqLsx2 NBsK6QEc4uw2e/6hfZ0R5qy4A0/1yeDP6psJiFSNmiEVQFvHzbgwlCVAWEvETWWx+kgS0Fjgm6w 6mI+cGPe9cdbZMxXSSgn99pfii3BE2kBGgdQrE7pc2LHujH3WrfrqYsqsBVTcBLoFmcWJ2W0Uri P8IJf/Ug== X-Google-Smtp-Source: ABdhPJy3Z7nnRgfvsbyvDAtL1CXCjaQpLLToKTaTuVWVabUFmE3jY3Dw0QWAKWJw9hmdGHgVD9NPKA== X-Received: by 2002:a62:92cd:0:b029:28f:29e6:449 with SMTP id o196-20020a6292cd0000b029028f29e60449mr27818201pfd.75.1622648789334; Wed, 02 Jun 2021 08:46:29 -0700 (PDT) Received: from dev01.dhcp.broadcom.net ([192.19.234.250]) by smtp.gmail.com with ESMTPSA id k7sm30204pjj.46.2021.06.02.08.46.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Jun 2021 08:46:28 -0700 (PDT) From: Devesh Sharma To: linux-rdma@vger.kernel.org Cc: Devesh Sharma Subject: [PATCH V5 for-next 0/3] Broadcom's driver add global atomics Date: Wed, 2 Jun 2021 21:16:15 +0530 Message-Id: <20210602154618.973816-1-devesh.sharma@broadcom.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org Adding automated detection and enablement of global PCI atomic operation support. Updated to ABI to pass wqe-mode to user to support rdma-core pull request: https://github.com/linux-rdma/rdma-core/pull/1007 v4->v5 fixed commit msg in patch 0001 fixed mixing of int with bool v3->v4 removed redundant code to enable global atomics refactored to honor standard error codes. v2->v3 Added additional patch to update ABI. A PR corresponding to this is open. V1->V2 renamed bnxt_qplib_enable_atomic_ops_to_root to bnxt_qplib_determine_atomics Devesh Sharma (3): RDMA/bnxt_re: Enable global atomic ops if platform supports bnxt_re: Update maintainers list RDMA/bnxt_re: update ABI to pass wqe-mode to user space MAINTAINERS | 2 -- drivers/infiniband/hw/bnxt_re/ib_verbs.c | 7 +++++++ drivers/infiniband/hw/bnxt_re/main.c | 3 +++ drivers/infiniband/hw/bnxt_re/qplib_res.c | 17 +++++++++++++++++ drivers/infiniband/hw/bnxt_re/qplib_res.h | 1 + drivers/infiniband/hw/bnxt_re/qplib_sp.c | 13 ++++++++++++- drivers/infiniband/hw/bnxt_re/qplib_sp.h | 2 -- include/uapi/rdma/bnxt_re-abi.h | 5 ++++- 8 files changed, 44 insertions(+), 6 deletions(-)