From patchwork Wed Nov 29 09:44:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Junxian Huang X-Patchwork-Id: 17256 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a5a7:0:b0:403:3b70:6f57 with SMTP id d7csp227091vqn; Wed, 29 Nov 2023 01:48:27 -0800 (PST) X-Google-Smtp-Source: AGHT+IGSWyqfa6RF35RZVRfMpJotKnvY4juO8EgybliFi2KgB3lR9FQM0ohLHR1HCLiWnh2RMKoG X-Received: by 2002:a9d:7359:0:b0:6b8:6f94:d3a2 with SMTP id l25-20020a9d7359000000b006b86f94d3a2mr18671547otk.25.1701251307160; Wed, 29 Nov 2023 01:48:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701251307; cv=none; d=google.com; s=arc-20160816; b=ylrjor5rpMWaUVQEAr2Yg8/N90Eq9jh+CMlx7HHk8Q/uKlq57t4Btx1PJIFxj+P6UM K4H7CJxjmsthN48EbjS7xfGQJUUCvxzC1S2eojzXcOyqlI9RT8GgI/cjR1hwJlEr0mKP BU6DEAjMf5kYep/E/PblPfQOaTyqCHLg+NJjaSGLm1l0N6vmczpXAmdpQqRjBz2oAmCS nFih/2swcSDWJlvtN0hn1SOYZ3+3WOYPWQkvJ1qzJZptr8/OT3TIblcLZyjZ32LhFSrg eGiySLR9d3bgE0qYzpGkzK64LESsQWSZttiF+2WreSFb0pgsYfiJ0BMl6I73qX27Vh6j kr7Q== 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=JeaoJc+/zsv/uZNTjuPqJ7WkBooCFpNN90hGhbDk7OI=; fh=KWvyQxL3Ff+3WPSMjlYu+P4255AmcMULAsFol6M1vNI=; b=gQdjG5v6pEqmEQ7EUtffZO764mhgxn4OedlBrqHdysyUPiC5kJ2+OUQrqv9RohEcO5 hO12LFBezfFG5f1zgc/2Vq6hvgpEuClJrPJoPZTCeQnHiydG3x+2YBbVcUu/l8Jg7P8x h7YAk00Eky5faWBZiqHkuETPAfjkxBzDsPA5Hpp6ZnqkmNw0vulBudgUqVblD01wgAZg BmTMVxJghfMmqx8XAj/19zz85brXJodkMbJbLRZa91Gbep2HApJho0IQzsflI36cyx+P 8t+v6fPSjAWO22yYwPua9P1Y9LVM3EsMEhpMnOEY0k/Cks4vjFD7Q/raM1JbjAGH1dt9 M7Eg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id w16-20020a63f510000000b005c2783b71cfsi14308496pgh.810.2023.11.29.01.48.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 01:48:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 29BF18031E13; Wed, 29 Nov 2023 01:48:26 -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 S230163AbjK2JsM (ORCPT + 99 others); Wed, 29 Nov 2023 04:48:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229601AbjK2JsE (ORCPT ); Wed, 29 Nov 2023 04:48:04 -0500 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0679819AE; Wed, 29 Nov 2023 01:48:10 -0800 (PST) Received: from kwepemi500006.china.huawei.com (unknown [172.30.72.54]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4SgDy33z5hzWhp0; Wed, 29 Nov 2023 17:47:23 +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; Wed, 29 Nov 2023 17:48:07 +0800 From: Junxian Huang To: , CC: , , , Subject: [PATCH for-rc 0/6] Bugfixes and improvements for hns RoCE Date: Wed, 29 Nov 2023 17:44:28 +0800 Message-ID: <20231129094434.134528-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: dggems703-chm.china.huawei.com (10.3.19.180) To kwepemi500006.china.huawei.com (7.221.188.68) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, 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]); Wed, 29 Nov 2023 01:48:26 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783891290705722182 X-GMAIL-MSGID: 1783891290705722182 Here are several bugfixes and improvements for hns RoCE. Chengchang Tang (4): 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() RDMA/hns: Improve the readability of free mr uninit 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 | 87 +++++++++++++++------- drivers/infiniband/hw/hns/hns_roce_mr.c | 2 +- include/uapi/rdma/hns-abi.h | 5 ++ 4 files changed, 73 insertions(+), 28 deletions(-) --- 2.30.0