x86/tdx: Expand __tdx_hypercall() to handle more arguments
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>
Thu, 26 Jan 2023 22:11:56 +0000 (01:11 +0300)
committerDave Hansen <dave.hansen@linux.intel.com>
Fri, 27 Jan 2023 17:42:09 +0000 (09:42 -0800)
commit752d13305c78b2f0f0d783132f94acc9ce93d38e
tree586bc7ec7459f1c37de288299e4be7b0e7591b2c
parentc30c4b2555ba93b845559a036293fcaf7ffd2b82
x86/tdx: Expand __tdx_hypercall() to handle more arguments

So far __tdx_hypercall() only handles six arguments for VMCALL.
Expanding it to six more register would allow to cover more use-cases
like ReportFatalError() and Hyper-V hypercalls.

With all preparations in place, the expansion is pretty straight
forward.

Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Link: https://lore.kernel.org/all/20230126221159.8635-5-kirill.shutemov%40linux.intel.com
arch/x86/coco/tdx/tdcall.S