From: k.kozlowski@samsung.com (Krzysztof Kozlowski)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/4] ARM: multi_v7_defconfig: Enable s5p-secss driver
Date: Thu, 02 Jun 2016 07:55:15 +0200 [thread overview]
Message-ID: <1464846916-3110-3-git-send-email-k.kozlowski@samsung.com> (raw)
In-Reply-To: <1464846916-3110-1-git-send-email-k.kozlowski@samsung.com>
The Exynos SoC provides a Security SubSystem block for accelerating some
cryptographic operations. Enable the driver for it - s5p-secss to
utilize the hardware acceleration.
Currently the s5p-secss driver supports AES in CBC and ECB modes.
However its usefulness could be doubted. Excerpt of tests on Odroid XU3
(Exynos5422), for 256 bit key, encryption, performance CPU freq governor:
algorithm | block size [b] | average speed [MB/s] |
cbc-aes-s5p | 16 | 11.5 |
cbc-aes-s5p | 64 | 25.4 |
cbc-aes-s5p | 256 | 41.0 |
cbc-aes-s5p | 1024 | 47.4 |
cbc-aes-s5p | 8192 | 49.0 |
cbc(aes-generic) | 16 | 0.4 |
cbc(aes-generic) | 64 | 1.8 |
cbc(aes-generic) | 256 | 6.6 |
cbc(aes-generic) | 1024 | 25.2 |
cbc(aes-generic) | 8192 | 83.1 |
Anyway enable the driver so it will get some testing coverage by
community.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
---
arch/arm/configs/multi_v7_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index 68cb3c766c39..ee7c884ab5d8 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -875,6 +875,7 @@ CONFIG_KEYSTONE_IRQ=y
CONFIG_HW_RANDOM=y
CONFIG_HW_RANDOM_ST=y
CONFIG_CRYPTO_DEV_MARVELL_CESA=m
+CONFIG_CRYPTO_DEV_S5P=m
CONFIG_CRYPTO_DEV_SUN4I_SS=m
CONFIG_CRYPTO_DEV_ROCKCHIP=m
CONFIG_ARM_CRYPTO=y
--
1.9.1
next prev parent reply other threads:[~2016-06-02 5:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-02 5:55 [PATCH 1/4] ARM: multi_v7_defconfig: Enable Trats2 audio codec, touchscreen and sensors Krzysztof Kozlowski
2016-06-02 5:55 ` [PATCH 2/4] ARM: multi_v7_defconfig: Enable drivers for Exynos4210 Universal C210 board Krzysztof Kozlowski
2016-06-02 13:49 ` Javier Martinez Canillas
2016-06-02 5:55 ` Krzysztof Kozlowski [this message]
2016-06-02 13:52 ` [PATCH 3/4] ARM: multi_v7_defconfig: Enable s5p-secss driver Javier Martinez Canillas
2016-06-02 5:55 ` [PATCH 4/4] ARM: exynos_defconfig: Save defconfig on current linux-next Krzysztof Kozlowski
2016-06-02 8:47 ` Sylwester Nawrocki
2016-06-02 13:54 ` Javier Martinez Canillas
2016-06-02 7:58 ` [PATCH 1/4] ARM: multi_v7_defconfig: Enable Trats2 audio codec, touchscreen and sensors Arnd Bergmann
2016-06-02 13:43 ` Javier Martinez Canillas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1464846916-3110-3-git-send-email-k.kozlowski@samsung.com \
--to=k.kozlowski@samsung.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox