]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit05218fac74aa8d548601a21a43de67051fd69ef6
treeb73e5234c2a61a6a1bcfce85c459a05dc54829a8
parent3705c6e373b69da4d2da2814ce85c910b13711d9
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