Commit d4f08086 authored by Zhengchao Shao's avatar Zhengchao Shao Committed by Zheng Zengkai
Browse files

crypto: hisilicon - Kunpeng916 crypto driver don't sleep when in softirq

stable inclusion
from stable-v5.10.137
commit 1008c6d98b6de0a75b5a1376be6594d613a5e3a5
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I60PLB

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=1008c6d98b6de0a75b5a1376be6594d613a5e3a5



--------------------------------

[ Upstream commit 68740ab5 ]

When kunpeng916 encryption driver is used to deencrypt and decrypt
packets during the softirq, it is not allowed to use mutex lock.

Fixes: 915e4e84 ("crypto: hisilicon - SEC security accelerator driver")
Signed-off-by: default avatarZhengchao Shao <shaozhengchao@huawei.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
Reviewed-by: default avatarWei Li <liwei391@huawei.com>
parent 3fdffcce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment