crypto: hisilicon - Kunpeng916 crypto driver don't sleep when in softirq
authorZhengchao Shao <shaozhengchao@huawei.com>
Fri, 1 Jul 2022 01:59:54 +0000 (09:59 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 8 Jul 2022 07:21:16 +0000 (15:21 +0800)
commit68740ab505431f268dc1ee26a54b871e75f0ddaa
tree4515dca994fe2affc6e70ec05d65575fb9969eaa
parent02884a4f12de11f54d4ca67a07dd1f111d96fdbd
crypto: hisilicon - Kunpeng916 crypto driver don't sleep when in softirq

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

Fixes: 915e4e8413da ("crypto: hisilicon - SEC security accelerator driver")
Signed-off-by: Zhengchao Shao <shaozhengchao@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/sec/sec_algs.c
drivers/crypto/hisilicon/sec/sec_drv.h