]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd0a506334338946897270dfbf3f9eec98f0e7acf
tree4515dca994fe2affc6e70ec05d65575fb9969eaa
parent092ae76d22b81375a04f3408e4105b481275ca90
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: f55bae397ca7 ("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