Received: by 2002:a05:7412:518d:b0:e2:908c:2ebd with SMTP id fn13csp454076rdb; Thu, 5 Oct 2023 10:33:57 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF/GrOFQu9ewVuOdDJZiksN8CXVDs96/TWvah8+TAt4BPDfROijGNHgJHq/o18fZ9D62oGK X-Received: by 2002:a05:6a00:1791:b0:68f:ce6a:8685 with SMTP id s17-20020a056a00179100b0068fce6a8685mr4994942pfg.14.1696527236730; Thu, 05 Oct 2023 10:33:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696527236; cv=none; d=google.com; s=arc-20160816; b=f3us5ENlnk0FMEf1/EmqvK5SURLkCS58pvVM+puWO3mZSzpMw0kx3rbiqCHaWW4jF1 q5+1sQhzOHz6uudLqEVw3uQAYkrFo0MYZQQeiTB14UknaQRrYG3+BgTYW5fsFBhtq1+d rlV1g7bfq3hKfrkAjpU2U8iR5Mn5/SiCb8SIdxLlQc4cxwrJ1HfBkN3dsYdX5yZ6JiHB r/hVxYze6BLjpEmigWLpso5eW2q4ifGCVY3XrhK4CR8rjvZ60J2RwuAnxuok7zTLoKVL JWSNbTUZOjSJaNPMSdeIZB54behtALIZdLYwbdoZXtvbh3HHY4qTpTlZFk1Mb3Npm+nU hAhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=nT98PA3WUwEobTqTfSgKY2TBHxrxMRTlh3XltTfagmE=; fh=XXxUPpg2/+vhElZLhhiTULL217btPiAq6rk3BtUpq98=; b=aAqfQP2k58SnGU9Cy3MSjJqkSWbh0tKb3vcuh5ShNmzHJK/sfkQoOF0FaDkafjqrxQ QnkM73/7Zx5fumeHK/htoqrmkHa261P4Jfr3HjSmjiPpS1bOntpGcYuGAN/28zQvaaMk ahch5gyBOVNgyjZL9IzF9z8sihsMj9cvehZyxA95SCX2qDWMtTILT5P2GeqkXhEff1k0 An6ZwLNqh4XNiIyifd4yFKLnQDo9j0RjMSqfS1oX0zu8QSbfosNRCb+p9M3IHQlLtSVG F5uxuv5PuWQ4GxU3U85g1MNrW2vvjs/cWqbyYS0nQQPg4NFI3iOtlm2jEsDoEG8F84M0 uA8A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id bq20-20020a056a000e1400b006901504b6a3si1822981pfb.153.2023.10.05.10.33.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 10:33:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-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-crypto-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 4DAA9834529D; Thu, 5 Oct 2023 10:33:55 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231580AbjJER3t (ORCPT + 99 others); Thu, 5 Oct 2023 13:29:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52430 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231866AbjJER3X (ORCPT ); Thu, 5 Oct 2023 13:29:23 -0400 Received: from abb.hmeau.com (abb.hmeau.com [144.6.53.87]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 628DB268E; Thu, 5 Oct 2023 10:26:52 -0700 (PDT) Received: from loth.rohan.me.apana.org.au ([192.168.167.2]) by formenos.hmeau.com with smtp (Exim 4.94.2 #2 (Debian)) id 1qoLYf-003l8K-3c; Thu, 05 Oct 2023 18:26:18 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Thu, 05 Oct 2023 18:26:21 +0800 Date: Thu, 5 Oct 2023 18:26:21 +0800 From: Herbert Xu To: Longfang Liu Cc: wangzhou1@hisilicon.com, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] crypto: hisilicon/qm - fix PF queue parameter issue Message-ID: References: <20230928085722.39087-1-liulongfang@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230928085722.39087-1-liulongfang@huawei.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED 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-crypto@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 05 Oct 2023 10:33:55 -0700 (PDT) On Thu, Sep 28, 2023 at 04:57:22PM +0800, Longfang Liu wrote: > If the queue isolation feature is enabled, the number of queues > supported by the device changes. When PF is enabled using the > current default number of queues, the default number of queues may > be greater than the number supported by the device. As a result, > the PF fails to be bound to the driver. > > After modification, if queue isolation feature is enabled, when > the default queue parameter is greater than the number supported > by the device, the number of enabled queues will be changed to > the number supported by the device, so that the PF and driver > can be properly bound. > > Fixes: 8bbecfb402f7 ("crypto: hisilicon/qm - add queue isolation support for Kunpeng930") > Signed-off-by: Longfang Liu > --- > drivers/crypto/hisilicon/hpre/hpre_main.c | 5 +++++ > drivers/crypto/hisilicon/qm.c | 18 ++++++++++++------ > drivers/crypto/hisilicon/qm_common.h | 1 - > drivers/crypto/hisilicon/sec2/sec_main.c | 5 +++++ > drivers/crypto/hisilicon/zip/zip_main.c | 5 +++++ > include/linux/hisi_acc_qm.h | 7 +++++++ > 6 files changed, 34 insertions(+), 7 deletions(-) Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt