Hi Mogens, On Sun, Jul 16, 2017 at 6:21 PM, Mogens Lauridsen <mlauridsen171@xxxxxxxxx> wrote: > Hi, > > The direction used in dma_unmap_sg in aes calc in sahara.c is wrong. > This result in the cache not being invalidated correct when aes > calculation is done and result is dma'ed to memory. > This is seen as sporadic wrong result from aes calc. > > Thanks, > Mogens > > Signed-off-by: Mogens Lauridsen <mlauridsen171@xxxxxxxxx> Your two fixes are good, but the patch format is not correct. You could try to use git send-email for submitting the two patches. Subject could be improved. If you run 'git log drivers/crypto/sahara.c' you will see the common standard, so you could do: crypto: sahara - Fix dma unmap direction as the Subject. Then you need to run './scripts/checkpatch.pl 0001-your.patch' to see what people and lists to send it to. Please resend them.