mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] crypto: hisilicon/trng - support multiple tfms sharing the device
@ 2025-11-20 13:58 Chenghai Huang
  2025-11-20 13:58 ` [PATCH 1/2] crypto: hisilicon/trng - use DEFINE_MUTEX() and LIST_HEAD() Chenghai Huang
  2025-11-20 13:58 ` [PATCH 2/2] crypto: hisilicon/trng - support tfms sharing the device Chenghai Huang
  0 siblings, 2 replies; 8+ messages in thread
From: Chenghai Huang @ 2025-11-20 13:58 UTC (permalink / raw)
  To: herbert, davem
  Cc: linux-kernel, linux-crypto, fanghao11, liulongfang, qianweili,
	linwenkai6, wangzhou1

Patch 1: Uses DEFINE_MUTEX() and LIST_HEAD() to automatically
initialize locks and list heads instead of runtime initialization.
Patch 2: Supports multiple tfms sharing the device to avoid
tfm creation failure.

Weili Qian (2):
  crypto: hisilicon/trng - use DEFINE_MUTEX() and LIST_HEAD()
  crypto: hisilicon/trng - support tfms sharing the device

 drivers/crypto/hisilicon/trng/trng.c | 200 ++++++++++++++++-----------
 1 file changed, 116 insertions(+), 84 deletions(-)

-- 
2.33.0


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

end of thread, other threads:[~2025-12-24  2:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-20 13:58 [PATCH 0/2] crypto: hisilicon/trng - support multiple tfms sharing the device Chenghai Huang
2025-11-20 13:58 ` [PATCH 1/2] crypto: hisilicon/trng - use DEFINE_MUTEX() and LIST_HEAD() Chenghai Huang
2025-12-19  3:04   ` Herbert Xu
2025-12-22  6:10     ` huangchenghai
2025-12-24  2:49       ` Herbert Xu
2025-11-20 13:58 ` [PATCH 2/2] crypto: hisilicon/trng - support tfms sharing the device Chenghai Huang
2025-12-19  3:06   ` Herbert Xu
2025-12-22  3:36     ` huangchenghai

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

all inboxes | Powered by JetHome®