diff options
author | Tom Lendacky <thomas.lendacky@amd.com> | 2024-06-05 18:18:51 +0300 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2024-06-17 21:42:57 +0300 |
commit | eb65f96cb332d577b490ab9c9f5f8de8c0316076 (patch) | |
tree | f932d135f9ed2a9d52de8f38610bb6a570c4e839 /tools/perf/scripts/python/task-analyzer.py | |
parent | 61564d346809aa84729e651b98032592a7d63d3e (diff) | |
download | linux-eb65f96cb332d577b490ab9c9f5f8de8c0316076.tar.xz |
virt: sev-guest: Choose the VMPCK key based on executing VMPL
Currently, the sev-guest driver uses the vmpck-0 key by default. When an
SVSM is present, the kernel is running at a VMPL other than 0 and the
vmpck-0 key is no longer available. If a specific vmpck key has not be
requested by the user via the vmpck_id module parameter, choose the
vmpck key based on the active VMPL level.
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/b88081c5d88263176849df8ea93e90a404619cab.1717600736.git.thomas.lendacky@amd.com
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions