Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp2108627rdb; Thu, 7 Dec 2023 20:11:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IEIXJ6U2pDqHZkk64RkZ29KGXliNKQh89fnkDgiTvGNetHqSTmG72eIPlGPMGIJaXF2Do9X X-Received: by 2002:a9d:6c4b:0:b0:6d9:dd04:e1af with SMTP id g11-20020a9d6c4b000000b006d9dd04e1afmr1723810otq.1.1702008713380; Thu, 07 Dec 2023 20:11:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702008713; cv=none; d=google.com; s=arc-20160816; b=Q7bLGotuxL+sgcDQwyjHLj0+xzzwFTE2NDIkOm5e7QOtlZ4zJ95yiISzdI2HfwiRy9 I/oOGuVaAndLnkp8oaiOuxCJNUr8xce6FH+es/jmeIb1Nct/u+ZVFTI9DiG3u2c1e2MZ 0BEjBF+3uPSRh8duA1bxTgS11sihAUaV4UiMsxoI57M3mWM3lX/M52qFURSMOBeqf/Ge lbQarPC3G7SMZUIpffcLSjflury1DSdYUWmhtRnNQBbzgBycXV3/bfAnoYpWfb8aapmX XiGV9t/LHnMatpxYP2GNlgBvS57ngsR/4PBhXLM9upCxUnrY6mCyyGIogJmxe94CWD8y iukQ== 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=DVnDlM34fiYhT/4KHtd4r+iFF1HMN/iqx+W7FxVZUvk=; fh=zatj1PW5C7ZE5T4ZrTIF3mh5KL2GCIBmcptg0TlXDsU=; b=z0Ng00R2QPQxTvByLHo4EjI+tMJiKcf0W5VTVF4oM/WAcLvVtOQADsMe+r5jE39mFf nPt6eOz8PMSE69vUB/PXNUTmb+tpCwmq7cU4+N6l4Ih7hK5YSkPa3p7u48J2C/cfsI+h PZfbK8wl6cQ2GIacnJ8mFmNG5skEi5OjtjwaESPc1OJ6q7wNFN6q1xGYKZ3zpUDe58Ix tKH9yjNE0CE8D6df5gahbeRY80xA0/45ev9opPfPKMtcutVP9FSxFYnyaEyuVnSAChcz bMHHujFFJZiJfL1rJrStqsPjGljwMnVqzpyV/FOJhl8O4OGPWDP/ZJRxZaE4vlGNOnws TuiA== 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:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id o10-20020a63e34a000000b00565e0624182si809714pgj.404.2023.12.07.20.11.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 20:11:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 87D0F8081F6F; Thu, 7 Dec 2023 20:10:28 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1573123AbjLHEKO (ORCPT + 99 others); Thu, 7 Dec 2023 23:10:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56874 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229531AbjLHEKM (ORCPT ); Thu, 7 Dec 2023 23:10:12 -0500 Received: from abb.hmeau.com (abb.hmeau.com [144.6.53.87]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3C89B1716; Thu, 7 Dec 2023 20:10:19 -0800 (PST) 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 1rBSBq-008Imt-3s; Fri, 08 Dec 2023 12:10:15 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Fri, 08 Dec 2023 12:10:23 +0800 Date: Fri, 8 Dec 2023 12:10:23 +0800 From: Herbert Xu To: Zhiqi Song Cc: davem@davemloft.net, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, wangzhou1@hisilicon.com, fanghao11@huawei.com, liulongfang@huawei.com, qianweili@huawei.com, shenyang39@huawei.com Subject: Re: [PATCH 0/5] crypto: hisilicon - fix the process to obtain capability register value Message-ID: References: <20231202091722.1974582-1-songzhiqi1@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231202091722.1974582-1-songzhiqi1@huawei.com> X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.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 (agentk.vger.email [0.0.0.0]); Thu, 07 Dec 2023 20:10:28 -0800 (PST) On Sat, Dec 02, 2023 at 05:17:17PM +0800, Zhiqi Song wrote: > This patchset fixes the process to obtain the value of capability > registers related to irq and alg support info. Pre-store the valid > values of them. > > Wenkai Lin (1): > crypto: hisilicon/qm - add a function to set qm algs > > Zhiqi Song (4): > crypto: hisilicon/qm - save capability registers in qm init process > crypto: hisilicon/hpre - save capability registers in probe process > crypto: hisilicon/sec2 - save capability registers in probe process > crypto: hisilicon/zip - save capability registers in probe process > > drivers/crypto/hisilicon/hpre/hpre_main.c | 122 +++++++++++---------- > drivers/crypto/hisilicon/qm.c | 98 +++++++++++++++-- > drivers/crypto/hisilicon/sec2/sec.h | 7 ++ > drivers/crypto/hisilicon/sec2/sec_crypto.c | 10 +- > drivers/crypto/hisilicon/sec2/sec_main.c | 70 ++++++------ > drivers/crypto/hisilicon/zip/zip_main.c | 120 +++++++++++--------- > include/linux/hisi_acc_qm.h | 20 +++- > 7 files changed, 293 insertions(+), 154 deletions(-) > > -- > 2.30.0 All applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt