]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: inside-secure - dynamic ring configuration allocation
authorOfer Heifetz <oferh@marvell.com>
Thu, 28 Jun 2018 15:15:36 +0000 (17:15 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 8 Jul 2018 16:30:12 +0000 (00:30 +0800)
commit570662e58f955e695c682f61946efaf571bc7fa8
tree711e2605f0aa04f473c534d605914ea4347fe352
parent6d9ebe4f16cbc9b156d227617a717432256cf387
crypto: inside-secure - dynamic ring configuration allocation

The Inside Secure SafeXcel driver currently uses 4 rings, but the
eip197d engines has 8 of them. This patch updates the driver so that
rings are allocated dynamically based on the number of available rings
supported by a given engine.

Signed-off-by: Ofer Heifetz <oferh@marvell.com>
Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/inside-secure/safexcel.c
drivers/crypto/inside-secure/safexcel.h
drivers/crypto/inside-secure/safexcel_ring.c