diff options
author | Martin Radev <[email protected]> | 2020-09-07 15:16:13 +0200 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2020-09-10 21:49:25 +0200 |
commit | f5ed777586e08e09c4b6f1e87161a145ee1431cf (patch) | |
tree | 91064c42050caa1d751b7f3ee76b8bf3f909b4aa /tools/perf/scripts/python | |
parent | 39336f4ffb2478ad384075cf4ba7ef2e5db2bbd7 (diff) |
x86/sev-es: Check required CPU features for SEV-ES
Make sure the machine supports RDRAND, otherwise there is no trusted
source of randomness in the system.
To also check this in the pre-decompression stage, make has_cpuflag()
not depend on CONFIG_RANDOMIZE_BASE anymore.
Signed-off-by: Martin Radev <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions