diff options
| author | Peter Fang <peter.fang@intel.com> | 2026-09-30 03:30:54 -0700 |
|---|---|---|
| committer | Dave Hansen <dave.hansen@linux.intel.com> | 2026-10-02 09:03:53 -0700 |
| commit | a2bf0ccd55b14a577e5bd16a245602687072b5fd (patch) | |
| tree | ee85bc3e85d294884c5477adc2fcddd686c87104 /scripts/Makefile.thinlto | |
| parent | ef83bbc05ceb1df7d28e2cbb44ab3cd8584594de (diff) | |
| download | linux-a2bf0ccd55b14a577e5bd16a245602687072b5fd.tar.gz linux-a2bf0ccd55b14a577e5bd16a245602687072b5fd.zip | |
x86/tdx: Add a helper to query maximum Quote size
Newer crypto algorithms can make Quotes larger, so guests can no longer
rely on a fixed-size buffer.
The TDX module added a new ABI that reports the largest possible Quote
size via a metadata field [1]. Add a helper to query the size instead of
exposing tdg_vm_rd() directly, as it can read arbitrary metadata fields.
The reported size covers every Quote type the platform can produce,
including SGX-based Quotes.
AI was used under supervision to collect/apply feedback, review code and
workshop logs.
[1] Intel TDX Module ABI Definitions, August 2026, TD-scope metadata
field "TD_QUOTE_MAX_SIZE"
Signed-off-by: Peter Fang <peter.fang@intel.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Reviewed-by: Rick Edgecombe <rick.p.edgecombe@intel.com>
Link: https://patch.msgid.link/20260930103739.2851980-6-peter.fang@intel.com
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
