Re: [PATCH v2] x86/vmx: Use asm goto() in _vmx_cpu_up()

2025-04-05 Thread Jan Beulich
On 02.04.2025 11:56, Andrew Cooper wrote: > --- a/xen/arch/x86/hvm/vmx/vmcs.c > +++ b/xen/arch/x86/hvm/vmx/vmcs.c > @@ -749,30 +749,15 @@ static int _vmx_cpu_up(bool bsp) > if ( bsp && (rc = vmx_cpu_up_prepare(cpu)) != 0 ) > return rc; > > -switch ( __vmxon(this_cpu(vmxon_region

Re: [PATCH v2] x86/vmx: Use asm goto() in _vmx_cpu_up()

2025-04-05 Thread Andrew Cooper
On 02/04/2025 11:03 am, Jan Beulich wrote: > On 02.04.2025 11:56, Andrew Cooper wrote: >> --- a/xen/arch/x86/include/asm/hvm/vmx/vmx.h >> +++ b/xen/arch/x86/include/asm/hvm/vmx/vmx.h >> @@ -559,25 +559,6 @@ static inline void __vmxoff(void) >> : : : "memory" ); >> } >> >> -static inline

Re: [PATCH v2] x86/vmx: Use asm goto() in _vmx_cpu_up()

2025-04-05 Thread Andrew Cooper
On 02/04/2025 10:56 am, Andrew Cooper wrote: > diff --git a/xen/arch/x86/hvm/vmx/vmcs.c b/xen/arch/x86/hvm/vmx/vmcs.c > index 0ba65becec1e..8e99e6f73062 100644 > --- a/xen/arch/x86/hvm/vmx/vmcs.c > +++ b/xen/arch/x86/hvm/vmx/vmcs.c > @@ -785,6 +770,23 @@ static int _vmx_cpu_up(bool bsp) > vmx_