From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161027AbcFBNwS (ORCPT ); Thu, 2 Jun 2016 09:52:18 -0400 Received: from lists.s-osg.org ([54.187.51.154]:39470 "EHLO lists.s-osg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750914AbcFBNwR (ORCPT ); Thu, 2 Jun 2016 09:52:17 -0400 Subject: Re: [PATCH 3/4] ARM: multi_v7_defconfig: Enable s5p-secss driver To: Krzysztof Kozlowski , Kukjin Kim , Arnd Bergmann , Olof Johansson , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org References: <1464846916-3110-1-git-send-email-k.kozlowski@samsung.com> <1464846916-3110-3-git-send-email-k.kozlowski@samsung.com> Cc: Kevin Hilman , Bartlomiej Zolnierkiewicz From: Javier Martinez Canillas Message-ID: Date: Thu, 2 Jun 2016 09:52:07 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: <1464846916-3110-3-git-send-email-k.kozlowski@samsung.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Krzysztof, On 06/02/2016 01:55 AM, Krzysztof Kozlowski wrote: > 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 Best regards, -- Javier Martinez Canillas Open Source Group Samsung Research America