linux_dsm_epyc7002/drivers/crypto/hisilicon
Mikulas Patocka 5ead051780 crypto: hisilicon - don't sleep of CRYPTO_TFM_REQ_MAY_SLEEP was not specified
There is this call chain:
sec_alg_skcipher_encrypt -> sec_alg_skcipher_crypto ->
sec_alg_alloc_and_calc_split_sizes -> kcalloc
where we call sleeping allocator function even if CRYPTO_TFM_REQ_MAY_SLEEP
was not specified.

Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Cc: stable@vger.kernel.org	# v4.19+
Fixes: 915e4e8413 ("crypto: hisilicon - SEC security accelerator driver")
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2020-06-26 14:46:42 +10:00
..
hpre crypto: hisilicon - fix driver compatibility issue with different versions of devices 2020-05-28 17:27:52 +10:00
sec crypto: hisilicon - don't sleep of CRYPTO_TFM_REQ_MAY_SLEEP was not specified 2020-06-26 14:46:42 +10:00
sec2 crypto: hisilicon - update SEC driver module parameter 2020-06-18 17:26:42 +10:00
zip crypto: hisilicon - fix driver compatibility issue with different versions of devices 2020-05-28 17:27:52 +10:00
Kconfig crypto: hisilicon/qm - add more ACPI dependencies 2020-04-22 23:28:55 +10:00
Makefile
qm.c crypto: hisilicon - fix strncpy warning with strscpy 2020-06-26 14:46:42 +10:00
qm.h crypto: hisilicon - fix driver compatibility issue with different versions of devices 2020-05-28 17:27:52 +10:00
sgl.c crypto: hisilicon - Cap block size at 2^31 2020-06-15 17:38:53 +10:00