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 X-Spam-Level: X-Spam-Status: No, score=-5.2 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8C3B3FA3728 for ; Wed, 16 Oct 2019 20:23:04 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 51BD921848 for ; Wed, 16 Oct 2019 20:23:04 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="RjMNiQ9P"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="D0+TbLXK" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 51BD921848 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=kr1PVOh4Baqkf9+d/oM95ObjPzdTKwv5S/RtacOSY5Q=; b=RjMNiQ9PYjywuw VLXZmbM67b/zd4m1By3cnKJLKmXjfPkGFHBh74YxOXordgiMFHRJBfxQfnVHUe0y5j9wXu0CQ18RD BKhCzw98kYvOZbACQpJ6Q8sJZS82LWC9deJ934hoq/Ur6aM4y7x35JJjKyfcWst9+uVVV0tjE2pCa uRKfFHocT9YSO2gemptzLRjQmznWaZQtkLzsyi0IomjPPHYYXNg0pP9+BSXZnmBklpvzVS1tdURzR 2VOoAs4qqaN/W4CMzLwyXakqnfhxxp0ttWyt7ES2mIzoeVpZaMLiolYnhjUHg/w58TNP42B230Q8k E/Riu/ZS5jCXdf3tJ3DA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iKpp1-0002Tu-FF; Wed, 16 Oct 2019 20:23:03 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iKpeK-0006ir-WB for linux-arm-kernel@lists.infradead.org; Wed, 16 Oct 2019 20:12:06 +0000 Received: by mail-wr1-x444.google.com with SMTP id b9so29508766wrs.0 for ; Wed, 16 Oct 2019 13:11:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=0edoD8qXLxIMb9lHusA8ctqCBdpgHnIWpnlud4IpS5A=; b=D0+TbLXKv4nLHH1PICBuG4OHzzfCNolpysA0NdqnggM3oNHvONZBsSdcdyYHeY9PTX BP6Q63iG+P0ZkFrmsMgZT2VJOejwCv/iBGW5e0FpACARXwR8xLRqsCvBYYKdlB1L+noa Lx/omyHvcnCfCbRtMo6vA/PY8I3hPfWaxFVsbLjbAfNU6LF/WG20V9YcGalaWYe7Hd0u EdO3lyIna8hymw4xsraJB5FfvRxQTbWl+aeoUziSGcsuQ2Edln+e7pMsaNFPqtxmKqEo p8/mYJAKLUed5W2eaIdkVXtkgFPBl/9U2+YXsjyAHA+8A0PaKzQC/8Q1eBg9jfscJ+Sz hVGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=0edoD8qXLxIMb9lHusA8ctqCBdpgHnIWpnlud4IpS5A=; b=Sq410/iSi/hnSW8+/x1J2rs0hhe3+hTCp63sZLmDt1Dbb99Kz2oHR5MMK4z/fvKwBU f/x1+KH0eTS3Xh3hX+Gga7Q3kTy8ucrFWiond0d7jksyQifl9unjhRnpXFiu0vhsJI79 e2pjxHUS04kzioaTufYd7js7frL0JtBM6LVOLJeykYYkQFGDIAnz9ya5qIgzv5BNwMmd xM98MccY/++mWAWAqrhtnLxw1AwOjy1ZR61+vic23nP1zvD50XuXf7JLjtjLNg33ZHUK vZuriWJsP7Dw5YMSb7EVnOCqHmNAp72FAFNeV5JCDiWCVBX0i+byPcrnQUvP7Ymt2/Ag KBIg== X-Gm-Message-State: APjAAAUnEO4PK+LvxWm/2l2DJLZqljqFd9d642BqIlFvpVHu55CEDfni pHR71tCMr/yQQsHdWkJhttzagNk0l0g= X-Google-Smtp-Source: APXvYqw8vdKpG2sCTiy78c9P1m7wEQV56IyUIiYGlFpvMM6Z1PosXut/bgrU1zDYkR1e8mM7XnTE5A== X-Received: by 2002:adf:ed49:: with SMTP id u9mr4127114wro.229.1571256716203; Wed, 16 Oct 2019 13:11:56 -0700 (PDT) Received: from Red ([2a01:cb1d:147:7200:2e56:dcff:fed2:c6d6]) by smtp.googlemail.com with ESMTPSA id l18sm29539138wrc.18.2019.10.16.13.11.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Oct 2019 13:11:55 -0700 (PDT) Date: Wed, 16 Oct 2019 22:11:52 +0200 From: LABBE Corentin To: Randy Dunlap Subject: Re: [PATCH v2 3/4] crypto: amlogic: Add crypto accelerator for amlogic GXL Message-ID: <20191016201152.GA31674@Red> References: <1571031104-6880-1-git-send-email-clabbe@baylibre.com> <1571031104-6880-4-git-send-email-clabbe@baylibre.com> <8f9be4a8-ed6c-a2bd-f3ba-df22752e7172@infradead.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <8f9be4a8-ed6c-a2bd-f3ba-df22752e7172@infradead.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191016_131201_128386_CBDD6838 X-CRM114-Status: GOOD ( 16.23 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, herbert@gondor.apana.org.au, martin.blumenstingl@googlemail.com, khilman@baylibre.com, linux-kernel@vger.kernel.org, robh+dt@kernel.org, linux-crypto@vger.kernel.org, linux-amlogic@lists.infradead.org, davem@davemloft.net, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Sun, Oct 13, 2019 at 10:41:06PM -0700, Randy Dunlap wrote: > Hi, > > On 10/13/19 10:31 PM, Corentin Labbe wrote: > > diff --git a/drivers/crypto/amlogic/Kconfig b/drivers/crypto/amlogic/Kconfig > > new file mode 100644 > > index 000000000000..9c4bf96afeb3 > > --- /dev/null > > +++ b/drivers/crypto/amlogic/Kconfig > > @@ -0,0 +1,24 @@ > > +config CRYPTO_DEV_AMLOGIC_GXL > > + tristate "Support for amlogic cryptographic offloader" > > + default y if ARCH_MESON > > + select CRYPTO_BLKCIPHER > > + select CRYPTO_ENGINE > > + select CRYPTO_ECB > > + select CRYPTO_CBC > > + select CRYPTO_AES > > + help > > + Select y here for having support for the cryptographic offloader > > to have support for > > > + availlable on Amlogic GXL SoC. > > available > > > + This hardware handle AES ciphers in ECB/CBC mode. > > handles > > > + > > + To compile this driver as a module, choose M here: the module > > + will be called amlogic-crypto. > > That module name does not match the Makefile's name. > > > + > > +config CRYPTO_DEV_AMLOGIC_GXL_DEBUG > > + bool "Enabled amlogic stats" > > Enable > > > + depends on CRYPTO_DEV_AMLOGIC_GXL > > + depends on DEBUG_FS > > + help > > + Say y to enabled amlogic-crypto debug stats. > > enable > > > + This will create /sys/kernel/debug/gxl-crypto/stats for displaying > > + the number of requests per flow and per algorithm. > > diff --git a/drivers/crypto/amlogic/Makefile b/drivers/crypto/amlogic/Makefile > > new file mode 100644 > > index 000000000000..39057e62c13e > > --- /dev/null > > +++ b/drivers/crypto/amlogic/Makefile > > @@ -0,0 +1,2 @@ > > +obj-$(CONFIG_CRYPTO_DEV_AMLOGIC_GXL) += amlogic-gxl-crypto.o > > +amlogic-gxl-crypto-y := amlogic-gxl-core.o amlogic-gxl-cipher.o > Thanks, I fixed it Regards _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel