[PATCH v6 0/6] Drivers for Loongson security engine

2025-03-26 Thread Qunqin Zhao
Loongson security engine supports random number generation, hash, symmetric encryption and asymmetric encryption. Based on these encryption functions, TPM2 have been implemented in it. mfd is the baser driver, crypto and tpm are users. v6: mfd :MFD_LS6000SE -> MFD_LOONGSON_SE, ls6000se.c -> loon

[PATCH v6 6/6] MAINTAINERS: Add tpm_loongson.c to LOONGSON CRYPTO DRIVER entry

2025-03-26 Thread Qunqin Zhao
Changes to Loongson TPM driver would be best reviewed by the Loongson crypto driver maintainers. Signed-off-by: Qunqin Zhao --- v6: "tpm_lsse.c" -> "tpm_loongson" v4-v5: None MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 814205642..16fcd35ff 100

[PATCH v6 5/6] tpm: Add a driver for Loongson TPM device

2025-03-26 Thread Qunqin Zhao
Loongson security engine supports random number generation, hash, symmetric encryption and asymmetric encryption. Based on these encryption functions, TPM2 have been implemented in the Loongson security engine firmware. This driver is responsible for copying data into the memory visible to the firm

[PATCH v6 4/6] MAINTAINERS: Add entry for Loongson RNG driver

2025-03-26 Thread Qunqin Zhao
This patch adds an entry for Loongson RNG driver in the list of maintainers. Signed-off-by: Qunqin Zhao --- v5-v6: None v4: Changed tile to "Add entry for ...". Lowcased "Maintainers" in commit message. MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAIN

[PATCH v6 3/6] crypto: loongson - add Loongson RNG driver support

2025-03-26 Thread Qunqin Zhao
Loongson's Random Number Generator is found inside Loongson security engine. Co-developed-by: Yinggang Gu Signed-off-by: Yinggang Gu Signed-off-by: Qunqin Zhao --- v6: Replace all "ls6000se" with "loongson" v2-v5: None drivers/crypto/Kconfig | 1 + drivers/crypto/Makefile

[PATCH v6 1/6] mfd: Add support for Loongson Security Module

2025-03-26 Thread Qunqin Zhao
This driver supports Loongson Security Module, which provides the control for it's hardware encryption acceleration child devices. Co-developed-by: Yinggang Gu Signed-off-by: Yinggang Gu Signed-off-by: Qunqin Zhao --- v6: Replace all "ls6000se" with "loongson" v5: Registered "ls6000se-rng" devi

[PATCH v6 2/6] MAINTAINERS: Add entry for Loongson Security Module driver

2025-03-26 Thread Qunqin Zhao
This patch adds an entry for Loongson Security Module driver in the list of maintainers. Signed-off-by: Qunqin Zhao --- v6: "ls6000se.c" --> "loongson_se.c" "ls6000se.h" --> "loongson_se.h" v5: None v4: Changed tile to "Add entry for ". Lowcased "Maintainers" in commit message. MAIN