Re: [PATCH V3 2/6] MAINTAINERS: Add maintainer for Loongson Security Module driver

2025-02-18 Thread Paul Menzel
Dear Qunqin, Thank you for your patch, and for wanting to maintain this code. Two minor things should you resend: I found it quite useful to have the maintainer name in the summary/title as often only the `git log --oneline` output is used in change-logs. I suggest: MAINTAINERS: Add Qunqi

[PATCH V3 6/6] MAINTAINERS: Add tpm_lsse.c to LOONGSON CRYPTO DRIVER entry

2025-02-18 Thread Qunqin Zhao
Changes to Loongson TPM driver would be best reviewed by the Loongson crypto driver maintainers. Signed-off-by: Qunqin Zhao --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 6493d58436..6aad0f08ad 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -13

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

2025-02-18 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 V3 0/6] Drivers for Loongson security engine

2025-02-18 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. v3: Put the updates to the MAINTAINERS in a separate patch. v

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

2025-02-18 Thread Qunqin Zhao
Loongson's Random Number Generator is found inside Loongson 6000SE. Co-developed-by: Yinggang Gu Signed-off-by: Yinggang Gu Signed-off-by: Qunqin Zhao --- v2-v3: None drivers/crypto/Kconfig | 1 + drivers/crypto/Makefile| 1 + drivers/crypto/loongson/Kconfi

[PATCH V3 4/6] MAINTAINERS: Add maintainer for Loongson RNG driver

2025-02-18 Thread Qunqin Zhao
This patch adds an entry for Loongson RNG driver in the list of Maintainers. Signed-off-by: Qunqin Zhao --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index cd6c029398..6493d58436 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -13480,6 +13480,1

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

2025-02-18 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 --- v3: None v2: Removed "ls6000se-sdf" device, added "ls6000se-tpm" device.

[PATCH V3 2/6] MAINTAINERS: Add maintainer for Loongson Security Module driver

2025-02-18 Thread Qunqin Zhao
This patch adds an entry for Loongson Security Module driver in the list of Maintainers. Signed-off-by: Qunqin Zhao --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 5583df569c..cd6c029398 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -134

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

2025-02-18 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. v3: Put the updates to the MAINTAINERS in a separate patch. v

Re: [PATCH v6 9/9] KVM: selftests: Add a basic SEV-SNP smoke test

2025-02-18 Thread Sean Christopherson
On Fri, Feb 14, 2025, Pratik Rajesh Sampat wrote: > > > On 2/11/25 8:31 PM, Sean Christopherson wrote: > > On Mon, Feb 03, 2025, Pratik R. Sampat wrote: > >> @@ -217,5 +244,20 @@ int main(int argc, char *argv[]) > >>} > >>} > >> > >> + if (kvm_cpu_has(X86_FEATURE_SEV_SNP)) { >