diff options
author | Dan Streetman <ddstreet@ieee.org> | 2015-06-02 15:22:10 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-06-04 15:04:59 +0800 |
commit | 3154de71258a32040214fda174e67b975b0810ef (patch) | |
tree | 624e35114cfb2dce9443d7afa58ccf7df2136bf1 /include/video/kyro.h | |
parent | b08b6b779112dd7c862d86780b5155d382f3cef6 (diff) | |
download | blackbird-op-linux-3154de71258a32040214fda174e67b975b0810ef.tar.gz blackbird-op-linux-3154de71258a32040214fda174e67b975b0810ef.zip |
crypto: nx - fix nx-842 pSeries driver minimum buffer size
Reduce the nx-842 pSeries driver minimum buffer size from 128 to 8.
Also replace the single use of IO_BUFFER_ALIGN macro with the standard
and correct DDE_BUFFER_ALIGN.
The hw sometimes rejects buffers that contain padding past the end of the
8-byte aligned section where it sees the "end" marker. With the minimum
buffer size set too high, some highly compressed buffers were being padded
and the hw was incorrectly rejecting them; this sets the minimum correctly
so there will be no incorrect padding.
Signed-off-by: Dan Streetman <ddstreet@ieee.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/video/kyro.h')
0 files changed, 0 insertions, 0 deletions