Re: [PATCH 3/4] x86/tdx: Add tdx_mcall_rtmr_extend() interface
From: Huang, Kai
Date: Sun Feb 16 2025 - 19:40:42 EST
@@ -135,6 +136,41 @@ int tdx_mcall_get_report0(u8 *reportdata, u8 *tdreport)
}
EXPORT_SYMBOL_GPL(tdx_mcall_get_report0);
+/**
+ * tdx_mcall_rtmr_extend() - Wrapper to extend RTMR registers using
+ * TDG.MR.RTMR.EXTEND TDCALL.
Nit: I would prefer to name it as tdx_mcall_extend_rtmr() since this
matches the existing tdx_mcall_get_report0() (and tdx_hcall_get_quote())
better. But no strong opinion.