|
@@ -1415,6 +1415,31 @@ config X86_DIRECT_GBPAGES
|
|
|
supports them), so don't confuse the user by printing
|
|
|
that we have them enabled.
|
|
|
|
|
|
+config ARCH_HAS_MEM_ENCRYPT
|
|
|
+ def_bool y
|
|
|
+
|
|
|
+config AMD_MEM_ENCRYPT
|
|
|
+ bool "AMD Secure Memory Encryption (SME) support"
|
|
|
+ depends on X86_64 && CPU_SUP_AMD
|
|
|
+ ---help---
|
|
|
+ Say yes to enable support for the encryption of system memory.
|
|
|
+ This requires an AMD processor that supports Secure Memory
|
|
|
+ Encryption (SME).
|
|
|
+
|
|
|
+config AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT
|
|
|
+ bool "Activate AMD Secure Memory Encryption (SME) by default"
|
|
|
+ default y
|
|
|
+ depends on AMD_MEM_ENCRYPT
|
|
|
+ ---help---
|
|
|
+ Say yes to have system memory encrypted by default if running on
|
|
|
+ an AMD processor that supports Secure Memory Encryption (SME).
|
|
|
+
|
|
|
+ If set to Y, then the encryption of system memory can be
|
|
|
+ deactivated with the mem_encrypt=off command line option.
|
|
|
+
|
|
|
+ If set to N, then the encryption of system memory can be
|
|
|
+ activated with the mem_encrypt=on command line option.
|
|
|
+
|
|
|
# Common NUMA Features
|
|
|
config NUMA
|
|
|
bool "Numa Memory Allocation and Scheduler Support"
|