Re: [PATCH v2] crypto: hisilicon - Kunpeng916 crypto driver don't sleep when in softirq

From: Herbert Xu
Date: Fri Jul 08 2022 - 04:00:35 EST


On Thu, Jun 30, 2022 at 08:42:30PM +0800, Zhengchao Shao wrote:
> When kunpeng916 encryption driver is used to deencrypt and decrypt
> packets during the softirq, it is not allowed to use mutex lock.
>
> v1: use spin_lock will cause soft lockup
>
> Signed-off-by: Zhengchao Shao <shaozhengchao@xxxxxxxxxx>
> ---
> drivers/crypto/hisilicon/sec/sec_algs.c | 14 +++++++-------
> drivers/crypto/hisilicon/sec/sec_drv.h | 2 +-
> 2 files changed, 8 insertions(+), 8 deletions(-)

Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt