ARM: multi_v7_defconfig: Enable s5p-secss driver
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>
Thu, 2 Jun 2016 05:55:15 +0000 (07:55 +0200)
committerKrzysztof Kozlowski <k.kozlowski@samsung.com>
Mon, 6 Jun 2016 06:36:49 +0000 (08:36 +0200)
commit98b927bb0c58549a76e9b9af19bbe344fc87757e
treed79b004a56d7fe7ca505a617323817d0b9a6ce9c
parentd649ca0097664e930d949ee3f6cade5252853967
ARM: multi_v7_defconfig: Enable s5p-secss driver

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>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
arch/arm/configs/multi_v7_defconfig