From patchwork Tue Oct 17 12:52:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Junxian Huang X-Patchwork-Id: 15491 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:2908:b0:403:3b70:6f57 with SMTP id ib8csp4111366vqb; Tue, 17 Oct 2023 05:56:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFqztXUV80UgqnfdrAHLALeelmVHrnUJ3eMXZRXER1T8OJxEXyFo7cs0GSuoPF4F1xTHcpl X-Received: by 2002:a05:6a00:b33:b0:690:c79c:1912 with SMTP id f51-20020a056a000b3300b00690c79c1912mr2179840pfu.0.1697547396711; Tue, 17 Oct 2023 05:56:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697547396; cv=none; d=google.com; s=arc-20160816; b=xdn78lEBl/4bBsuC681hgsXrLNR+yREpTt9bqvsBBabcDelNyrEIFRlfPf+9KPD9mT j2xrUPAEMSUcuYiHZzAi50KPEEFfup2C2bdTSNrrfUI6ml9zTH7J0qvALyEzRM75Z14b jjcx3jw0eB/DYA5oimJ2pf9/ESs2/K4H3la9ufuDymVdCE4KAmladqvC225ZyAdrWOhO txxMVZOJNLrQOORjsJDMEgj3TJgHtehdQ4kCyTEv9KGbkyhLGeUWn8nt6O8DkxcBpjSO cVitB7T7iNaeO+XGZvITLuTKZEjavRogV/862LejZUFYaVGUJjngAhUVBg8s01u9wmcP 7muA== 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=6QBYawxWcaXeA8TlnOXdMm1iVTy5H1DB9qsXdIiPKxk=; fh=KWvyQxL3Ff+3WPSMjlYu+P4255AmcMULAsFol6M1vNI=; b=OgZNyT6flWPVmWIY+8Dc/NtqPckJQaw50IAgNO976qdyQyOAOdAYfazAO+LPay8OrZ P0laaHSNGvYDdWvFxJ0AzHsTQ0H+YPMLg/1ZGPrHV5yCGQb4ZEp69Wqvx5qSZhR7FjDe jaChIhB2aUmYPfqE/nU3IAVNjwqAktgFp8upRT3gjqWswfujx8VHUAucHHAU/DYGXeHq VRCDLghVcHQkirtsu21OuJSnk/pd2O47mx/Q+aClOXBhuNcm4DSOdUjM8tGYFTJ3B0Mp YVPj/v259s54zCjM6jFWWVOsZPKDeagvr5/pABLsmkt9vfY9DhrgmKrZbW1dhuF3OrmX WByA== 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:1 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 morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id v3-20020a654603000000b0056fad9586d2si1670909pgq.429.2023.10.17.05.56.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 05:56:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 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 morse.vger.email (Postfix) with ESMTP id A678E8068E25; Tue, 17 Oct 2023 05:56:34 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343827AbjJQM4U (ORCPT + 19 others); Tue, 17 Oct 2023 08:56:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234934AbjJQMz6 (ORCPT ); Tue, 17 Oct 2023 08:55:58 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EDAC683; Tue, 17 Oct 2023 05:55:56 -0700 (PDT) Received: from kwepemi500006.china.huawei.com (unknown [172.30.72.53]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4S8v585wSWzVldY; Tue, 17 Oct 2023 20:52:12 +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.31; Tue, 17 Oct 2023 20:55:51 +0800 From: Junxian Huang To: , CC: , , , Subject: [PATCH for-rc 0/7] Bugfixes for hns RoCE Date: Tue, 17 Oct 2023 20:52:32 +0800 Message-ID: <20231017125239.164455-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=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email 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 (morse.vger.email [0.0.0.0]); Tue, 17 Oct 2023 05:56:34 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780007459267429615 X-GMAIL-MSGID: 1780007459267429615 Here is a patchset of several bugfixes. Chengchang Tang (3): RDMA/hns: Fix printing level of asynchronous events RDMA/hns: Fix uninitialized ucmd in hns_roce_create_qp_common() RDMA/hns: Fix signed-unsigned mixed comparisons Junxian Huang (2): RDMA/hns: Fix unnecessary port_num transition in HW stats allocation RDMA/hns: Fix init failure of RoCE VF and HIP08 Luoyouming (2): RDMA/hns: Add check for SL RDMA/hns: The UD mode can only be configured with DCQCN drivers/infiniband/hw/hns/hns_roce_ah.c | 13 ++++++++- drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 34 +++++++++++++--------- drivers/infiniband/hw/hns/hns_roce_main.c | 22 +++++++------- drivers/infiniband/hw/hns/hns_roce_qp.c | 2 +- 4 files changed, 43 insertions(+), 28 deletions(-) --- 2.30.0