From: Stefano Garzarella <sgarz...@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 <sgarz...@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

-- 
_______________________________________________
kernel mailing list -- kernel@lists.fedoraproject.org
To unsubscribe send an email to kernel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/kernel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to