crypto: inside-secure - add multiple processing engine support
authorOfer Heifetz <oferh@marvell.com>
Thu, 28 Jun 2018 15:15:37 +0000 (17:15 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 8 Jul 2018 16:30:13 +0000 (00:30 +0800)
commit367571e43cfee4a8a6de11a53bba147f46221f84
treec6dc5660d8ee383753debfd4ab8bc006f2ba7ba9
parent18e0e95b82e4440eaf4179c36aa5164b9bd8323d
crypto: inside-secure - add multiple processing engine support

So far a single processing engine (PE) was configured and used in the
Inside Secure SafeXcel cryptographic engine driver. Some versions have
more than a single PE. This patch rework the driver's initialization to
take this into account and to allow configuring more than one PE.

Signed-off-by: Ofer Heifetz <oferh@marvell.com>
[Antoine: some reworks and commit message.]
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