Re: [PATCH 00/20] x86/tdx: Rewrite TDCALL wrappers

From: Huang, Kai
Date: Mon May 20 2024 - 07:56:28 EST


On Fri, 2024-05-17 at 08:18 -0700, Dave Hansen wrote:
> On 5/17/24 07:19, Kirill A. Shutemov wrote:
> > arch/x86/boot/compressed/tdx.c | 32 +---
> > arch/x86/coco/tdx/tdcall.S | 145 ++++++++++-----
> > arch/x86/coco/tdx/tdx-shared.c | 26 +--
> > arch/x86/coco/tdx/tdx.c | 298 ++++++++----------------------
> > arch/x86/hyperv/ivm.c | 33 +---
> > arch/x86/include/asm/shared/tdx.h | 159 +++++++++++-----
> > arch/x86/include/asm/tdx.h | 2 +
> > arch/x86/virt/vmx/tdx/tdxcall.S | 29 +--
> > tools/objtool/noreturns.h | 2 +-
> > 9 files changed, 322 insertions(+), 404 deletions(-)
>
> I was going to grumble about this being a waste of time, but it looks
> like this gives smaller binaries and less code. Looks promising so far!
>

I'll start to work on the SEAMCALL part too. Thanks Kirill for the work.