Linux cryptographic layer development
 help / color / mirror / Atom feed
* [PATCH 0/4] crypto: hisilicon - fix several issues in QM and SEC drivers
@ 2026-09-11 10:29 Chenghai Huang
  2026-09-11 10:29 ` [PATCH 1/4] crypto: hisilicon/qm - fix devm_kcalloc argument order Chenghai Huang
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Chenghai Huang @ 2026-09-11 10:29 UTC (permalink / raw)
  To: herbert, davem
  Cc: linux-kernel, linux-crypto, liulongfang, qianweili, wangzhou1,
	linwenkai6

This series fixes several issues in the Hisilicon QM and SEC drivers:

1.fix the devm_kcalloc() argument order in qm_pre_store_caps().
2.fix scheduling while atomic in the SEC AEAD soft fallback, which is
reachable with the backlog spinlock held.
3.fix a memory leak in hisi_qm_sort_devices() on the kzalloc() failure
path.
4.use GFP_KERNEL instead of GFP_ATOMIC in hisi_qm_memory_init(), which
runs in process context.

Wenkai Lin (4):
  crypto: hisilicon/qm - fix devm_kcalloc argument order
  crypto: hisilicon/sec2 - fix scheduling while atomic in aead soft
    fallback
  crypto: hisilicon/qm - fix memory leak in hisi_qm_sort_devices
  crypto: hisilicon/qm - fix GFP flag inconsistency in
    hisi_qm_memory_init

 drivers/crypto/hisilicon/qm.c              | 9 ++++++---
 drivers/crypto/hisilicon/sec2/sec_crypto.c | 2 +-
 2 files changed, 7 insertions(+), 4 deletions(-)

-- 
2.43.0

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-10-08  8:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-11 10:29 [PATCH 0/4] crypto: hisilicon - fix several issues in QM and SEC drivers Chenghai Huang
2026-09-11 10:29 ` [PATCH 1/4] crypto: hisilicon/qm - fix devm_kcalloc argument order Chenghai Huang
2026-09-11 10:29 ` [PATCH 2/4] crypto: hisilicon/sec2 - fix scheduling while atomic in aead soft fallback Chenghai Huang
2026-09-18  9:13   ` Herbert Xu
     [not found]     ` <c19bbae6-e1f1-4ca4-8156-8b1fb6746319@huawei.com>
2026-09-28  5:14       ` Herbert Xu
     [not found]         ` <82938646-1ee4-4789-8911-051c43b84d57@huawei.com>
2026-10-08  8:27           ` Herbert Xu
2026-09-11 10:29 ` [PATCH 3/4] crypto: hisilicon/qm - fix memory leak in hisi_qm_sort_devices Chenghai Huang
2026-09-11 10:29 ` [PATCH 4/4] crypto: hisilicon/qm - fix GFP flag inconsistency in hisi_qm_memory_init Chenghai Huang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox