diff options
author | Tom Lendacky <thomas.lendacky@amd.com> | 2025-04-23 18:22:31 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2025-04-24 18:20:52 +0300 |
commit | 18ea89eae404d119ced26d80ac3e62255ce15409 (patch) | |
tree | c0493c50189970dfaa6f9773116737eee0255426 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 121c335b36e02d6aefb72501186e060474fdf33c (diff) | |
download | linux-18ea89eae404d119ced26d80ac3e62255ce15409.tar.xz |
x86/sev: Share the sev_secrets_pa value again
This commits breaks SNP guests:
234cf67fc3bd ("x86/sev: Split off startup code from core code")
The SNP guest boots, but no longer has access to the VMPCK keys needed
to communicate with the ASP, which is used, for example, to obtain an
attestation report.
The secrets_pa value is defined as static in both startup.c and
core.c. It is set by a function in startup.c and so when used in
core.c its value will be 0.
Share it again and add the sev_ prefix to put it into the global
SEV symbols namespace.
[ mingo: Renamed to sev_secrets_pa ]
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Cc: Dionna Amalie Glaze <dionnaglaze@google.com>
Cc: Kevin Loughlin <kevinloughlin@google.com>
Link: https://lore.kernel.org/r/cf878810-81ed-3017-52c6-ce6aa41b5f01@amd.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions