diff options
author | 2020-09-07 15:15:37 +0200 | |
---|---|---|
committer | 2020-09-07 23:00:20 +0200 | |
commit | b57de6cd16395be1ebdaa9b489ffbf462bb585c4 (patch) | |
tree | 24169b5dddc82ac87771fec6d1b9f6818fc92879 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | x86/head/64: Move early exception dispatch to C code (diff) | |
download | wireguard-linux-b57de6cd16395be1ebdaa9b489ffbf462bb585c4.tar.xz wireguard-linux-b57de6cd16395be1ebdaa9b489ffbf462bb585c4.zip |
x86/sev-es: Add SEV-ES Feature Detection
Add a sev_es_active() function for checking whether SEV-ES is enabled.
Also cache the value of MSR_AMD64_SEV at boot to speed up the feature
checking in the running code.
[ bp: Remove "!!" in sev_active() too. ]
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Borislav Petkov <bp@suse.de>
Reviewed-by: Kees Cook <keescook@chromium.org>
Link: https://lkml.kernel.org/r/20200907131613.12703-37-joro@8bytes.org
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions