From: Vakul Garg Date: Tue, 12 Mar 2013 08:25:21 +0000 (+0530) Subject: crypto: caam - set RDB bit in security configuration register X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~57^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=575c1bd549ff6bc097b3669b086e54e01169379f;p=pandora-kernel.git crypto: caam - set RDB bit in security configuration register This change is required for post SEC-5.0 devices which have RNG4. Setting RDB in security configuration register allows CAAM to use the "Random Data Buffer" to be filled by a single request. The Random Data Buffer is large enough for ten packets to get their IVs from a single request. If the Random Data Buffer is not enabled, then each IV causes a separate request, and RNG4 hardware cannot keep up resulting in lower IPSEC throughput if random IVs are used. Signed-off-by: Vakul Garg Signed-off-by: Herbert Xu --- Reading git-diff-tree failed