This actually my preference too!
@@ -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.