lkml.org 
[lkml]   [2024]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 06/20] x86/tdx: Convert MSR write handling to use new TDVMCALL_0()
On Fri, May 17, 2024 at 05:19:24PM +0300, Kirill A. Shutemov wrote:
> Use newly introduced TDVMCALL_0() instead of __tdx_hypercall() to handle
> MSR write emulation.
>
> It cuts code bloat substantially:
>
> Function old new delta
> tdx_handle_virt_exception 1947 1819 -128
>
> Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
> ---
> arch/x86/coco/tdx/tdx.c | 9 ++-------
> arch/x86/hyperv/ivm.c | 9 ++-------

Acked-by: Wei Liu <wei.liu@kernel.org>

\
 
 \ /
  Last update: 2024-05-28 07:34    [W:0.214 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site