]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
crypto: axis - give DMA the start of the status buffer
authorLars Persson <lars.persson@axis.com>
Wed, 23 Jan 2019 11:59:43 +0000 (12:59 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 1 Feb 2019 06:42:04 +0000 (14:42 +0800)
commit0d1d482416002791a705e7acef55edcd989facd2
treea8248c6dce8ce618babf5bac699c965aec363941
parentc34a83820f59bb275e5f2d55cd5ea99c64f6ef23
crypto: axis - give DMA the start of the status buffer

The driver was optimized to only do cache maintenance for the last
word of the dma descriptor status array. Unfortunately an omission
also passed the last word as the address of the array start to the DMA
engine. In most cases this goes unnoticed since the hardware aligns
the address to a 64 byte boundary.

Signed-off-by: Lars Persson <larper@axis.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/axis/artpec6_crypto.c