summaryrefslogtreecommitdiff
path: root/scripts/checkstack.pl
diff options
context:
space:
mode:
authorPaul Louvel <paul.louvel@bootlin.com>2026-05-07 17:41:47 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2026-05-15 13:08:47 +0300
commite17ff3d6ff907dc8406261e8fd3e1fc8a908f0f6 (patch)
tree9871cbced53a77fa333831749816187beb12a6a8 /scripts/checkstack.pl
parent930d9d36ea618a775985446a125aedeb401db522 (diff)
downloadlinux-e17ff3d6ff907dc8406261e8fd3e1fc8a908f0f6.tar.xz
crypto: talitos - use dma_sync_single_for_cpu() before reading descriptor header
In order to know if a descriptor has been processed by the device, the driver polls the FIFO to see if DESC_HDR_DONE is set on a descriptor header to confirm completion. The current code does not make sure that the CPU gets up to date data before reading the descriptor. Fix this by calling dma_sync_single_for_cpu() before reading memory written by the device. Cc: stable@vger.kernel.org Fixes: 58cdbc6d2263 ("crypto: talitos - fix hash on SEC1.") Signed-off-by: Paul Louvel <paul.louvel@bootlin.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions