summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2018-11-30 14:05:53 -0500
committerPeter Jones <pjones@redhat.com>2018-11-30 14:05:53 -0500
commitf8216ee47abe1997e9fc7efb3d819d6105d898f5 (patch)
treeb97b6ea486baf5aa1c08a330333d5a16fdcbb17a
parent7f66c536530505c1558e53f9d7e9c19b755bed85 (diff)
downloadkernel-f8216ee47abe1997e9fc7efb3d819d6105d898f5.tar.gz
kernel-f8216ee47abe1997e9fc7efb3d819d6105d898f5.tar.xz
kernel-f8216ee47abe1997e9fc7efb3d819d6105d898f5.zip
Enable CONFIG_AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT
This makes it so users don't have to do mem_encrypt=1 to enable SEV VMs. Signed-off-by: Peter Jones <pjones@redhat.com>
-rw-r--r--configs/fedora/generic/x86/x86_64/CONFIG_AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT2
-rw-r--r--kernel-x86_64-debug.config2
-rw-r--r--kernel-x86_64.config2
3 files changed, 3 insertions, 3 deletions
diff --git a/configs/fedora/generic/x86/x86_64/CONFIG_AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT b/configs/fedora/generic/x86/x86_64/CONFIG_AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT
index e41f0cf8f..be1de779f 100644
--- a/configs/fedora/generic/x86/x86_64/CONFIG_AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT
+++ b/configs/fedora/generic/x86/x86_64/CONFIG_AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT
@@ -1 +1 @@
-# CONFIG_AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT is not set
+CONFIG_AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT=y
diff --git a/kernel-x86_64-debug.config b/kernel-x86_64-debug.config
index 5f4c56754..39be4b932 100644
--- a/kernel-x86_64-debug.config
+++ b/kernel-x86_64-debug.config
@@ -215,7 +215,7 @@ CONFIG_AMD8111_ETH=m
# CONFIG_AMD_IOMMU_DEBUGFS is not set
CONFIG_AMD_IOMMU_V2=m
CONFIG_AMD_IOMMU=y
-# CONFIG_AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT is not set
+CONFIG_AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT=y
CONFIG_AMD_MEM_ENCRYPT=y
CONFIG_AMD_NUMA=y
CONFIG_AMD_PHY=m
diff --git a/kernel-x86_64.config b/kernel-x86_64.config
index 5127faddf..6eabdf973 100644
--- a/kernel-x86_64.config
+++ b/kernel-x86_64.config
@@ -215,7 +215,7 @@ CONFIG_AMD8111_ETH=m
# CONFIG_AMD_IOMMU_DEBUGFS is not set
CONFIG_AMD_IOMMU_V2=m
CONFIG_AMD_IOMMU=y
-# CONFIG_AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT is not set
+CONFIG_AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT=y
CONFIG_AMD_MEM_ENCRYPT=y
CONFIG_AMD_NUMA=y
CONFIG_AMD_PHY=m