Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4452790rdh; Wed, 29 Nov 2023 01:48:28 -0800 (PST) X-Google-Smtp-Source: AGHT+IEvz7FNrQKcov/owtYRgvBjgESxvAUz/FPCicDeRlGPNNjQjamxvT6wHDKEaRQMc5MrHSap X-Received: by 2002:a17:903:183:b0:1c7:5f03:8562 with SMTP id z3-20020a170903018300b001c75f038562mr24829443plg.30.1701251307758; 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=oj2CLh+Wt5Suj+P3vxMIWyc3MpXCeaPYzYCSQvKbumII13hirDwBuVgnmx3/iFFCfJ kZHgQ9vNypGm6v0qMsccD08NvPXrYyIn117TzTEf26sak637UW+rS3hhwaIPxbfGhaa/ PtktUMxo/mxHJneH82UvmfRpq8mhmTjDzizJa+06RHXdArhPkftESQS7q/8za16Uxmry ZGOl391itPZuH7tM2k/x2t3DvIK/Ysieu0uyX+/OWJmQjVpb74dZfdc39Hg+PPLlx1Eo jqpL3nVbnMXFDf1d6AZNVmd7xHOjfdi+0ITSW0efg7NggvLFl07z1AYaUs1MhGzgDV27 GADw== 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 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 Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id ju12-20020a170903428c00b001cf58065627si13435759plb.303.2023.11.29.01.48.27 (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 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 C0EBF8078D22; 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 Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=US-ASCII 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) 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