public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Drivers for Loongson security engine
@ 2025-02-12  3:31 Qunqin Zhao
  2025-02-12  3:31 ` [PATCH v2 1/3] mfd: Add support for Loongson Security Module Qunqin Zhao
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Qunqin Zhao @ 2025-02-12  3:31 UTC (permalink / raw)
  To: lee, herbert, davem, peterhuewe, jarkko
  Cc: linux-kernel, loongarch, linux-crypto, jgg, linux-integrity,
	Qunqin Zhao

Loongson security engine supports random number generation, hash,
symmetric encryption and asymmetric encryption. Based on these
encryption functions, TPM2.0 have been implemented in it.

mfd is the baser driver, crypto and tpm are users.

v2: Removed misc driver. Added tpm driver.

Qunqin Zhao (3):
  mfd: Add support for Loongson Security Module
  crypto: loongson - add Loongson RNG driver support
  tpm: Add a driver for Loongson TPM device

 MAINTAINERS                            |  14 +
 drivers/char/tpm/Kconfig               |   9 +
 drivers/char/tpm/Makefile              |   1 +
 drivers/char/tpm/tpm_lsse.c            | 104 +++++++
 drivers/crypto/Kconfig                 |   1 +
 drivers/crypto/Makefile                |   1 +
 drivers/crypto/loongson/Kconfig        |   6 +
 drivers/crypto/loongson/Makefile       |   2 +
 drivers/crypto/loongson/ls6000se-rng.c | 190 +++++++++++++
 drivers/mfd/Kconfig                    |   9 +
 drivers/mfd/Makefile                   |   2 +
 drivers/mfd/ls6000se.c                 | 374 +++++++++++++++++++++++++
 include/linux/mfd/ls6000se.h           |  75 +++++
 13 files changed, 788 insertions(+)
 create mode 100644 drivers/char/tpm/tpm_lsse.c
 create mode 100644 drivers/crypto/loongson/Kconfig
 create mode 100644 drivers/crypto/loongson/Makefile
 create mode 100644 drivers/crypto/loongson/ls6000se-rng.c
 create mode 100644 drivers/mfd/ls6000se.c
 create mode 100644 include/linux/mfd/ls6000se.h


base-commit: 2816b0c949af89640b8dc05de53e650cbf1d55fb
-- 
2.43.0


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

end of thread, other threads:[~2025-02-14  1:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-12  3:31 [PATCH v2 0/3] Drivers for Loongson security engine Qunqin Zhao
2025-02-12  3:31 ` [PATCH v2 1/3] mfd: Add support for Loongson Security Module Qunqin Zhao
2025-02-12  3:31 ` [PATCH v2 2/3] crypto: loongson - add Loongson RNG driver support Qunqin Zhao
2025-02-12  3:31 ` [PATCH v2 3/3] tpm: Add a driver for Loongson TPM device Qunqin Zhao
2025-02-12 21:28   ` Jarkko Sakkinen
2025-02-13  3:56     ` Qunqin Zhao
2025-02-13 22:10       ` Jarkko Sakkinen
2025-02-14  1:12         ` Qunqin Zhao

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