Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1015807pxk; Thu, 10 Sep 2020 05:04:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJNm6CyuyuIEVDwcY29q3GUnjtuKZvB3bWGgnTZz0cR01ZPssE5tLHoOQ4ct7YgyvkEhN8 X-Received: by 2002:a17:906:364b:: with SMTP id r11mr8172354ejb.48.1599739460223; Thu, 10 Sep 2020 05:04:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599739460; cv=none; d=google.com; s=arc-20160816; b=CJCKPdzXCCku8gRQgevJ/wd8hV04UVfOM7amYZ+KkF/Nn3+j5+KLO5bKhctPsqRLGo LXMOVIhM4VNUMo8Jq9Eq7YdtWH5oVTq1jIOPo+xYuhOA1Cx2x/IV6X4LaAu3xnSTdmF6 qq092zGotMJcbCYxHgFb3MHi3UPm7SfO+abUEzB1uPKFswxPVy19zeqHusAijklqGbh4 at9kWqLeFCZ9pfD++K2gpbYLFjDiR/l7DwAXbS4ID2EPPNHKTDeEFYgN2+Gw1l4b9P5N IEFOovqEEYZB4e8mw6TswU7tfNcVlOkP4XRHnlLeuUD+46zrOAUWwljSaA1QdA7ttUyx YFtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=qrOPHji0i1jbn7p34mQDyU7sRLB+Ut96nlCnjaflNtg=; b=IkQ+x5VOSWl0vWIFDiK2Hf0q00oxGX+Ax3dtNXXwbHRQF/onmiylfjsbIo8i/u1Jmh HB3B49BuDUkIaSVsY2ogxiymEaAetxqXmRgP1PkzoIM/WJrvBFsuw5e9Hi3Pi+RuoUWa H0dLiqqgxUMLsG1mtyDi0PDa8KlLe8L/F0vxVgQ6/+fJcDwdnDaFsoHLv+1a2QW/ZIbd GB0iIKY9IpqHqpn73eCj54qnSW4x9b96B3+7nKBVFI+N64C+NvogpcYI8G9PwJm/pqp3 A1ErdAgNVt44aWIND67UjI8sB58Rv1mMOWyS6nBZZwL7J1aSsDkexdkWDed+rJ5QkgBW pDhw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c21si3386883edx.296.2020.09.10.05.03.55; Thu, 10 Sep 2020 05:04:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727830AbgIJMCI (ORCPT + 99 others); Thu, 10 Sep 2020 08:02:08 -0400 Received: from szxga05-in.huawei.com ([45.249.212.191]:11768 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730319AbgIJL6F (ORCPT ); Thu, 10 Sep 2020 07:58:05 -0400 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id C1D95D51130438F9BE6C for ; Thu, 10 Sep 2020 19:57:53 +0800 (CST) Received: from huawei.com (10.67.165.24) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.487.0; Thu, 10 Sep 2020 19:57:50 +0800 From: Longfang Liu To: CC: Subject: [PATCH 3/5] crypto: hisilicon - update SEC module parameter description Date: Thu, 10 Sep 2020 19:56:41 +0800 Message-ID: <1599739003-23448-4-git-send-email-liulongfang@huawei.com> X-Mailer: git-send-email 2.8.1 In-Reply-To: <1599739003-23448-1-git-send-email-liulongfang@huawei.com> References: <1599739003-23448-1-git-send-email-liulongfang@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.67.165.24] X-CFilter-Loop: Reflected Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org In order to pass kernel CRYPTO test, SEC module parameter 'pf_q_num' needs to be set as greater than 1. Signed-off-by: Longfang Liu --- drivers/crypto/hisilicon/sec2/sec_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/hisilicon/sec2/sec_main.c b/drivers/crypto/hisilicon/sec2/sec_main.c index f912e57..de42264 100644 --- a/drivers/crypto/hisilicon/sec2/sec_main.c +++ b/drivers/crypto/hisilicon/sec2/sec_main.c @@ -169,7 +169,7 @@ static const struct kernel_param_ops sec_pf_q_num_ops = { static u32 pf_q_num = SEC_PF_DEF_Q_NUM; module_param_cb(pf_q_num, &sec_pf_q_num_ops, &pf_q_num, 0444); -MODULE_PARM_DESC(pf_q_num, "Number of queues in PF(v1 0-4096, v2 0-1024)"); +MODULE_PARM_DESC(pf_q_num, "Number of queues in PF(v1 2-4096, v2 2-1024)"); static int sec_ctx_q_num_set(const char *val, const struct kernel_param *kp) { -- 2.8.1