crypto: inside-secure - set tx_max_cmd_queue to 32
authorOfer Heifetz <oferh@marvell.com>
Thu, 28 Jun 2018 15:15:42 +0000 (17:15 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 8 Jul 2018 16:30:15 +0000 (00:30 +0800)
commit63b942782f1dd241d19a7584b4b644da0f5338c0
treeb73e5234c2a61a6a1bcfce85c459a05dc54829a8
parentf1edf29a770ce97cd6b7e028a4999d24bb5ae492
crypto: inside-secure - set tx_max_cmd_queue to 32

The ORO bridge (connected to the EIP197 write channel) does not
generate back pressure towards the EIP197 when its internal FIFO is
full. It assumes that the EIP will not drive more write transactions
than the maximal supported outstanding (32).

Hence tx_max_cmd_queue must be configured to 5 (or less).

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