Received: by 2002:ab2:7041:0:b0:1f4:bcc8:f211 with SMTP id x1csp23552lql; Fri, 12 Apr 2024 02:21:34 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVzJYV2NWBO2juT252SQXXSGuPakfrc7+f+ZTg2aX0oyMzP5oEBPm4eZK+h0Q4Ha/r5Kjtz4LlgLmsXGF1pK97WX1Mg4MtzaRqiwEF3aw== X-Google-Smtp-Source: AGHT+IH5uuhXOYonFn2Ei7kK8f9TKkwOV4AeszlPvx39EZg97ApFf1Z8OMQAxnxcfqEuvefrWkrm X-Received: by 2002:ac2:4d09:0:b0:517:5ee6:4f59 with SMTP id r9-20020ac24d09000000b005175ee64f59mr1737114lfi.41.1712913694558; Fri, 12 Apr 2024 02:21:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712913694; cv=pass; d=google.com; s=arc-20160816; b=KPwwh11Lmw1Iikz9JlBjjqr5t+hCkQPCAbhMBL2rSqqIalsuLJ1NIEyQ3eycAQ+KNH //+zyXGS9FG0D6btjcUBZ32S3LcyyQ4GYpjN+mcnhPPrlvB0gr6JOCIVLWZcuo871+z7 U7YNirNHgI9Gn2/I9cOnIFC7OpUiisuKhDmqKDZv77DHegKphnDBI4D9VVaxMJM3ZzCx AijuENV0j3smnTWILbOpWa6LqDNSskNvSPTGbGd8cWnlpRdlvpZJQzE7SUNLW8BVzYx1 upm6xLW+qFYv+bRhIdjGKwFzLATvVcdsxFjzkxNvNC0To5irGk0oLDFhMIzXAS3iIo22 kYlw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=D5IosD/L5h0J3dFqA45a/VLHL2Nckcqs/JdEyeq+a4M=; fh=KWvyQxL3Ff+3WPSMjlYu+P4255AmcMULAsFol6M1vNI=; b=n8xRdfOWB9DlVIbp42bUkroADokSunNe0FDgIT0g9PXer22Uzsbl1QEu9/PaV9PaVd HNmJBx7PYcfIRpajHUi2WCq0HC6k5jRYcHCmWXzCQ7f580fDy6x3/hmGeB1t+j5Aiv/X xlP97MCeoUfVCIQc4rxzdl5l3Tf+VWTAvGWveUpOSPP41exvTygYKcMx7gxd+RH7mydG iEgcf1SbchLRVcyo0HiwLE9HuXrjqxux3ecTb0X734VwJccaew381Irise9hIQ5LmPma Ue5e1zdtxSs2Yji51NpT2Al0b6HfiE9dxEMIwk1juwXq6Qwh+lhgEu6wYTMtfMLmaKZf FDvQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=hisilicon.com dmarc=pass fromdomain=hisilicon.com); spf=pass (google.com: domain of linux-kernel+bounces-142385-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-142385-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=hisilicon.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id l17-20020a1709060e1100b00a4e24dcad27si1491741eji.898.2024.04.12.02.21.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Apr 2024 02:21:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-142385-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=hisilicon.com dmarc=pass fromdomain=hisilicon.com); spf=pass (google.com: domain of linux-kernel+bounces-142385-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-142385-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=hisilicon.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 489B11F2228D for ; Fri, 12 Apr 2024 09:21:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E6A0653811; Fri, 12 Apr 2024 09:20:52 +0000 (UTC) Received: from szxga07-in.huawei.com (szxga07-in.huawei.com [45.249.212.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 92B2E4D5AA; Fri, 12 Apr 2024 09:20:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.35 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712913652; cv=none; b=G3/byrUk3BhmI8svnVpLYtTbJTX3gM0dp2OgBghdkLfSkZms7Rss+jK8GOXm8V0Bihd//uq0HRYyLS6UPnpRoi1g1tajZpED5g4rrEOrgSTng7qwsdiQgOu8al99kTfQLOLdqa1SlsaYGKFicwzPuQRFJAKoPZifOS+TZ43DLf4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712913652; c=relaxed/simple; bh=D+KmjrU/hqLeHxIk8mdn7W4QFm7pQwS3YMj6bTQTA54=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=I+Z6SkE7C6HFJ1lu6Ot5Mn9dc6Qh/RlD8QCakxj3IsBwNbqMz80nsng/GUKrCAe/Pwf3oxmYmooEtg+iFRLRYviEvnWa+4smvovO8gaPrlkEQz+z+NF0X5BD5gDWA0kIZBM0wC4z3txnkFE6agqHK8zC9unc+tkVngpzczUotYk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=hisilicon.com; spf=pass smtp.mailfrom=hisilicon.com; arc=none smtp.client-ip=45.249.212.35 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=hisilicon.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=hisilicon.com Received: from mail.maildlp.com (unknown [172.19.163.44]) by szxga07-in.huawei.com (SkyGuard) with ESMTP id 4VG9vj0QMKz1RBW7; Fri, 12 Apr 2024 17:17:53 +0800 (CST) Received: from kwepemi500006.china.huawei.com (unknown [7.221.188.68]) by mail.maildlp.com (Postfix) with ESMTPS id 01DBF1403D3; Fri, 12 Apr 2024 17:20:47 +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_256_GCM_SHA384) id 15.1.2507.35; Fri, 12 Apr 2024 17:20:46 +0800 From: Junxian Huang To: , CC: , , , Subject: [PATCH for-next 00/10] RDMA/hns: Bugfixes and cleanups Date: Fri, 12 Apr 2024 17:16:06 +0800 Message-ID: <20240412091616.370789-1-huangjunxian6@hisilicon.com> X-Mailer: git-send-email 2.30.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To kwepemi500006.china.huawei.com (7.221.188.68) Here are some bugfixes and cleanups. Chengchang Tang (7): RDMA/hns: Remove unused parameters and variables RDMA/hns: Add max_ah and cq moderation capacities in query_device() RDMA/hns: Fix deadlock on SRQ async events. RDMA/hns: Fix UAF for cq async event RDMA/hns: Fix GMV table pagesize RDMA/hns: Use complete parentheses in macros RDMA/hns: Modify the print level of CQE error Yangyang Li (1): RDMA/hns: Use macro instead of magic number wenglianfa (2): RDMA/hns: Fix mismatch exception rollback RDMA/hns: Add mutex_destroy() drivers/infiniband/hw/hns/hns_roce_alloc.c | 3 +- drivers/infiniband/hw/hns/hns_roce_cq.c | 25 ++++---- drivers/infiniband/hw/hns/hns_roce_device.h | 8 ++- drivers/infiniband/hw/hns/hns_roce_hem.c | 17 +++-- drivers/infiniband/hw/hns/hns_roce_hem.h | 12 ++-- drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 69 +++++++++++---------- drivers/infiniband/hw/hns/hns_roce_hw_v2.h | 15 ++++- drivers/infiniband/hw/hns/hns_roce_main.c | 32 +++++++++- drivers/infiniband/hw/hns/hns_roce_mr.c | 4 +- drivers/infiniband/hw/hns/hns_roce_qp.c | 16 +++-- drivers/infiniband/hw/hns/hns_roce_srq.c | 12 ++-- 11 files changed, 133 insertions(+), 80 deletions(-) -- 2.30.0