summaryrefslogtreecommitdiffstats
path: root/drivers/leds/TODO
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2023-02-27 16:25:58 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2023-02-28 16:30:58 +0800
commit660ca9470f9c613fa2c71a123a9469c80a697ee4 (patch)
treef3d64a401c7737962388a89fa48e42640ac7a1f5 /drivers/leds/TODO
parent8b84475318641c2b89320859332544cf187e1cbd (diff)
downloadlinux-660ca9470f9c613fa2c71a123a9469c80a697ee4.tar.gz
linux-660ca9470f9c613fa2c71a123a9469c80a697ee4.tar.bz2
linux-660ca9470f9c613fa2c71a123a9469c80a697ee4.zip
crypto: caam - Fix edesc/iv ordering mixup
The attempt to add DMA alignment padding by moving IV to the front of edesc was completely broken as it didn't change the places where edesc was freed. It's also wrong as the IV may still share a cache-line with the edesc. Fix this by restoring the original layout and simply reserving enough memmory so that the IV is on a DMA cache-line by itself. Reported-by: Meenakshi Aggarwal <meenakshi.aggarwal@nxp.com> Fixes: 199354d7fb6e ("crypto: caam - Remove GFP_DMA and add DMA alignment padding") Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/leds/TODO')
0 files changed, 0 insertions, 0 deletions