Merge pull request #203908 from yaxitech/amd-sec-kernel-config-opts

linux: enable AMD SME, SEV, SEV-SE, SEV-SNP on x86_64
This commit is contained in:
Thiago Kenji Okada 2022-12-02 13:00:50 +00:00 committed by GitHub
commit 73ef40bd1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -521,6 +521,15 @@ let
X86_SGX = whenAtLeast "5.11" yes;
# Allow KVM guests to load SGX enclaves
X86_SGX_KVM = whenAtLeast "5.13" yes;
# AMD Cryptographic Coprocessor (CCP)
CRYPTO_DEV_CCP = yes;
# AMD SME
AMD_MEM_ENCRYPT = yes;
# AMD SEV and AMD SEV-SE
KVM_AMD_SEV = whenAtLeast "4.16" yes;
# AMD SEV-SNP
SEV_GUEST = whenAtLeast "5.19" module;
};
microcode = {