From patchwork Thu Jun 2 05:55:15 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 9149113 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id B30C660467 for ; Thu, 2 Jun 2016 05:57:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A4C342654B for ; Thu, 2 Jun 2016 05:57:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9967326B39; Thu, 2 Jun 2016 05:57:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 617CC2654B for ; Thu, 2 Jun 2016 05:57:32 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1b8LcC-00007f-PE; Thu, 02 Jun 2016 05:56:20 +0000 Received: from mailout4.w1.samsung.com ([210.118.77.14]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1b8Lbs-0008MB-9M for linux-arm-kernel@lists.infradead.org; Thu, 02 Jun 2016 05:56:01 +0000 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0O8400HEAR4PQK00@mailout4.w1.samsung.com> for linux-arm-kernel@lists.infradead.org; Thu, 02 Jun 2016 06:55:37 +0100 (BST) X-AuditID: cbfec7f4-f796c6d000001486-3e-574fca590bab Received: from eusync3.samsung.com ( [203.254.199.213]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id 49.61.05254.95ACF475; Thu, 2 Jun 2016 06:55:37 +0100 (BST) Received: from AMDC2174.DIGITAL.local ([106.120.53.17]) by eusync3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0O84007KCR4GUC20@eusync3.samsung.com>; Thu, 02 Jun 2016 06:55:37 +0100 (BST) From: Krzysztof Kozlowski To: Kukjin Kim , Krzysztof Kozlowski , Javier Martinez Canillas , Arnd Bergmann , Olof Johansson , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 3/4] ARM: multi_v7_defconfig: Enable s5p-secss driver Date: Thu, 02 Jun 2016 07:55:15 +0200 Message-id: <1464846916-3110-3-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 In-reply-to: <1464846916-3110-1-git-send-email-k.kozlowski@samsung.com> References: <1464846916-3110-1-git-send-email-k.kozlowski@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrFLMWRmVeSWpSXmKPExsVy+t/xq7qRp/zDDa6t5rL4O+kYu8XGGetZ Ld68XcNk8fqFoUX/49fMFk83P2ay2PT4GqvF5V1z2CxmnN/HZHHq+mc2By6P378mMXpsWtXJ 5rF5Sb3HlRNNrB5b+u+ye/RtWcXo8XmTXAB7FJdNSmpOZllqkb5dAlfGj7V3mQte8lZMvr2G vYFxM2cXIyeHhICJxIeXL5ggbDGJC/fWs3UxcnEICSxllFj7/CsjhNPIJPFt8nZGkCo2AWOJ zcuXgFWJCGxhkni6dAFYO7NArMStq2+AbA4OYQFXiVcPikHCLAKqEqvfnWQFCfMKuEmsmaEI sUxO4uSxyawgNqeAu8T8l4vZQGwhoJLvq7ewTGDkXcDIsIpRNLU0uaA4KT3XUK84Mbe4NC9d Lzk/dxMjJAS/7GBcfMzqEKMAB6MSD+8KTf9wIdbEsuLK3EOMEhzMSiK8MkeBQrwpiZVVqUX5 8UWlOanFhxilOViUxHnn7nofIiSQnliSmp2aWpBaBJNl4uCUamA03T81bGpbjtOZk7PPV9RF HHdtyXirdG7nk18qQWvm6V14vuS6objybv4wo+LNvgH3c+/af43tEdiYEnnvSoqI6PG3bJf3 9s67YZjzYONTmWcS02L/3p+u/2bl1pgZDp+fhjVzyLguXvNm+6qQoIuBE2ZPaFCMN7WqVLn4 6dQcCc/rRQXXL2kwK7EUZyQaajEXFScCAPrtntQ9AgAA X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160601_225600_579238_404C10AC X-CRM114-Status: GOOD ( 15.39 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bartlomiej Zolnierkiewicz , Kevin Hilman MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Reviewed-by: Javier Martinez Canillas --- 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