[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8f9be4a8-ed6c-a2bd-f3ba-df22752e7172@infradead.org>
Date: Sun, 13 Oct 2019 22:41:06 -0700
From: Randy Dunlap <rdunlap@...radead.org>
To: Corentin Labbe <clabbe@...libre.com>, davem@...emloft.net,
herbert@...dor.apana.org.au, khilman@...libre.com,
mark.rutland@....com, robh+dt@...nel.org,
martin.blumenstingl@...glemail.com
Cc: devicetree@...r.kernel.org, linux-amlogic@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org, linux-crypto@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 3/4] crypto: amlogic: Add crypto accelerator for
amlogic GXL
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
--
~Randy
Powered by blists - more mailing lists