diff options
author | Cedric Xing <cedric.xing@intel.com> | 2025-05-06 17:57:12 -0500 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2025-05-08 19:17:43 -0700 |
commit | 850972bc61eba68552763c937892abb66a114da1 (patch) | |
tree | 8c823d9941ea20ab17d23820bb5b59ecbd169f61 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 4d2a7bfad5b79b3a362fc7cfed8d7ddbd263a838 (diff) |
virt: tdx-guest: Refactor and streamline TDREPORT generation
Consolidate instances (code segments) of TDREPORT generation to improve
readability and maintainability, by refactoring each instance into invoking
a unified subroutine throughout the TDX guest driver. Implement proper
locking around TDG.MR.REPORT and TDG.MR.RTMR.EXTEND to avoid race inside
the TDX module. Preallocate TDREPORT buffer to reduce overhead in
subsequent TDREPORT generation.
Signed-off-by: Cedric Xing <cedric.xing@intel.com>
Acked-by: Dionna Amalie Glaze <dionnaglaze@google.com>
Link: https://patch.msgid.link/20250506-tdx-rtmr-v6-6-ac6ff5e9d58a@intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions