Re: [PATCH 14/20] x86/tdx: Add macros to generate TDCALL wrappers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx>
---
  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





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux