Re: [PATCHv7 12/14] x86/tdx: Make _tdx_hypercall() and __tdx_module_call() available in boot stub

From: Dave Hansen
Date: Thu Jun 23 2022 - 14:24:23 EST


On 6/14/22 05:02, Kirill A. Shutemov wrote:
> Memory acceptance requires a hypercall and one or multiple module calls.
>
> Make helpers for the calls available in boot stub. It has to accept
> memory where kernel image and initrd are placed.
>
> Signed-off-by: Kirill A. Shutemov <kirill.shutemov@xxxxxxxxxxxxxxx>
> ---
> arch/x86/coco/tdx/tdx.c | 26 ------------------
> arch/x86/include/asm/shared/tdx.h | 45 +++++++++++++++++++++++++++++++
> arch/x86/include/asm/tdx.h | 19 -------------
> 3 files changed, 45 insertions(+), 45 deletions(-)

Reviewed-by: Dave Hansen <dave.hansen@xxxxxxxxxxxxxxx>