commit | 4d96f9109109be93618050a50cabb8df7c931ba7 | [log] [tgz] |
---|---|---|
author | Tom Lendacky <thomas.lendacky@amd.com> | Wed Sep 08 17:58:37 2021 -0500 |
committer | Borislav Petkov <bp@suse.de> | Mon Oct 04 11:46:58 2021 +0200 |
tree | dde3455d1a40572c7d51ef373b3e027031ddbf20 | |
parent | 32cb4d02fb02cae2e0696c1ce92d8195574faf59 [diff] |
x86/sev: Replace occurrences of sev_active() with cc_platform_has() Replace uses of sev_active() with the more generic cc_platform_has() using CC_ATTR_GUEST_MEM_ENCRYPT. If future support is added for other memory encryption technologies, the use of CC_ATTR_GUEST_MEM_ENCRYPT can be updated, as required. Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/20210928191009.32551-7-bp@alien8.de