From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C2115C43219 for ; Thu, 13 Oct 2022 06:40:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229595AbiJMGk6 convert rfc822-to-8bit (ORCPT ); Thu, 13 Oct 2022 02:40:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59844 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229491AbiJMGk4 (ORCPT ); Thu, 13 Oct 2022 02:40:56 -0400 Received: from out30-131.freemail.mail.aliyun.com (out30-131.freemail.mail.aliyun.com [115.124.30.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF2B1631C0; Wed, 12 Oct 2022 23:40:54 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R651e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046051;MF=guanjun@linux.alibaba.com;NM=1;PH=DS;RN=7;SR=0;TI=SMTPD_---0VS2O8nf_1665643251; Received: from smtpclient.apple(mailfrom:guanjun@linux.alibaba.com fp:SMTPD_---0VS2O8nf_1665643251) by smtp.aliyun-inc.com; Thu, 13 Oct 2022 14:40:52 +0800 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.40.0.1.81\)) Subject: Re: [PATCH v2 0/9] Drivers for Alibaba YCC (Yitian Cryptography Complex) cryptographic accelerator From: guanjun In-Reply-To: <1664350687-47330-1-git-send-email-guanjun@linux.alibaba.com> Date: Thu, 13 Oct 2022 14:40:50 +0800 Cc: "zelin.deng@linux.alibaba.com" , xuchun.shang@linux.alibaba.com, "artie.ding@linux.alibaba.com" , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8BIT Message-Id: <16B87FEE-50FE-4FEC-AA3E-7AF0B0C83F1F@linux.alibaba.com> References: <1664350687-47330-1-git-send-email-guanjun@linux.alibaba.com> To: herbert@gondor.apana.org.au, "Elliott, Robert (Servers)" X-Mailer: Apple Mail (2.3693.40.0.1.81) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > 2022年9月28日 下午3:37,Guanjun 写道: > > From: Guanjun > > Hi, > Hi Herbert, Elliott, > This patch series aims to add drivers for Alibaba YCC (Yitian Cryptography Complex) > cryptographic accelerator. Enables the on-chip cryptographic accelerator of > Alibaba Yitian SoCs which is based on ARMv9 architecture. > > It includes PCIe enabling, skcipher, aead, rsa, sm2 support. > > Please help to review. > > Thanks, > Guanjun. > > Change log: > v1 RESEND -> v2: > - [01/09] Remove char device that is not used now. Do you have any comments about this v2 patchset? Thank you very much for code review! BR, Guanjun > > v1 -> v1 RESEND: > - [01/09] Adjust the Kconfig entry in alphabetical order > - [05/09][07/09][08/09] Adjust the format of algorithm names > > v1: https://lore.kernel.org/all/1661334621-44413-1-git-send-email-guanjun@linux.alibaba.com/ > v1 RESEND: https://lore.kernel.org/all/1662435353-114812-1-git-send-email-guanjun@linux.alibaba.com/ > > Guanjun (3): > crypto/ycc: Add skcipher algorithm support > crypto/ycc: Add aead algorithm support > crypto/ycc: Add rsa algorithm support > > Xuchun Shang (1): > crypto/ycc: Add sm2 algorithm support > > Zelin Deng (5): > crypto/ycc: Add YCC (Yitian Cryptography Complex) accelerator driver > crypto/ycc: Add ycc ring configuration > crypto/ycc: Add irq support for ycc kernel rings > crypto/ycc: Add device error handling support for ycc hw errors > MAINTAINERS: Add Yitian Cryptography Complex (YCC) driver maintainer > entry > > MAINTAINERS | 8 + > drivers/crypto/Kconfig | 2 + > drivers/crypto/Makefile | 1 + > drivers/crypto/ycc/Kconfig | 18 + > drivers/crypto/ycc/Makefile | 4 + > drivers/crypto/ycc/sm2signature_asn1.c | 38 ++ > drivers/crypto/ycc/sm2signature_asn1.h | 13 + > drivers/crypto/ycc/ycc_aead.c | 646 ++++++++++++++++++++++ > drivers/crypto/ycc/ycc_algs.h | 176 ++++++ > drivers/crypto/ycc/ycc_dev.h | 157 ++++++ > drivers/crypto/ycc/ycc_drv.c | 567 ++++++++++++++++++++ > drivers/crypto/ycc/ycc_isr.c | 279 ++++++++++ > drivers/crypto/ycc/ycc_isr.h | 12 + > drivers/crypto/ycc/ycc_pke.c | 944 +++++++++++++++++++++++++++++++++ > drivers/crypto/ycc/ycc_ring.c | 652 +++++++++++++++++++++++ > drivers/crypto/ycc/ycc_ring.h | 168 ++++++ > drivers/crypto/ycc/ycc_ske.c | 925 ++++++++++++++++++++++++++++++++ > 17 files changed, 4610 insertions(+) > create mode 100644 drivers/crypto/ycc/Kconfig > create mode 100644 drivers/crypto/ycc/Makefile > create mode 100644 drivers/crypto/ycc/sm2signature_asn1.c > create mode 100644 drivers/crypto/ycc/sm2signature_asn1.h > create mode 100644 drivers/crypto/ycc/ycc_aead.c > create mode 100644 drivers/crypto/ycc/ycc_algs.h > create mode 100644 drivers/crypto/ycc/ycc_dev.h > create mode 100644 drivers/crypto/ycc/ycc_drv.c > create mode 100644 drivers/crypto/ycc/ycc_isr.c > create mode 100644 drivers/crypto/ycc/ycc_isr.h > create mode 100644 drivers/crypto/ycc/ycc_pke.c > create mode 100644 drivers/crypto/ycc/ycc_ring.c > create mode 100644 drivers/crypto/ycc/ycc_ring.h > create mode 100644 drivers/crypto/ycc/ycc_ske.c > > -- > 1.8.3.1