From patchwork Thu Dec 7 11:42:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Junxian Huang X-Patchwork-Id: 17682 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:bcd1:0:b0:403:3b70:6f57 with SMTP id r17csp4721592vqy; Thu, 7 Dec 2023 03:47:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IFolkNBS9F7YNHBWmLf7LXj5lwbnzSd1KC7FmRGgvCceSKtE51vsFSLV6XPU6H2dx+NjlFd X-Received: by 2002:a05:6870:944d:b0:1fb:75b:99b4 with SMTP id e13-20020a056870944d00b001fb075b99b4mr2496079oal.99.1701949629857; Thu, 07 Dec 2023 03:47:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701949629; cv=none; d=google.com; s=arc-20160816; b=q9KiVFVrlg+sPXZZ4pSsawZWEJSK0eygd04GO2KJeUQv2ddkPTMW1gEsLDlPR7C7e9 +ARu6V6SyFEbluXMpGK8H1/2f/S4AN5B8ygF8C62v2LwvBIZT6EqEVxfy6YHoltB/YHh saulccLPD72s0222uC4ujrNYH4zn8oIUy9F+j+JwTpx2p/qyJXxa4hjpPkXWaMSCFdiX Jf0zw5XmD1ouUwYIhJ0BuzoGDtTzKwZxdl/n7G4h0tFuEqlZYOfQmsOy7PuweeUlaj+2 Gwksu1eDEQLjmS30SqbArrL4vf60NADKFZA/sP8XuppwhOeWcKW/NGYyMU6X7/1ehcBO Z5zw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=P3PpXyBZRPCm9mh78AoNAaS0ELjuTDUO06HPniSZZdc=; fh=KWvyQxL3Ff+3WPSMjlYu+P4255AmcMULAsFol6M1vNI=; b=PSFQiV0zi9BUxEedly1l/oQdeY1Jwly82tR8t6k4iW/1ZWa3C1SqQYBIsAzp/ZqFBZ pF6MAXTFDLHuCAt3KJd8vnGvMR41cVRm3ZyfJdkT+IGHChuAJaR3XhdHlYfefh7iTBYX SgQ/qo6KRjiJsXV3GPEOSfH5WKpHVTcZxsQy6TpkhDj3vmbn3QUu1JjFSF9pbCcMzAMh ATvV9Hri3kZaim3cVRhzLOVSHrCOfch16M+qYjYs0U6OKZhb5LnjKbjHwbr1p6INHxeh lcAzli4VnGz20dViOlb9YmoqoMpQcciuYdex1cK9cmMGeDwqjxxPzurLwIm1q6jeNpin w5KQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=hisilicon.com Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id z20-20020a656654000000b005c278464e08si1026006pgv.275.2023.12.07.03.47.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 03:47:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=hisilicon.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 974C5807C86A; Thu, 7 Dec 2023 03:46:23 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232516AbjLGLqK (ORCPT + 99 others); Thu, 7 Dec 2023 06:46:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230234AbjLGLqE (ORCPT ); Thu, 7 Dec 2023 06:46:04 -0500 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C11E2D53; Thu, 7 Dec 2023 03:46:10 -0800 (PST) Received: from kwepemi500006.china.huawei.com (unknown [172.30.72.57]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4SmCBb6hpnzYsnr; Thu, 7 Dec 2023 19:45:27 +0800 (CST) Received: from localhost.localdomain (10.67.165.2) by kwepemi500006.china.huawei.com (7.221.188.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 7 Dec 2023 19:46:07 +0800 From: Junxian Huang To: , CC: , , , Subject: [PATCH v2 for-next 0/5] Bugfixes and improvements for hns RoCE Date: Thu, 7 Dec 2023 19:42:26 +0800 Message-ID: <20231207114231.2872104-1-huangjunxian6@hisilicon.com> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 X-Originating-IP: [10.67.165.2] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To kwepemi500006.china.huawei.com (7.221.188.68) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 07 Dec 2023 03:46:23 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1784623534689800989 X-GMAIL-MSGID: 1784623534689800989 Here are several bugfixes and improvements for hns RoCE. v1 -> v2: * Change applying target from -rc to -next * Drop patch #6 in v1 Chengchang Tang (3): RDMA/hns: Rename the interrupts RDMA/hns: Remove unnecessary checks for NULL in mtr_alloc_bufs() RDMA/hns: Fix memory leak in free_mr_init() Junxian Huang (2): RDMA/hns: Response dmac to userspace RDMA/hns: Add a max length of gid table drivers/infiniband/hw/hns/hns_roce_ah.c | 7 +++++++ drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 22 +++++++++++++++++----- drivers/infiniband/hw/hns/hns_roce_mr.c | 2 +- include/uapi/rdma/hns-abi.h | 5 +++++ 4 files changed, 30 insertions(+), 6 deletions(-) --- 2.30.0