Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp21983rwe; Tue, 30 Aug 2022 19:55:23 -0700 (PDT) X-Google-Smtp-Source: AA6agR59KKxh3sa56kDjUaKrcjYezjYYKs5GJHMEUWec4YtAHM2KJg+98tFVhiScK8t5oEveK1ZX X-Received: by 2002:a17:902:ccc9:b0:174:de2b:b19a with SMTP id z9-20020a170902ccc900b00174de2bb19amr10683107ple.100.1661914523174; Tue, 30 Aug 2022 19:55:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661914523; cv=none; d=google.com; s=arc-20160816; b=kCRY7fNsk6mrQiP8cEFCVB/Cv3XaBYRynBJS26UYMmzPSES+4pZjHBCkf4f2GmhhWz R2sRSarF/U9Or8pAO41XcUvmP0yiqphaRzFXz1emZ3kZpr9lYKmf4a0ZH7lGwo0jb5qt DHMZ6eBDbrZLa5YN9ougxumYlISIaZu9l5XPHbm7Ms+sWquSNlSoZSua1QVAVQpDVcwC CYe8nIeorhq0xmUcJWuOEdGKV3LOF5KrRJGw9ac/AGCaKeF/iAhhc0+HCw27RG7TYuk8 IIq4Bk745UEWyrheNVckUUpJR5/J0SsNw6QogzKor62Bh09nTZ5tAXLCrJbYvihd8xj/ cEKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version; bh=smpUejlz1JOVZs+v8y7argT2dPpv1+x+gsqsR8DfH/M=; b=TUDDw0aZQ0R/I+e2mkXHseCjGoUNbgILaXKbQjZ+xmlLBdBTNXAlzyaksU7JVZHlIm NKp+AyOWIgAuLkzmwtymhAp5NcQA2BgENoaYcJWNKWgWrMDxisjrS4C832n5PyEmQoN0 fdQrqTtQLRYskNp+V/Cfy5hQXK+iGxpNeBg5fOQAaLU5Du6FoHlABdq/NrMr5Tj747Hr cYyDqwphW3eCPsQEVtphM+Z3tBHrwIIjt2se3IowgZXccQrWthftvzquB9/aH9Lv6clK Z5jp2inklfIvadJOUKAMIo/ii7GZDnuQgcx2+OlIcXtx8PAi1I08jfIwRZpihr+K5etZ nUGw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d5-20020a056a0010c500b005383a71ea2asi7642435pfu.75.2022.08.30.19.54.34; Tue, 30 Aug 2022 19:55:23 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-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-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229608AbiHaCrw convert rfc822-to-8bit (ORCPT + 99 others); Tue, 30 Aug 2022 22:47:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230175AbiHaCrv (ORCPT ); Tue, 30 Aug 2022 22:47:51 -0400 Received: from out30-44.freemail.mail.aliyun.com (out30-44.freemail.mail.aliyun.com [115.124.30.44]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C944DB4EA1; Tue, 30 Aug 2022 19:47:49 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R111e4;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_---0VNoyAM8_1661914066; Received: from smtpclient.apple(mailfrom:guanjun@linux.alibaba.com fp:SMTPD_---0VNoyAM8_1661914066) by smtp.aliyun-inc.com; Wed, 31 Aug 2022 10:47:47 +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 v1 1/9] crypto/ycc: Add YCC (Yitian Cryptography Complex) accelerator driver From: guanjun In-Reply-To: Date: Wed, 31 Aug 2022 10:47:45 +0800 Cc: "herbert@gondor.apana.org.au" , "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: <2BDADCE3-5045-4BCF-88FF-76945A0780B3@linux.alibaba.com> References: <1661334621-44413-1-git-send-email-guanjun@linux.alibaba.com> <1661334621-44413-2-git-send-email-guanjun@linux.alibaba.com> To: "Elliott, Robert (Servers)" X-Mailer: Apple Mail (2.3693.40.0.1.81) X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL 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 Hi Elliott, Thanks for your comments. > 2022年8月24日 下午10:57,Elliott, Robert (Servers) 写道: > > > >> -----Original Message----- >> From: 'Guanjun' >> Sent: Wednesday, August 24, 2022 4:50 AM >> To: herbert@gondor.apana.org.au >> Subject: [PATCH v1 1/9] crypto/ycc: Add YCC (Yitian Cryptography Complex) >> accelerator driver >> > ... >> diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig >> index 3e6aa31..d739354 100644 >> --- a/drivers/crypto/Kconfig >> +++ b/drivers/crypto/Kconfig >> @@ -799,6 +799,8 @@ source "drivers/crypto/hisilicon/Kconfig" >> >> source "drivers/crypto/amlogic/Kconfig" >> >> +source "drivers/crypto/ycc/Kconfig" >> + >> config CRYPTO_DEV_SA2UL >> tristate "Support for TI security accelerator" >> depends on ARCH_K3 || COMPILE_TEST > > This menu isn't perfectly sorted, but since the new entry is for > "Alibaba YCC", putting this at the top of the file would be > better positioned for eventual sorting. > > Naming the directory alibaba/ rather than ycc/ might be more > welcoming for future drivers, too. Alibaba and T-Head (a semiconductor chip business entity of Alibaba Group) combined efforts on the platform Yitian, so our cryptographic accelerator which is integrated in Yitian was named YCC, the acronym for Yitian Cryptography Complex. We prefer ycc for our crypto related drivers. Anyway, thanks for your suggestions. I will adjust in alphabetical order in next version. Best regards, Guanjun > > ... >> diff --git a/drivers/crypto/ycc/Kconfig b/drivers/crypto/ycc/Kconfig >> +++ b/drivers/crypto/ycc/Kconfig >> @@ -0,0 +1,8 @@ >> +config CRYPTO_DEV_YCC >> + tristate "Support for Alibaba YCC cryptographic accelerator" >> + depends on CRYPTO && CRYPTO_HW && PCI >> + default n >> + help >> + Enables the driver for the on-chip cryptographic accelerator of >> + Alibaba Yitian SoCs which is based on ARMv9 architecture. >> + If unsure say N. >