Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp11989761rwb; Sat, 26 Nov 2022 02:40:25 -0800 (PST) X-Google-Smtp-Source: AA0mqf5m+oOZAjvVOhFZPCEaTknZ1IPNYODZBPM29zlh9GBJ3irmwKNoP1CnEaXhTh0TC9FCZ4q2 X-Received: by 2002:a05:6402:449b:b0:459:2b41:3922 with SMTP id er27-20020a056402449b00b004592b413922mr32084256edb.160.1669459225673; Sat, 26 Nov 2022 02:40:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669459225; cv=none; d=google.com; s=arc-20160816; b=U+zoKHmyLdD27MRDfYTPGTX00QZB/Gd7qGC7rYWBQsm/0Qs/fez5vuyLmmIRqHlRTo rlXWb/TjlEqZ3hoRk43WYMQOk00Cuno2qULy0p2dUsaoWxmfANLaVhBfL82kIRTDikhF rsvD08PNl9g1/2kXSDJBI7m1ic2URXuW6dNgz2s/qQVx4+v/8aSItgS7VXgSJyDEV6N0 nFfeyfEVNPpZg+H1TfN8YJeQ+UZkfb7/xH1hnCJn7L3aRh7nu6TXsyBPlujFOWpx8qi9 u20K4Ne2XsNXZM5GOuXnw/R2K3ClEqsXzftY63v98Ga9urCV70bOVj6v3OlOhPJfOBXH 4iVw== 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=44KfqJ4kF0Wx5JA10PDWg0LJIFyXAIB0xqOSzMaCdc8=; b=AOWIb03OKZkoc+pihpK0QOcKDX5pPvlhJN3KXMWtZaqTHn5kK9MlrhSwNZ86e81uxy SQ6sqGuHzT3ZtQLUcpsRu95LeU6rY0qr1MYAb+NpKtxRSJhhzcAAO5ntEuvB1+it7GhY z7OoY0+UcqR7lOg0GuleiMTh94ns7ts7dmUIHSiOnEHbug0+k++JUlE3SoR8zFUM2V8S HqtTBFPv+h8+nFDpBhrmfy4ewQrzLbzxFabFAOxU2+B5Z4qEqgJfMT8MIA4ucPIXkjdZ mPk8y7Hk4lSDExGZVwMP+4vQw4Dy787Iqozh+eutrv2du2seG6fj5a012y37wTckafGw 8R1A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i7-20020a05640242c700b004619e210510si3941419edc.150.2022.11.26.02.40.02; Sat, 26 Nov 2022 02:40:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=hisilicon.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229611AbiKZKaM (ORCPT + 85 others); Sat, 26 Nov 2022 05:30:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229495AbiKZKaJ (ORCPT ); Sat, 26 Nov 2022 05:30:09 -0500 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B162A286E0; Sat, 26 Nov 2022 02:30:07 -0800 (PST) Received: from dggemv711-chm.china.huawei.com (unknown [172.30.72.54]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4NK7Db3pjfzpW8l; Sat, 26 Nov 2022 18:26:07 +0800 (CST) Received: from kwepemm600013.china.huawei.com (7.193.23.68) by dggemv711-chm.china.huawei.com (10.1.198.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Sat, 26 Nov 2022 18:30:05 +0800 Received: from localhost.localdomain (10.67.165.2) by kwepemm600013.china.huawei.com (7.193.23.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Sat, 26 Nov 2022 18:30:05 +0800 From: Haoyue Xu To: , CC: , , , Subject: [PATCH for-next 0/6] Bugfix for GID and PBL page Date: Sat, 26 Nov 2022 18:29:05 +0800 Message-ID: <20221126102911.2921820-1-xuhaoyue1@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: dggems706-chm.china.huawei.com (10.3.19.183) To kwepemm600013.china.huawei.com (7.193.23.68) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,HK_RANDOM_ENVFROM, HK_RANDOM_FROM,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS 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 This patch set mainly fixes the GID problem caused by free mr. The second and third patches fix the error on the PBL. The last three patches fix minor errors found while running the rdma-core tests. 1.#1: The GID problem caused by free mr 2.#2-#3: Fix the error on the PBL 3.#4-#5: Two minor return errors 4.#6: The default caps error Chengchang Tang (5): RDMA/hns: Fix AH attr queried by query_qp RDMA/hns: Fix PBL page MTR find RDMA/hns: Fix page size cap from firmwall RDMA/hns: Fix error code of CMD RDMA/hns: Fix XRC caps on HIP08 Yixing Liu (1): RDMA/hns: Fix the gid problem caused by free mr drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 214 ++++++++++++++++----- drivers/infiniband/hw/hns/hns_roce_hw_v2.h | 11 +- 2 files changed, 179 insertions(+), 46 deletions(-) -- 2.30.0