From: Stefano Garzarella sgarzare@redhat.com
redhat/configs: enable CONFIG_TCG_SVSM
The driver for the vTPM emulated by SVSM is needed for Confidential VMs. It's currently only supported by AMD SEV-SNP, which is why it's x86 specific, since it depends on CONFIG_AMD_MEM_ENCRYPT.
Signed-off-by: Stefano Garzarella sgarzare@redhat.com
diff --git a/redhat/configs/common/generic/x86/CONFIG_TCG_SVSM b/redhat/configs/common/generic/x86/CONFIG_TCG_SVSM new file mode 100644 index blahblah..blahblah 100644 --- /dev/null +++ b/redhat/configs/common/generic/x86/CONFIG_TCG_SVSM @@ -0,0 +1 @@ +CONFIG_TCG_SVSM=m diff --git a/redhat/configs/pending-fedora/generic/CONFIG_TCG_SVSM b/redhat/configs/pending-fedora/generic/CONFIG_TCG_SVSM deleted file mode 100644 index blahblah..blahblah 0 --- a/redhat/configs/pending-fedora/generic/CONFIG_TCG_SVSM +++ /dev/null @@ -1,15 +0,0 @@ -# Symbol: TCG_SVSM [=n] -# Type : tristate -# Defined at drivers/char/tpm/Kconfig:237 -# Prompt: SNP SVSM vTPM interface -# Depends on: TCG_TPM [=y] && AMD_MEM_ENCRYPT [=y] -# Location: -# -> Device Drivers -# -> Character devices -# -> TPM Hardware Support (TCG_TPM [=y]) -# -> SNP SVSM vTPM interface (TCG_SVSM [=n]) -# -# -# -# Commit: 93b7c6b3ce91 (tpm: Add SNP SVSM vTPM driver) -# CONFIG_TCG_SVSM is not set diff --git a/redhat/configs/rhel/generic/CONFIG_TCG_SVSM b/redhat/configs/rhel/generic/CONFIG_TCG_SVSM deleted file mode 100644 index blahblah..blahblah 0 --- a/redhat/configs/rhel/generic/CONFIG_TCG_SVSM +++ /dev/null @@ -1 +0,0 @@ -# CONFIG_TCG_SVSM is not set
-- https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3959
From: Stefano Garzarella on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3959#note_2567034...
First time contribution for me here, I guess I need this for https://gitlab.com/redhat/centos-stream/src/kernel/centos- stream-9/-/merge_requests/7004
Please let me know if I need to do something different.
From: pbrobinson on gitlab.com https://gitlab.com/cki-project/kernel-ark/-/merge_requests/3959#note_2569838...
LGTM, put in the right arch in common.
kernel@lists.fedoraproject.org