Re: [PATCH v9 3/8] x86/vmware: Introduce VMware hypercall API

2024-05-23 Thread Simon Horman
[ resending as I mangled the previous attempt , sorry ] + Joe Perches On Wed, May 22, 2024 at 04:39:57PM -0700, Alexey Makhalov wrote: > Hi Simon, apologize for long delay > > On 5/11/24 8:02 AM, Simon Horman wrote: > > > diff --git a/arch/x86/include/asm/vmware.h b/arch/x86/include/asm/vmware.h

Re: [PATCH v9 3/8] x86/vmware: Introduce VMware hypercall API

2024-05-22 Thread Alexey Makhalov
Hi Simon, apologize for long delay On 5/11/24 8:02 AM, Simon Horman wrote: diff --git a/arch/x86/include/asm/vmware.h b/arch/x86/include/asm/vmware.h ... +static inline +unsigned long vmware_hypercall3(unsigned long cmd, unsigned long in1, + uint32_t *out1, uint

Re: [PATCH v9 3/8] x86/vmware: Introduce VMware hypercall API

2024-05-11 Thread Simon Horman
On Mon, May 06, 2024 at 02:53:00PM -0700, Alexey Makhalov wrote: > Introduce vmware_hypercall family of functions. It is a common > implementation to be used by the VMware guest code and virtual > device drivers in architecture independent manner. > > The API consists of vmware_hypercallX and vmwa

Re: [PATCH v9 3/8] x86/vmware: Introduce VMware hypercall API

2024-05-09 Thread kernel test robot
55606 base: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next patch link: https://lore.kernel.org/r/20240506215305.30756-4-alexey.makhalov%40broadcom.com patch subject: [PATCH v9 3/8] x86/vmware: Introduce VMware hypercall API config: x86_64-buildonly-randconfig-003-20240510 (https://d

Re: [PATCH v9 3/8] x86/vmware: Introduce VMware hypercall API

2024-05-09 Thread Alexey Makhalov
On 5/7/24 2:58 AM, Borislav Petkov wrote: On Mon, May 06, 2024 at 02:53:00PM -0700, Alexey Makhalov wrote: +#define VMWARE_HYPERCALL \ + ALTERNATIVE_3("cmpb $"\ + __string

Re: [PATCH v9 3/8] x86/vmware: Introduce VMware hypercall API

2024-05-07 Thread Borislav Petkov
On Mon, May 06, 2024 at 02:53:00PM -0700, Alexey Makhalov wrote: > +#define VMWARE_HYPERCALL \ > + ALTERNATIVE_3("cmpb $" \ > + __stringify(CPUID_VMWARE_FEATURES_ECX_VMMCALL) \ > +

[PATCH v9 3/8] x86/vmware: Introduce VMware hypercall API

2024-05-06 Thread Alexey Makhalov
Introduce vmware_hypercall family of functions. It is a common implementation to be used by the VMware guest code and virtual device drivers in architecture independent manner. The API consists of vmware_hypercallX and vmware_hypercall_hb_{out,in} set of functions by analogy with KVM hypercall API