lkml.org 
[lkml]   [2024]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 14/20] x86/tdx: Add macros to generate TDCALL wrappers
From
On 5/17/24 16:19, Kirill A. Shutemov wrote:
> Introduce a set of macros that allow to generate wrappers for TDCALL
> leafs.
>
> There are three macros differentiated by number of return parameters.
>
> Signed-off-by: Kirill A. Shutemov<kirill.shutemov@linux.intel.com>
> ---
> arch/x86/include/asm/shared/tdx.h | 58 +++++++++++++++++++++++++++++++
> 1 file changed, 58 insertions(+)

Can you explain in the commit message why you picked a different
approach? That is, a sequence of inlined movq instructions here vs.
compiler-generated movqs + a trampoline for TDVMCALL.

Paolo


\
 
 \ /
  Last update: 2024-05-27 18:30    [W:0.159 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site