From patchwork Wed Aug 28 07:41:30 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yuval Shaia X-Patchwork-Id: 11118087 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E72EA16B1 for ; Wed, 28 Aug 2019 07:42:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C7C3C20679 for ; Wed, 28 Aug 2019 07:42:32 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=oracle.com header.i=@oracle.com header.b="GSjT8XvT" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726272AbfH1Hmc (ORCPT ); Wed, 28 Aug 2019 03:42:32 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:40106 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726154AbfH1Hmb (ORCPT ); Wed, 28 Aug 2019 03:42:31 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x7S7d1ij130564; Wed, 28 Aug 2019 07:41:53 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : subject : date : message-id : mime-version : content-transfer-encoding; s=corp-2019-08-05; bh=ArCRU73PllDIDfmFxhcXkjDLse/oco09lJ8r/w0jCBc=; b=GSjT8XvTtBMrnlV42nzijeEd2rIlX3wNyqa4GnALWqvC4aQDJqtCjxOp/Ue/eov4SiQe nWCr3F6ywb8UYK+D9mUZBXK+y49kPszxlOeNpmE51fPbRlLi/SZTqcVnp5Yv97LrzpuY UeRVv9/VXGfH3wr26W4piWjnBL34r8ZxgN8R+VrCs8XdvKf58XtVj+a0985nrJUwYnTB 7TaY+dBRmmI9h6QbQf4WT8I2EdbF1v6/6ZfiCCMcYQpM1LP+nMfCgk01k1+l+OGReXRm kWcbozMBpoX9R7PKDpiqAwRKCj/RrSnNTNTh2Sq3fmMw+Gf74yj3V2Q+55AF1XeInsZa Ww== Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by aserp2120.oracle.com with ESMTP id 2unnbhg197-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 28 Aug 2019 07:41:53 +0000 Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x7S7cZWD123373; Wed, 28 Aug 2019 07:41:52 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userp3020.oracle.com with ESMTP id 2un5rkpda8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 28 Aug 2019 07:41:51 +0000 Received: from abhmp0002.oracle.com (abhmp0002.oracle.com [141.146.116.8]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x7S7fngb016393; Wed, 28 Aug 2019 07:41:49 GMT Received: from host5.lan (/77.138.183.59) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 28 Aug 2019 00:41:48 -0700 From: Yuval Shaia To: dledford@redhat.com, jgg@ziepe.ca, oulijun@huawei.com, xavier.huwei@huawei.com, leon@kernel.org, majd@mellanox.com, markz@mellanox.com, swise@opengridcomputing.com, galpress@amazon.com, monis@mellanox.com, israelr@mellanox.com, maxg@mellanox.com, dan.carpenter@oracle.com, kamalheib1@gmail.com, yuval.shaia@oracle.com, denisd@mellanox.com, yuvalav@mellanox.com, dennis.dalessandro@intel.com, ereza@mellanox.com, will@kernel.org, linux-rdma@vger.kernel.org, jgg@mellanox.com, srabinov7@gmail.com, santosh.shilimkar@oracle.com Subject: [PATCH 0/4] Take out ucontext from HW objects Date: Wed, 28 Aug 2019 10:41:30 +0300 Message-Id: <20190828074134.17042-1-yuval.shaia@oracle.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9362 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=641 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1908280080 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9362 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=701 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1908280080 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org This patch-set, originaly part of Shared PD & MR patch-set, intend to take out the field ucontext from the HW objects ib_pd and ib_mr. Shamir Rabinovitch (3): RDMA/uverbs: uobj_get_obj_read should return the ib_uobject RDMA/uverbs: Delete the macro uobj_put_obj_read IB/{core,hw}: ib_pd should not have ib_uobject pointer Yuval Shaia (1): IB/core: ib_mr should not have ib_uobject pointer drivers/infiniband/core/uverbs_cmd.c | 219 +++++++++++------- drivers/infiniband/core/uverbs_std_types_mr.c | 1 - drivers/infiniband/core/verbs.c | 4 - drivers/infiniband/hw/hns/hns_roce_hw_v1.c | 1 - drivers/infiniband/hw/mlx5/main.c | 1 - drivers/infiniband/hw/mthca/mthca_qp.c | 3 +- include/rdma/ib_verbs.h | 2 - include/rdma/uverbs_std_types.h | 11 +- 8 files changed, 146 insertions(+), 96 deletions(-)