crypto: qat - fix use of 'dma_map_single'
stable inclusion from stable-v5.10.150 commit a91af50850270554a4ff032a12eaa4c2fed0dd44 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I6D0XA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=a91af50850270554a4ff032a12eaa4c2fed0dd44 -------------------------------- [ Upstream commit 7cc05071 ] DMA_TO_DEVICE synchronisation must be done after the last modification of the memory region by the software and before it is handed off to the device. Signed-off-by:Hui Tang <tanghui20@huawei.com> Reported-by:
kernel test robot <lkp@intel.com> Reported-by:
Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by:
Herbert Xu <herbert@gondor.apana.org.au> Stable-dep-of: cf5bb835 ("crypto: qat - fix DMA transfer direction") Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
Jialin Zhang <zhangjialin11@huawei.com>
Loading
Please sign in to comment