diff options
author | Nikunj A Dadhania <nikunj@amd.com> | 2024-10-09 12:28:34 +0300 |
---|---|---|
committer | Borislav Petkov (AMD) <bp@alien8.de> | 2024-10-16 19:24:51 +0300 |
commit | 6068754a4fff67654e87b37cdecd5275a372110f (patch) | |
tree | 78532df57b56c2b25fda9b277f0ffa44125c02f6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f75ff17fb48b1991d7a2822de5acc12bba240dc1 (diff) | |
download | linux-6068754a4fff67654e87b37cdecd5275a372110f.tar.xz |
x86/sev: Cache the secrets page address
Instead of calling get_secrets_page(), which parses the CC blob every time
to get the secrets page physical address (secrets_pa), save the secrets
page physical address during snp_init() from the CC blob. Since
get_secrets_page() is no longer used, remove the function.
Signed-off-by: Nikunj A Dadhania <nikunj@amd.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>
Link: https://lore.kernel.org/r/20241009092850.197575-4-nikunj@amd.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions