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

Dave Hansen
2022-06-23T17:25:38Z

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@linux.intel.com>
> ---
> 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@linux.intel.com>