]> 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)
commitb27f0ac3fbe67e9cb90d5a0a258181ded8246bfb
tree711e2605f0aa04f473c534d605914ea4347fe352
parent72351bcc38b526adcffc36964a9d77beeb283c07
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