summaryrefslogtreecommitdiff
path: root/scripts/lib
diff options
context:
space:
mode:
authorCedric Xing <cedric.xing@intel.com>2025-05-07 01:57:12 +0300
committerDan Williams <dan.j.williams@intel.com>2025-05-09 05:17:43 +0300
commit850972bc61eba68552763c937892abb66a114da1 (patch)
tree8c823d9941ea20ab17d23820bb5b59ecbd169f61 /scripts/lib
parent4d2a7bfad5b79b3a362fc7cfed8d7ddbd263a838 (diff)
downloadlinux-850972bc61eba68552763c937892abb66a114da1.tar.xz
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 'scripts/lib')
0 files changed, 0 insertions, 0 deletions