diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2021-01-21 16:16:46 +1100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-01-29 16:07:03 +1100 |
commit | c114cf7f86242bbd6841de4c49923100ad41b6d5 (patch) | |
tree | d22395b53d9d940f4e87b50274c6b8795415c8c2 /crypto/algif_hash.c | |
parent | 43a942d27eaaf33bca560121cbe42f3637e92880 (diff) | |
download | linux-c114cf7f86242bbd6841de4c49923100ad41b6d5.tar.bz2 |
crypto: marvell/cesa - Fix use of sg_pcopy on iomem pointer
The cesa driver mixes use of iomem pointers and normal kernel
pointers. Sometimes it uses memcpy_toio/memcpy_fromio on both
while other times it would use straight memcpy on both, through
the sg_pcopy_* helpers.
This patch fixes this by adding a new field sram_pool to the engine
for the normal pointer case which then allows us to use the right
interface depending on the value of engine->pool.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/algif_hash.c')
0 files changed, 0 insertions, 0 deletions