Re: [PATCH v9 5/5] MAINTAINERS: Add tpm_loongson.c to LOONGSON CRYPTO DRIVER entry

2025-05-06 Thread Yanteng Si
在 5/6/25 8:14 PM, Qunqin Zhao 写道: 在 2025/5/6 下午5:03, Yanteng Si 写道: 在 5/6/25 11:20 AM, Qunqin Zhao 写道: Changes to Loongson TPM driver would be best reviewed by the Loongson crypto driver maintainers. Signed-off-by: Qunqin Zhao Reviewed-by: Huacai Chen Reviewed-by: Jarkko Sakkinen --- v8-

Re: [PATCH v9 4/5] tpm: Add a driver for Loongson TPM device

2025-05-06 Thread Qunqin Zhao
在 2025/5/6 下午10:13, Stefano Garzarella 写道: On Tue, May 06, 2025 at 11:19:46AM +0800, Qunqin Zhao wrote: Loongson Security Engine supports random number generation, hash, symmetric encryption and asymmetric encryption. Based on these encryption functions, TPM2 have been implemented in the Loong

Re: [PATCH v9 4/5] tpm: Add a driver for Loongson TPM device

2025-05-06 Thread Stefano Garzarella
On Tue, May 06, 2025 at 11:19:46AM +0800, Qunqin Zhao wrote: 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 r

Re: [PATCH v9 5/5] MAINTAINERS: Add tpm_loongson.c to LOONGSON CRYPTO DRIVER entry

2025-05-06 Thread Qunqin Zhao
在 2025/5/6 下午5:03, Yanteng Si 写道: 在 5/6/25 11:20 AM, Qunqin Zhao 写道: Changes to Loongson TPM driver would be best reviewed by the Loongson crypto driver maintainers. Signed-off-by: Qunqin Zhao Reviewed-by: Huacai Chen Reviewed-by: Jarkko Sakkinen --- v8-v9: None v7: Added tag from Jarkko a

Re: [PATCH v9 5/5] MAINTAINERS: Add tpm_loongson.c to LOONGSON CRYPTO DRIVER entry

2025-05-06 Thread Yanteng Si
在 5/6/25 11:20 AM, Qunqin Zhao 写道: Changes to Loongson TPM driver would be best reviewed by the Loongson crypto driver maintainers. Signed-off-by: Qunqin Zhao Reviewed-by: Huacai Chen Reviewed-by: Jarkko Sakkinen --- v8-v9: None v7: Added tag from Jarkko and Huacai v6: "tpm_lsse.c" -> "tpm_lo

[PATCH v9 4/5] tpm: Add a driver for Loongson TPM device

2025-05-06 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 v9 1/5] mfd: Add support for Loongson Security Engine chip controller

2025-05-06 Thread Qunqin Zhao
Loongson Security Engine chip supports RNG, SM2, SM3 and SM4 accelerator engines. This is the base driver for other specific engine drivers. Co-developed-by: Yinggang Gu Signed-off-by: Yinggang Gu Signed-off-by: Qunqin Zhao Reviewed-by: Huacai Chen --- v8: As explained in the cover letter, mov

[PATCH v9 0/5] Add Loongson Security Engine chip driver

2025-05-06 Thread Qunqin Zhao
The Loongson Security Engine chip supports RNG, SM2, SM3 and SM4 accelerator engines. Each engine have its own DMA buffer provided by the controller. The kernel cannot directly send commands to the engine and must first send them to the controller, which will forward them to the corresponding engin

[PATCH v9 3/5] MAINTAINERS: Add entry for Loongson crypto driver

2025-05-06 Thread Qunqin Zhao
This patch adds an entry for Loongson crypto driver in the list of maintainers. Signed-off-by: Qunqin Zhao Reviewed-by: Huacai Chen --- v9: Added loongson-se.c/.h to the entry. v8: "RNG" --> "crypto" v7: Added Huacai's tag v5-v6: None v4: Changed tile to "Add entry for ...". Lowcased "Mainta

[PATCH v9 2/5] crypto: loongson - add Loongson RNG driver support

2025-05-06 Thread Qunqin Zhao
Loongson's Random Number Generator is found inside Loongson Security Engine chip. Co-developed-by: Yinggang Gu Signed-off-by: Yinggang Gu Signed-off-by: Qunqin Zhao Reviewed-by: Huacai Chen --- v8: Added reseed callbak. "lsrng" --> "loongson_rng". v7: Change the lsrng_ prefix to loongson_rng_

[PATCH v9 5/5] MAINTAINERS: Add tpm_loongson.c to LOONGSON CRYPTO DRIVER entry

2025-05-06 Thread Qunqin Zhao
Changes to Loongson TPM driver would be best reviewed by the Loongson crypto driver maintainers. Signed-off-by: Qunqin Zhao Reviewed-by: Huacai Chen Reviewed-by: Jarkko Sakkinen --- v8-v9: None v7: Added tag from Jarkko and Huacai v6: "tpm_lsse.c" -> "tpm_loongson" v4-v5: None MAINTAINERS |