diff options
author | Tom Lendacky <[email protected]> | 2021-09-08 17:58:38 -0500 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2021-10-04 11:47:09 +0200 |
commit | 6283f2effbd62a71a7c29062f8093c335ff3ea89 (patch) | |
tree | 7de804f610f1317ec4688c51f7d82b41530efd40 /scripts/gdb/linux/genpd.py | |
parent | 4d96f9109109be93618050a50cabb8df7c931ba7 (diff) |
x86/sev: Replace occurrences of sev_es_active() with cc_platform_has()
Replace uses of sev_es_active() with the more generic cc_platform_has()
using CC_ATTR_GUEST_STATE_ENCRYPT. If future support is added for other
memory encyrption techonologies, the use of CC_ATTR_GUEST_STATE_ENCRYPT
can be updated, as required.
Signed-off-by: Tom Lendacky <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/genpd.py')
0 files changed, 0 insertions, 0 deletions