diff options
| author | Michael Roth <[email protected]> | 2022-02-24 10:56:11 -0600 |
|---|---|---|
| committer | Borislav Petkov <[email protected]> | 2022-04-07 16:47:11 +0200 |
| commit | 801baa693c1f6d7327475c39100c456db340cd3e (patch) | |
| tree | e6f60137e1595ee15e2cb73ab9d5fda95c504afa /tools/perf/scripts/python/bin | |
| parent | b66370db9a90b3fa4c4a1a732af3e7e38d6d4c7c (diff) | |
x86/sev: Move MSR-based VMGEXITs for CPUID to helper
This code will also be used later for SEV-SNP-validated CPUID code in
some cases, so move it to a common helper.
While here, also add a check to terminate in cases where the CPUID
function/subfunction is indexed and the subfunction is non-zero, since
the GHCB MSR protocol does not support non-zero subfunctions.
Suggested-by: Sean Christopherson <[email protected]>
Signed-off-by: Michael Roth <[email protected]>
Signed-off-by: Brijesh Singh <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions